man format
features %b and it works as expected but I get a compiler warning: warning: invalid conversion specifier 'b' [clang-diagnostic-format-invalid-specifier]
printf("%b\n", 255);
what am i missing?--std=c++17
removed the warning. Weird that it compiles and works either way :Dm_pSnap
? https://github.com/ddnet/ddnet/blob/9e4da2244af63f491039b9ce104f8df7ab8dc4df/src/engine/client/client.cpp#L1012UnpackAndValidateSnapshot
while the snap is not. And that bends me over when trying to read 0.7 snaps.c++
auto &&GetTrackNamePre = [](int Kills) -> const char * {
if(Kills >= 5)
return "is on a ";
else if(Kills >= 10)
return "has a ";
else if(Kills >= 15)
return "is ";
return "";
};
c++
auto &&GetTrackNamePre = [](int Kills) -> const char * {
if(Kills >= 5)
return "is on a ";
else if(Kills >= 10)
return "has a ";
else if(Kills >= 15)
return "is ";
return "";
};
fish: './DDNet-Server' terminated by signal SIGBUS
: https://gist.github.com/Zwelf/4f3bfacce7badd1da35b55902101e6d9 Any ideas?c++
auto &&GetTrackNamePre = [](int Kills) -> const char * {
if(Kills >= 5)
return "is on a ";
else if(Kills >= 10)
return "has a ";
else if(Kills >= 15)
return "is ";
return "";
};
fish: './DDNet-Server' terminated by signal SIGBUS
: https://gist.github.com/Zwelf/4f3bfacce7badd1da35b55902101e6d9 Any ideas? _backup
) in sqlite
_backup
table when failed
backup
-tables is still possible (mostly the reason for the backup table to exist: to prevent double loading)