Snippets for alienblaster 1.1.0 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/alienblaster/1.1.0_7/150amd64-default.log.
-
options.cc:53:42: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] 53 | if (( newLine[0] != '#' ) && ( pos != string::npos )) { | ~~~ ^ ~~~~~~~~~~~~ -
./background.h:26:1: warning: class 'SDL_Surface' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 26 | class SDL_Surface; | ^ -
racer.cc:640:8: warning: variable 'idxNearestEnemy1' set but not used [-Wunused-but-set-variable] 640 | int idxNearestEnemy1 = 0; | ^ -
racer.cc:642:8: warning: variable 'idxNearestEnemy2' set but not used [-Wunused-but-set-variable] 642 | int idxNearestEnemy2 = 0; | ^ -
./game.h:56:16: warning: private field 'hud' is not used [-Wunused-private-field] 56 | SDL_Surface *hud; | ^ -
font.cc:29:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 29 | charset = " ABCDEFGHIJKLMNOPQRSTUVWXYZ<DC><C4><D6>abcdefghijklmnopqrstuvwxyz<FC><E4><F6><DF>0123456789!\"<A7>$%&/()=?*+'#,.-;:_@<B0>\\"; | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ -
font.cc:29:87: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 29 | charset = " ABCDEFGHIJKLMNOPQRSTUVWXYZ<DC><C4><D6>abcdefghijklmnopqrstuvwxyz<FC><E4><F6><DF>0123456789!\"<A7>$%&/()=?*+'#,.-;:_@<B0>\\"; | ^~~~ ~~~~ -
font.cc:88:22: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] 88 | if (charsetpos != string::npos ) { | ~~~~~~~~~~ ^ ~~~~~~~~~~~~ -
font.cc:134:20: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] 134 | if (charsetpos != string::npos ) { | ~~~~~~~~~~ ^ ~~~~~~~~~~~~ -
formation.cc:496:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 496 | int actPerm[nrInvolved]; | ^~~~~~~~~~ -
infoscreen.cc:317:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 317 | font->drawStr( screen, 280, 130, "Arne Hormann, Daniel K<FC>hn,"); | ^~~~ -
infoscreen.cc:318:58: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 318 | font->drawStr( screen, 280, 160, "Paul Grathwohl, S<F6>nke Schwardt"); | ^~~~ -
menuArcadeMode.cc:339:34: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] 339 | if ( ((SDL_GetModState()) & KMOD_LSHIFT != 0 ) || | ^~~~~~~~~~~~~~~~~~ -
menuArcadeMode.cc:340:27: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses] 340 | ((SDL_GetModState()) & KMOD_RSHIFT != 0 ) ) { | ^~~~~~~~~~~~~~~~~~ -
./banner.h:32:7: warning: private field 'sound' is not used [-Wunused-private-field] 32 | int sound; | ^ -
/usr/local/include/SDL/SDL_video.h:96:9: warning: 'SDL_Surface' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] 96 | typedef struct SDL_Surface { | ^