Snippets for gav 0.9.1 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/1x76d6i9pw00g5dza2a7a8xb65fbzl5v-gav-0.9.1.drv.
-
AutomaMainLoop.cpp:77:16: warning: variable 'frames' set but not used [-Wunused-but-set-variable=] 77 | unsigned int frames = 0; | ^~~~~~ -
Configuration.cpp:65:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 65 | if ( aargh.getArg(("left_player" + toString(i)), value) ) | ^ -
Configuration.cpp:93:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 93 | if ( aargh.getArg(("right_player" + toString(i)), value) ) | ^ -
Configuration.cpp:123:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 123 | if ( aargh.getArg("ball_speed", value) ) | ^ -
PlayerAI.cpp:138:32: warning: variable 'minopx' set but not used [-Wunused-but-set-variable=] 138 | int minxsearching = net, minopx, opx, closer; | ^~~~~~ -
PlayerAI.cpp:138:45: warning: variable 'closer' set but not used [-Wunused-but-set-variable=] 138 | int minxsearching = net, minopx, opx, closer; | ^~~~~~ -
PlayerAI.cpp:36:23: warning: variable 'bsx' set but not used [-Wunused-but-set-variable=] 36 | int px, bx, fs, mp, bsx, net, wall, xt, xs; /* Normalized values */ | ^~~ -
PlayerAI.cpp:36:43: warning: variable 'xs' set but not used [-Wunused-but-set-variable=] 36 | int px, bx, fs, mp, bsx, net, wall, xt, xs; /* Normalized values */ | ^~ -
PlayerAI.cpp:37:14: warning: variable 'minslot' set but not used [-Wunused-but-set-variable=] 37 | int mypos, minslot, maxslot; | ^~~~~~~ -
PlayerAI.cpp:37:23: warning: variable 'maxslot' set but not used [-Wunused-but-set-variable=] 37 | int mypos, minslot, maxslot; | ^~~~~~~ -
PlayerAI.cpp:39:13: warning: variable 'pw' set but not used [-Wunused-but-set-variable=] 39 | int move, pw; | ^~ -
PlayerAI.cpp:222:7: warning: 'ttime' may be used uninitialized [-Wmaybe-uninitialized] 222 | if ( ( ttime < JUMPING_TIME ) ){ | ^~ -
Player.h:136:38: warning: 'closerp' may be used uninitialized [-Wmaybe-uninitialized] 136 | inline void setOIF(int oif) { _oif = oif; } | ~~~~~^~~~~ -
ResizeSurface.cpp:50:17: warning: variable 'sgap' set but not used [-Wunused-but-set-variable=] 50 | sgap, dgap; | ^~~~ -
ResizeSurface.cpp:139:7: warning: variable 'dst_w' set but not used [-Wunused-but-set-variable=] 139 | int dst_w, dst_h; | ^~~~~ -
ResizeSurface.cpp:139:14: warning: variable 'dst_h' set but not used [-Wunused-but-set-variable=] 139 | int dst_w, dst_h; | ^~~~~ -
SoundMgr.cpp:30:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | "bounce.wav", | ^~~~~~~~~~~~ -
SoundMgr.cpp:31:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "select.wav", | ^~~~~~~~~~~~ -
SoundMgr.cpp:32:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | "activate.wav", | ^~~~~~~~~~~~~~ -
SoundMgr.cpp:33:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "score.wav", | ^~~~~~~~~~~ -
SoundMgr.cpp:34:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | "victory.wav", | ^~~~~~~~~~~~~ -
SoundMgr.cpp:35:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | "partialnet.wav", | ^~~~~~~~~~~~~~~~ -
SoundMgr.cpp:36:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | "fullnet.wav", | ^~~~~~~~~~~~~ -
SoundMgr.cpp:37:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | "servicechange.wav", | ^~~~~~~~~~~~~~~~~~~ -
SoundMgr.cpp:38:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | "playerhit.wav", | ^~~~~~~~~~~~~~~ -
SoundMgr.cpp:39:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | "background_playing.wav", | ^~~~~~~~~~~~~~~~~~~~~~~~ -
SoundMgr.cpp:40:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | "background_menu.wav", | ^~~~~~~~~~~~~~~~~~~~~ -
menu/MenuItemBallSpeed.h:45:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | _item[0] = "Normal"; | ^~~~~~~~ -
menu/MenuItemBallSpeed.h:46:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | _item[1] = "Fast"; | ^~~~~~ -
menu/MenuItemBallSpeed.h:47:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | _item[2] = "Too Fast!"; | ^~~~~~~~~~~ -
menu/MenuItemJoystick.h:45:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 45 | sprintf(nstr, "%d", _plId/2 + 1); | ^~