>>> libretro-nxengine: Building testing/libretro-nxengine 0_git20220301-r0 (using abuild 3.13.0-r5) started Sat, 21 Sep 2024 00:07:09 +0000 >>> libretro-nxengine: Checking sanity of /home/buildozer/aports/testing/libretro-nxengine/APKBUILD... >>> libretro-nxengine: Analyzing dependencies... >>> libretro-nxengine: Installing for build: build-base (1/1) Installing .makedepends-libretro-nxengine (20240921.000721) OK: 251 MiB in 104 packages >>> libretro-nxengine: Cleaning up srcdir >>> libretro-nxengine: Cleaning up pkgdir >>> libretro-nxengine: Cleaning up tmpdir >>> libretro-nxengine: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-nxengine-fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libretro-nxengine: Fetching libretro-nxengine-fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz::https://github.com/libretro/nxengine-libretro/archive/fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1745k 0 1745k 0 0 2422k 0 --:--:-- --:--:-- --:--:-- 2422k 100 2695k 0 2695k 0 0 3267k 0 --:--:-- --:--:-- --:--:-- 9139k >>> libretro-nxengine: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-nxengine-fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz >>> libretro-nxengine: Checking sha512sums... libretro-nxengine-fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz: OK >>> libretro-nxengine: Unpacking /var/cache/distfiles/libretro-nxengine-fc102fa3eeda1a0133f80474d6671af4cf7612a6.tar.gz... g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/ai.o nxengine/ai/ai.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/balrog_common.o nxengine/ai/balrog_common.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/IrregularBBox.o nxengine/ai/IrregularBBox.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/almond/almond.o nxengine/ai/almond/almond.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/balfrog.o nxengine/ai/boss/balfrog.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/ballos.o nxengine/ai/boss/ballos.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/core.o nxengine/ai/boss/core.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/heavypress.o nxengine/ai/boss/heavypress.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/ironhead.o nxengine/ai/boss/ironhead.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/omega.o nxengine/ai/boss/omega.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/sisters.o nxengine/ai/boss/sisters.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/undead_core.o nxengine/ai/boss/undead_core.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/boss/x.o nxengine/ai/boss/x.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/egg/egg.o nxengine/ai/egg/egg.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/egg/egg2.o nxengine/ai/egg/egg2.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/egg/igor.o nxengine/ai/egg/igor.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/balcony.o nxengine/ai/final_battle/balcony.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/doctor.o nxengine/ai/final_battle/doctor.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/doctor_common.o nxengine/ai/final_battle/doctor_common.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/doctor_frenzied.o nxengine/ai/final_battle/doctor_frenzied.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/final_misc.o nxengine/ai/final_battle/final_misc.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/misery_finalbattle.o nxengine/ai/final_battle/misery_finalbattle.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/final_battle/sidekicks.o nxengine/ai/final_battle/sidekicks.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/first_cave/first_cave.o nxengine/ai/first_cave/first_cave.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/hell/ballos_misc.o nxengine/ai/hell/ballos_misc.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/hell/ballos_priest.o nxengine/ai/hell/ballos_priest.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/hell/hell.o nxengine/ai/hell/hell.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/last_cave/last_cave.o nxengine/ai/last_cave/last_cave.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/balrog_boss_missiles.o nxengine/ai/maze/balrog_boss_missiles.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/critter_purple.o nxengine/ai/maze/critter_purple.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/gaudi.o nxengine/ai/maze/gaudi.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/labyrinth_m.o nxengine/ai/maze/labyrinth_m.cpp nxengine/ai/boss/heavypress.cpp: In member function 'void HeavyPress::run_defeated()': nxengine/ai/boss/heavypress.cpp:164:63: warning: left shift of negative value [-Wshift-negative-value] 164 | SmokePuff(o->x + nx_random(-60<yinertia = 0x200; | ~~~~~~~~~~~~^~~~~~~ nxengine/ai/almond/almond.cpp:44:17: note: here 44 | case WL_CALM: // calm waves around set point | ^~~~ nxengine/ai/almond/almond.cpp:50:54: warning: this statement may fall through [-Wimplicit-fallthrough=] 50 | o->state = WL_DOWN; o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/boss/heavypress.cpp:165:71: warning: left shift of negative value [-Wshift-negative-value] 165 | o->y + nx_random(-40<x + nx_random(-12<timer = 0; | ~~~~~~~~~^~~ nxengine/ai/final_battle/final_misc.cpp:32:17: note: here 32 | case 11: | ^~~~ nxengine/ai/final_battle/final_misc.cpp:46:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 46 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/final_battle/final_misc.cpp:48:17: note: here 48 | case 21: | ^~~~ nxengine/ai/egg/igor.cpp: In function 'void smoke_puff(Object*, bool)': nxengine/ai/egg/igor.cpp:401:58: warning: left shift of negative value [-Wshift-negative-value] 401 | smoke = CreateObject(o->CenterX() + nx_random(-16<CenterY() + nx_random(-16<xinertia = nx_random(-16<state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_green_devil(Object*)': nxengine/ai/hell/ballos_misc.cpp:143:51: warning: left shift of negative value [-Wshift-negative-value] 143 | o->yinertia = nx_random(-5<type) | ^~~~~~ nxengine/ai/first_cave/first_cave.cpp:27:17: note: here 27 | case 1: | ^~~~ nxengine/ai/final_battle/final_misc.cpp:153:17: note: here 153 | case 1: | ^~~~ nxengine/ai/final_battle/final_misc.cpp:170:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 170 | h->state = 1; // not map-spawned (disappear after a moment) | ~~~~~~~~~^~~ nxengine/ai/final_battle/final_misc.cpp:172:17: note: here 172 | case 11: | ^~~~ nxengine/ai/boss/undead_core.cpp: In member function 'void UDCoreBoss::SpawnFaceSmoke()': nxengine/ai/boss/undead_core.cpp:392:48: warning: left shift of negative value [-Wshift-negative-value] 392 | int x = face->x + nx_random(-16<state = 1; | ~~~~~~~~~^~~ nxengine/ai/egg/igor.cpp:32:17: note: here 32 | case 1: | ^~~~ nxengine/ai/boss/balfrog.cpp: In member function 'void BalfrogBoss::RunDeathAnim()': nxengine/ai/boss/balfrog.cpp:472:67: warning: left shift of negative value [-Wshift-negative-value] 472 | o->x += (o->timer & 2) ? (1 << CSF) : (-1 << CSF); nxengine/ai/egg/igor.cpp:39:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 39 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/egg/igor.cpp:40:17: note: here 40 | case 3: | ^~~~ nxengine/ai/egg/igor.cpp:48:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 48 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/egg/igor.cpp:49:17: note: here 49 | case 5: | ^~~~ In file included from nxengine/ai/boss/heavypress.cpp:4: nxengine/ai/boss/heavypress.fdh: At global scope: nxengine/ai/boss/heavypress.fdh:31:13: warning: 'void run_defeated(Object*)' declared 'static' but never defined [-Wunused-function] 31 | static void run_defeated(Object *o); | ^~~~~~~~~~~~ nxengine/ai/first_cave/first_cave.cpp: In function 'void ai_door_enemy(Object*)': nxengine/ai/first_cave/first_cave.cpp:83:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 83 | o->state = WAIT; | ~~~~~~~~~^~~~~~ nxengine/ai/first_cave/first_cave.cpp:85:17: note: here 85 | case WAIT: | ^~~~ nxengine/ai/egg/egg2.cpp: In function 'void ai_dragon_zombie(Object*)': nxengine/ai/egg/egg2.cpp:82:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 82 | o->ymark = player->y; | ~~~~~~~~~^~~~~~~~~~~ nxengine/ai/egg/egg2.cpp:84:17: note: here 84 | case 4: | ^~~~ nxengine/ai/egg/igor.cpp: In function 'void ai_boss_igor(Object*)': nxengine/ai/egg/igor.cpp:111:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 111 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/egg/igor.cpp:113:17: note: here 113 | case STATE_STAND: | ^~~~ nxengine/ai/egg/igor.cpp:194:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 194 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/egg/igor.cpp:196:17: note: here 196 | case STATE_PUNCH_2: | ^~~~ nxengine/ai/egg/igor.cpp:256:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 256 | o->state++; | ~~~~~~~~^~ nxengine/ai/egg/igor.cpp:258:17: note: here 258 | case STATE_MOUTH_BLAST_2: | ^~~~ nxengine/ai/boss/undead_core.cpp: In member function 'bool UDCoreBoss::RunDefeated()': nxengine/ai/boss/undead_core.cpp:484:53: warning: left shift of negative value [-Wshift-negative-value] 484 | int x = o->x + nx_random(-72<timer = -100; // pause a moment before Butes come | ~~~~~~~~~^~~~~~ nxengine/ai/boss/heavypress.cpp:90:17: note: here 90 | case 101: | ^~~~ nxengine/ai/boss/heavypress.cpp:93:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 93 | o->state = 102; | ~~~~~~~~~^~~~~ nxengine/ai/boss/heavypress.cpp:95:17: note: here 95 | case 102: | ^~~~ nxengine/ai/boss/undead_core.cpp:485:53: warning: left shift of negative value [-Wshift-negative-value] 485 | int y = o->y + nx_random(-64<state++; | ~~~~~~~~^~ nxengine/ai/maze/labyrinth_m.cpp: In function 'void ai_firewhirr(Object*)': nxengine/ai/maze/labyrinth_m.cpp:26:9: warning: variable 'shot' set but not used [-Wunused-but-set-variable] 26 | Object *shot; | ^~~~ nxengine/ai/boss/ironhead.cpp:67:17: note: here 67 | case IRONH_SPAWN_FISHIES+1: // wave of fishies comes in | ^~~~ nxengine/ai/boss/ironhead.cpp:105:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 105 | o->flags |= FLAG_SHOOTABLE; nxengine/ai/boss/ironhead.cpp:107:17: note: here 107 | case IRONH_SWIM+1: | ^~~~ nxengine/ai/boss/ironhead.cpp:183:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 183 | } | ^ nxengine/ai/boss/ironhead.cpp:184:17: note: here 184 | case IRONH_DEFEATED+1: // retreat back to left... | ^~~~ nxengine/ai/final_battle/balcony.cpp: In function 'void ai_igor_balcony(Object*)': nxengine/ai/final_battle/balcony.cpp:100:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/final_battle/balcony.cpp:102:17: note: here 102 | case 1: | ^~~~ In file included from nxengine/ai/final_battle/../../nx.h:38, from nxengine/ai/final_battle/../stdai.h:5, from nxengine/ai/final_battle/balcony.cpp:2: nxengine/ai/final_battle/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/final_battle/balcony.cpp:118:25: note: in expansion of macro 'FACEPLAYER' 118 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/final_battle/balcony.cpp:120:17: note: here 120 | case 11: | ^~~~ nxengine/ai/final_battle/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/final_battle/balcony.cpp:177:25: note: in expansion of macro 'FACEPLAYER' 177 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/final_battle/balcony.cpp:179:17: note: here 179 | case 31: | ^~~~ nxengine/ai/final_battle/doctor.cpp: In function 'void ai_boss_doctor(Object*)': nxengine/ai/final_battle/doctor.cpp:142:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 142 | o->flags |= FLAG_SHOOTABLE; nxengine/ai/egg/egg.cpp: In function 'void ai_behemoth(Object*)': nxengine/ai/egg/egg.cpp:78:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | o->damage = 1; | ~~~~~~~~~~^~~ nxengine/ai/boss/heavypress.cpp: In member function 'void HeavyPress::run_defeated()': nxengine/ai/boss/heavypress.cpp:156:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 156 | KillObjectsOfType(OBJ_ROLLING); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ nxengine/ai/last_cave/last_cave.cpp: In function 'void ai_red_bat_spawner(Object*)': nxengine/ai/last_cave/last_cave.cpp:243:112: warning: left shift of negative value [-Wshift-negative-value] 243 | o->CenterY() + nx_random(-32<timer2 = 0; | ~~~~~~~~~~^~~ nxengine/ai/egg/egg2.cpp:269:17: note: here 269 | case 1: | ^~~~ nxengine/ai/boss/x.cpp: In member function 'void XBoss::run_fishy_spawner(int)': nxengine/ai/boss/x.cpp:628:60: warning: left shift of negative value [-Wshift-negative-value] 628 | static const int xoffs[] = { -64 <timer = 0; | ~~~~~~~~~^~~ nxengine/ai/boss/x.cpp:629:93: warning: left shift of negative value [-Wshift-negative-value] 629 | static const int yoffs[] = { 27 <xinertia = 0x800; | ~~~~~~~~~~~~^~~~~~~ nxengine/ai/boss/ironhead.cpp:245:17: note: here 245 | case 10: // harmless fishy | ^~~~ nxengine/ai/boss/heavypress.cpp: In member function 'void HeavyPress::run_passageway()': nxengine/ai/boss/heavypress.cpp:229:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | o->damage = 0; | ~~~~~~~~~~^~~ nxengine/ai/boss/heavypress.cpp:231:17: note: here 231 | case 21: | ^~~~ nxengine/ai/egg/egg2.cpp: In function 'void ai_counter_bomb_number(Object*)': nxengine/ai/egg/egg2.cpp:351:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 351 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/heavypress.cpp:252:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 252 | o->y = PWAY_TOP; | ^ nxengine/ai/egg/egg2.cpp:353:17: note: here 353 | case 1: | ^~~~ nxengine/ai/boss/heavypress.cpp:254:17: note: here 254 | case 31: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunForm3(Object*)': nxengine/ai/boss/ballos.cpp:635:66: warning: left shift of negative value [-Wshift-negative-value] 635 | CreateObject(o->x + nx_random(-40<state = 1; | ~~~~~~~~~^~~ nxengine/ai/egg/egg.cpp:209:17: note: here 209 | case 1: | ^~~~ nxengine/ai/final_battle/balcony.cpp: In function 'void ai_falling_block(Object*)': nxengine/ai/final_battle/balcony.cpp:331:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 331 | if (o->y > 128<ymark = o->y; | ~~~~~~~~~^~~~~~ nxengine/ai/final_battle/doctor.cpp:315:17: note: here 315 | case 1: | ^~~~ nxengine/ai/boss/heavypress.cpp: In function 'void ai_hp_lightning(Object*)': nxengine/ai/boss/heavypress.cpp:288:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 288 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/heavypress.cpp:290:17: note: here 290 | case 1: | ^~~~ nxengine/ai/boss/omega.cpp: In member function 'virtual void OmegaBoss::Run()': nxengine/ai/boss/omega.cpp:114:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 114 | omg.timer = 0; | ~~~~~~~~~~^~~ nxengine/ai/boss/x.cpp: In member function 'void XBoss::run_target(int)': nxengine/ai/boss/x.cpp:688:42: warning: left shift of negative value [-Wshift-negative-value] 688 | static const int xoffs[] = { -22 <damage = CRITTER_DAMAGE; | ^ nxengine/ai/boss/omega.cpp:116:17: note: here 116 | case OMG_WAIT+1: | ^~~~ nxengine/ai/boss/x.cpp:688:64: warning: left shift of negative value [-Wshift-negative-value] 688 | static const int xoffs[] = { -22 <flags |= FLAG_SOLID_MUSHY; nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void ai_boss_misery(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:49:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 49 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/omega.cpp:134:17: note: here 134 | case OMG_MOVE: // rising up/going back into ground | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:51:17: note: here 51 | case STATE_FIGHTING+1: | ^~~~ nxengine/ai/boss/omega.cpp:166:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 166 | o->sprite = SPR_OMG_OPENED; // select "open" bounding box nxengine/ai/boss/x.cpp:689:42: warning: left shift of negative value [-Wshift-negative-value] 689 | static const int yoffs[] = { -16 <state++; | ~~~~~~~~^~ nxengine/ai/boss/omega.cpp:358:17: note: here 358 | case OMG_EXPLODING+1: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunDefeated(Object*)': nxengine/ai/boss/ballos.cpp:668:53: warning: left shift of negative value [-Wshift-negative-value] 668 | int x = o->x + nx_random(-60<state = 1; | ~~~~~~~~~^~~ nxengine/ai/egg/egg.cpp:278:17: note: here 278 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp:669:53: warning: left shift of negative value [-Wshift-negative-value] 669 | int y = o->y + nx_random(-60<xinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/boss/balfrog.cpp:185:17: note: here 185 | case STATE_FIGHTING+1: | ^~~~ nxengine/ai/boss/ironhead.cpp: In function 'void ai_ikachan(Object*)': nxengine/ai/boss/ironhead.cpp:397:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 397 | o->timer = nx_random(3, 20); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ nxengine/ai/boss/ironhead.cpp:399:17: note: here 399 | case 1: // he pushes ahead | ^~~~ nxengine/ai/boss/sisters.cpp: In member function 'void SistersBoss::run_head(int)': nxengine/ai/boss/sisters.cpp:379:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 379 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/sisters.cpp:381:17: note: here 381 | case STATE_HEAD_CLOSED+1: | ^~~~ nxengine/ai/boss/sisters.cpp:396:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 396 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/sisters.cpp:398:17: note: here 398 | case STATE_HEAD_OPEN+1: | ^~~~ nxengine/ai/boss/sisters.cpp:443:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 443 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/boss/sisters.cpp:445:17: note: here 445 | case STATE_HEAD_MEGAFIRE+1: | ^~~~ nxengine/ai/final_battle/doctor.cpp: In function 'void ai_doctor_crowned(Object*)': nxengine/ai/final_battle/doctor.cpp:445:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 445 | crystal_tofront = true; | ~~~~~~~~~~~~~~~~^~~~~~ nxengine/ai/final_battle/doctor.cpp:447:17: note: here 447 | case 1: // faces away | ^~~~ nxengine/ai/final_battle/doctor.cpp:458:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 458 | o->state = 11; | ~~~~~~~~~^~~~ nxengine/ai/final_battle/doctor.cpp:460:17: note: here 460 | case 11: | ^~~~ nxengine/ai/final_battle/doctor.cpp:487:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 487 | dr_create_red_crystal(x, y); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ nxengine/ai/final_battle/doctor.cpp:489:17: note: here 489 | case 41: | ^~~~ nxengine/ai/final_battle/doctor.cpp:500:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 500 | o->state = 51; | ~~~~~~~~~^~~~ nxengine/ai/final_battle/doctor.cpp:502:17: note: here 502 | case 51: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void run_spells(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:92:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/misery_finalbattle.cpp:94:17: note: here 94 | case STATE_FLASH_FOR_SPELL+1: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:161:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 161 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/misery_finalbattle.cpp:163:17: note: here 163 | case STATE_SUMMON_BALLS+1: | ^~~~ nxengine/ai/boss/balfrog.cpp: In member function 'void BalfrogBoss::RunJumping()': nxengine/ai/boss/balfrog.cpp:217:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 217 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/balfrog.cpp:219:17: note: here 219 | case STATE_JUMPING+1: | ^~~~ nxengine/ai/boss/balfrog.cpp:254:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 254 | o->xinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/boss/balfrog.cpp:256:17: note: here 256 | case STATE_BIG_JUMP+1: // animation of preparing to jump | ^~~~ nxengine/ai/boss/core.cpp: In member function 'virtual void CoreBoss::Run()': nxengine/ai/boss/core.cpp:160:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 160 | o->ymark = player->y; | ~~~~~~~~~^~~~~~~~~~~ nxengine/ai/boss/core.cpp:162:17: note: here 162 | case CORE_CLOSED+1: | ^~~~ nxengine/ai/boss/core.cpp:192:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 192 | o->savedhp = o->hp; | ~~~~~~~~~~~^~~~~~~ nxengine/ai/boss/core.cpp:194:17: note: here 194 | case CORE_OPEN+1: | ^~~~ nxengine/ai/boss/core.cpp:235:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 235 | StartWaterStream(); | ~~~~~~~~~~~~~~~~^~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_ballos_skull(Object*)': nxengine/ai/hell/ballos_misc.cpp:33:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 33 | o->frame = nx_random(0, 16) & 3; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_misc.cpp:35:17: note: here 35 | case 100: | ^~~~ nxengine/ai/boss/core.cpp:237:17: note: here 237 | case CORE_GUST+1: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void ai_boss_doctor_frenzied(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:78:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/core.cpp:281:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | for(i=0;i<5;i++) | ~^~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void run_teleport(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:201:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 201 | sound(SND_TELEPORT); | ~~~~~^~~~~~~~~~~~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:80:17: note: here 80 | case STATE_BASE+1: | ^~~~ nxengine/ai/boss/core.cpp:287:17: note: here 287 | case 501: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:203:17: note: here 203 | case STATE_TP_AWAY+1: | ^~~~ nxengine/ai/boss/core.cpp:315:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 315 | o->timer = sprites[pieces[CFRONT]->sprite].h; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/maze/balrog_boss_missiles.cpp: In function 'void ai_balrog_boss_missiles(Object*)': nxengine/ai/maze/balrog_boss_missiles.cpp:52:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 52 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/maze/balrog_boss_missiles.cpp:54:17: note: here 54 | case 1: | ^~~~ nxengine/ai/boss/core.cpp:317:17: note: here 317 | case 601: | ^~~~ nxengine/ai/maze/balrog_boss_missiles.cpp:70:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 70 | o->state++; | ~~~~~~~~^~ nxengine/ai/maze/balrog_boss_missiles.cpp:72:17: note: here 72 | case STATE_CHARGE+1: | ^~~~ nxengine/ai/maze/balrog_boss_missiles.cpp:112:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 112 | o->yinertia = -0x5ff; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/maze/balrog_boss_missiles.cpp:114:17: note: here 114 | case STATE_JUMP_FIRE+1: | ^~~~ nxengine/ai/boss/balfrog.cpp: In member function 'void BalfrogBoss::RunShooting()': nxengine/ai/boss/balfrog.cpp:319:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 319 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/balfrog.cpp:321:17: note: here 321 | case STATE_OPEN_MOUTH+1: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void run_intro(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:282:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 282 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_green_devil_spawner(Object*)': nxengine/ai/hell/ballos_misc.cpp:118:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/final_battle/misery_finalbattle.cpp:284:17: note: here 284 | case 1: | ^~~~ nxengine/ai/hell/ballos_misc.cpp:120:17: note: here 120 | case 1: | ^~~~ In file included from nxengine/ai/last_cave/last_cave.cpp:3: nxengine/ai/last_cave/../plantation/plantation.fdh: At global scope: nxengine/ai/last_cave/../plantation/plantation.fdh:58:15: warning: 'Caret* SpawnRocketTrail(Object*, int)' declared 'static' but never defined [-Wunused-function] 58 | static Caret *SpawnRocketTrail(Object *o, int side); | ^~~~~~~~~~~~~~~~ In file included from nxengine/ai/last_cave/last_cave.cpp:4: nxengine/ai/last_cave/../sym/sym.fdh:62:13: warning: 'void hv_project_beam(Object*)' declared 'static' but never defined [-Wunused-function] 62 | static void hv_project_beam(Object *o); | ^~~~~~~~~~~~~~~ nxengine/ai/last_cave/../sym/sym.fdh:72:13: warning: 'void smoke_if_bonus_item(Object*)' declared 'static' but never defined [-Wunused-function] 72 | static void smoke_if_bonus_item(Object *o); | ^~~~~~~~~~~~~~~~~~~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void run_defeated(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:331:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 331 | o->xmark = o->x; | ~~~~~~~~~^~~~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:333:17: note: here 333 | case 1001: // shake until script tells us otherwise | ^~~~ nxengine/ai/boss/balfrog.cpp: In member function 'void BalfrogBoss::RunEntryAnim()': nxengine/ai/boss/balfrog.cpp:421:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 421 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/balfrog.cpp:423:17: note: here 423 | case STATE_TRANSFORM+1: | ^~~~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_green_devil(Object*)': nxengine/ai/hell/ballos_misc.cpp:145:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 145 | o->state = 1; | ~~~~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:147:17: note: here 147 | case 1: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void ai_misery_ring(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:384:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 384 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/final_battle/misery_finalbattle.cpp:386:17: note: here 386 | case 1: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:410:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 410 | o->state = 11; | ~~~~~~~~~^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:412:17: note: here 412 | case 11: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_jumps(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:224:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 224 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/doctor_frenzied.cpp:226:17: note: here 226 | case STATE_LANDED+1: | ^~~~ nxengine/ai/boss/balfrog.cpp: In member function 'void BalfrogBoss::RunDeathAnim()': nxengine/ai/boss/balfrog.cpp:459:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 459 | SpawnSmoke(DEATH_SMOKE_COUNT, DEATH_SMOKE_YTOP); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/boss/balfrog.cpp:461:17: note: here 461 | case STATE_DEATH+1: // shaking with mouth open | ^~~~ nxengine/ai/boss/balfrog.cpp:501:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 501 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/balfrog.cpp:503:17: note: here 503 | case STATE_DEATH+3: // flashing | ^~~~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_bute_sword_red(Object*)': nxengine/ai/hell/ballos_misc.cpp:184:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | o->dir = 0; | ~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:186:17: note: here 186 | case 1: | ^~~~ nxengine/ai/final_battle/misery_finalbattle.cpp: In function 'void ai_misery_ball(Object*)': nxengine/ai/final_battle/misery_finalbattle.cpp:465:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 465 | o->yinertia = -0x200; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/final_battle/misery_finalbattle.cpp:467:17: note: here 467 | case 1: | ^~~~ nxengine/ai/boss/core.cpp: In function 'void ai_minicore(Object*)': nxengine/ai/boss/core.cpp:495:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 495 | o->ymark = core->y + (nx_random(-64, 64) << CSF); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/boss/core.cpp:496:17: note: here 496 | case MC_THRUST+1: | ^~~~ nxengine/ai/boss/core.cpp:505:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 505 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/boss/core.cpp:506:17: note: here 506 | case MC_CHARGE_FIRE+1: // flash blue | ^~~~ nxengine/ai/boss/core.cpp:520:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 520 | o->ymark = o->y + (nx_random(-4, 4) << CSF); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/boss/core.cpp:521:17: note: here 521 | case MC_FIRE+1: | ^~~~ nxengine/ai/boss/core.cpp:539:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 539 | o->xinertia = o->yinertia = 0; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ nxengine/ai/boss/core.cpp:540:17: note: here 540 | case MC_RETREAT+1: // retreat back into the abyss | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_red_dash(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:256:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 256 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/doctor_frenzied.cpp:258:17: note: here 258 | case STATE_RED_DASH+1: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_mega_bats(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:326:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 326 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/final_battle/doctor_frenzied.cpp:328:17: note: here 328 | case STATE_MEGA_BATS+1: | ^~~~ nxengine/ai/maze/gaudi.cpp: In function 'void ai_gaudi(Object*)': nxengine/ai/maze/gaudi.cpp:52:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 52 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/maze/gaudi.cpp:54:17: note: here 54 | case 1: | ^~~~ nxengine/ai/maze/gaudi.cpp:75:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 75 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/maze/gaudi.cpp:77:17: note: here 77 | case 11: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_teleport(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:370:39: warning: this statement may fall through [-Wimplicit-fallthrough=] 370 | dr_tp_out_init(o); | ~~~~~~~~~~~~~~^~~ nxengine/ai/final_battle/doctor_frenzied.cpp:372:17: note: here 372 | case STATE_TELEPORT+1: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:416:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 416 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/doctor_frenzied.cpp:418:17: note: here 418 | case STATE_TELEPORT+4: | ^~~~ nxengine/ai/hell/ballos_misc.cpp: In function 'void ai_bute_archer_red(Object*)': nxengine/ai/hell/ballos_misc.cpp:261:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 261 | o->yinertia = nx_random(-0x400, 0x400); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_misc.cpp:263:17: note: here 263 | case 1: // come on screen | ^~~~ nxengine/ai/hell/ballos_misc.cpp:281:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:283:17: note: here 283 | case 21: | ^~~~ nxengine/ai/hell/ballos_misc.cpp:300:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 300 | o->frame = 3; | ~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:302:17: note: here 302 | case 31: | ^~~~ nxengine/ai/last_cave/last_cave.cpp: In function 'void ai_lava_drip_spawner(Object*)': nxengine/ai/last_cave/last_cave.cpp:171:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 171 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:322:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 322 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/hell/ballos_misc.cpp:324:17: note: here 324 | case 41: | ^~~~ nxengine/ai/last_cave/last_cave.cpp:173:17: note: here 173 | case 1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void ai_ballos_priest(Object*)': nxengine/ai/hell/ballos_priest.cpp:78:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | o->savedhp = o->hp; | ~~~~~~~~~~~^~~~~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_init(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:461:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 461 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/ballos_priest.cpp:80:17: note: here 80 | case BP_FIGHTING_STANCE+1: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:463:17: note: here 463 | case 1: // appearing/transforming | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:479:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 479 | o->state = 6; | ~~~~~~~~~^~~ nxengine/ai/final_battle/doctor_frenzied.cpp:481:17: note: here 481 | case 6: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:492:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 492 | o->frame = 3; | ~~~~~~~~~^~~ In file included from nxengine/ai/hell/../../nx.h:38, from nxengine/ai/hell/../stdai.h:5, from nxengine/ai/hell/ballos_priest.cpp:2: nxengine/ai/hell/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_priest.cpp:113:25: note: in expansion of macro 'FACEPLAYER' 113 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:494:17: note: here 494 | case 8: | ^~~~ nxengine/ai/hell/ballos_priest.cpp:115:17: note: here 115 | case BP_PREPARE_FLY_LR+1: | ^~~~ nxengine/ai/hell/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_priest.cpp:117:25: note: in expansion of macro 'FACEPLAYER' 117 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/hell/ballos_priest.cpp:119:17: note: here 119 | case BP_PREPARE_FLY_UD+1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp: In function 'void ai_misery_frenzied(Object*)': nxengine/ai/final_battle/sidekicks.cpp:49:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 49 | o->timer = 1; | ~~~~~~~~~^~~ nxengine/ai/final_battle/sidekicks.cpp:51:17: note: here 51 | case 1: // transforming | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:93:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 93 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/final_battle/sidekicks.cpp:95:17: note: here 95 | case 21: | ^~~~ nxengine/ai/last_cave/last_cave.cpp: In function 'void ai_red_bat_spawner(Object*)': nxengine/ai/last_cave/last_cave.cpp:236:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 236 | o->timer = nx_random(0, 500); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ nxengine/ai/final_battle/sidekicks.cpp:114:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 114 | o->savedhp = o->hp; | ~~~~~~~~~~~^~~~~~~ nxengine/ai/last_cave/last_cave.cpp:238:17: note: here 238 | case 1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:116:17: note: here 116 | case 31: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:158:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 158 | o->timer3 = (player->y >= MAPY(10)) ? OBJ_MISERY_CRITTER : OBJ_MISERY_BAT; nxengine/ai/maze/labyrinth_m.cpp:35:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 35 | o->ymark = o->y; | ~~~~~~~~~^~~~~~ nxengine/ai/final_battle/sidekicks.cpp:160:17: note: here 160 | case 41: | ^~~~ nxengine/ai/maze/labyrinth_m.cpp:37:17: note: here 37 | case 1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:220:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 220 | sound(SND_CHARGE_GUN); | ~~~~~^~~~~~~~~~~~~~~~ nxengine/ai/maze/labyrinth_m.cpp:39:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 39 | if (!o->timer) | ^~ nxengine/ai/final_battle/sidekicks.cpp:222:17: note: here 222 | case 51: | ^~~~ nxengine/ai/maze/labyrinth_m.cpp:46:17: note: here 46 | case 10: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp: In function 'void run_defeat(Object*)': nxengine/ai/final_battle/doctor_frenzied.cpp:519:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 519 | o->state++; | ~~~~~~~~^~ nxengine/ai/final_battle/doctor_frenzied.cpp:521:17: note: here 521 | case STATE_DEFEATED+1: // wait till we hit ground | ^~~~ nxengine/ai/last_cave/last_cave.cpp: In function 'void ai_red_bat(Object*)': nxengine/ai/last_cave/last_cave.cpp:264:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 264 | o->timer = nx_random(0, 50); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:558:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 558 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/last_cave/last_cave.cpp:266:17: note: here 266 | case 1: | ^~~~ nxengine/ai/final_battle/doctor_frenzied.cpp:560:17: note: here 560 | case STATE_DISSOLVE+1: | ^~~~ In file included from nxengine/ai/boss/undead_core.cpp:4: nxengine/ai/boss/undead_core.fdh: At global scope: nxengine/ai/boss/undead_core.fdh:60:13: warning: 'void SetRotatorStates(int)' declared 'static' but never defined [-Wunused-function] 60 | static void SetRotatorStates(int newstate); | ^~~~~~~~~~~~~~~~ nxengine/ai/maze/gaudi.cpp: In function 'void ai_gaudi_flying(Object*)': nxengine/ai/maze/gaudi.cpp:225:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 225 | o->timer2 = 120; | ~~~~~~~~~~^~~~~ nxengine/ai/maze/gaudi.cpp:227:17: note: here 227 | case 1: | ^~~~ nxengine/ai/maze/gaudi.cpp:230:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 230 | o->state = 2; | ~~~~~~~~~^~~ nxengine/ai/maze/gaudi.cpp:232:17: note: here 232 | case 2: | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void run_defeated(Object*)': nxengine/ai/hell/ballos_priest.cpp:552:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 552 | o->xinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/hell/ballos_priest.cpp:554:17: note: here 554 | case BP_DEFEATED+1: // fall to ground, shaking | ^~~~ nxengine/ai/last_cave/last_cave.cpp: In function 'void ai_red_demon(Object*)': nxengine/ai/last_cave/last_cave.cpp:304:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 304 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/last_cave/last_cave.cpp:306:17: note: here 306 | case 1: | ^~~~ nxengine/ai/last_cave/last_cave.cpp:318:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 318 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/last_cave/last_cave.cpp:320:17: note: here 320 | case 11: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp: In function 'void sidekick_run_defeated(Object*, int)': nxengine/ai/final_battle/sidekicks.cpp:752:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 752 | if (o->type == OBJ_SUE_FRENZIED) | ^~ nxengine/ai/final_battle/sidekicks.cpp:755:17: note: here 755 | case SIDEKICK_DEFEATED+1: | ^~~~ nxengine/ai/maze/labyrinth_m.cpp: In function 'void ai_fuzz_core(Object*)': nxengine/ai/maze/labyrinth_m.cpp:149:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 149 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/x.cpp: In member function 'virtual void XBoss::Run()': nxengine/ai/boss/x.cpp:109:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 109 | o->state++; | ~~~~~~~~^~ nxengine/ai/maze/labyrinth_m.cpp:151:17: note: here 151 | case 1: // de-syncs the Y positions when multiple cores are present at once | ^~~~ nxengine/ai/boss/x.cpp:111:17: note: here 111 | case STATE_X_FIGHT_BEGIN+1: | ^~~~ nxengine/ai/boss/x.cpp:130:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 130 | o->state++; | ~~~~~~~~^~ nxengine/ai/maze/gaudi.cpp: In function 'void ai_gaudi_armored(Object*)': nxengine/ai/maze/gaudi.cpp:294:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 294 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/x.cpp:132:17: note: here 132 | case STATE_X_TRAVEL+1: | ^~~~ nxengine/ai/maze/gaudi.cpp:296:17: note: here 296 | case 1: | ^~~~ nxengine/ai/boss/x.cpp:177:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 177 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/x.cpp:179:17: note: here 179 | case STATE_X_BRAKE+1: | ^~~~ nxengine/ai/boss/x.cpp:264:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 264 | SetStates(doors, 2, STATE_DOOR_CLOSING); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/boss/x.cpp:266:17: note: here 266 | case STATE_X_CLOSE_DOORS+1: | ^~~~ nxengine/ai/boss/x.cpp:296:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 296 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/x.cpp:298:17: note: here 298 | case STATE_X_EXPLODING+1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void run_flight(Object*)': nxengine/ai/hell/../../ai/ai.h:56:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 56 | #define XMOVE(SPD) { o->xinertia = (o->dir == RIGHT) ? (SPD) : -(SPD); } | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_priest.cpp:174:25: note: in expansion of macro 'XMOVE' 174 | XMOVE(RUSH_SPEED); | ^~~~~ nxengine/ai/boss/undead_core.cpp: In member function 'virtual void UDCoreBoss::Run()': nxengine/ai/boss/undead_core.cpp:174:39: warning: this statement may fall through [-Wimplicit-fallthrough=] 174 | SpawnFaceSmoke(); | ~~~~~~~~~~~~~~^~ nxengine/ai/hell/ballos_priest.cpp:176:17: note: here 176 | case BP_FLY_LR+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:176:17: note: here 176 | case CR_FaceClosed+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:215:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 215 | set_bbox_shootable(true); | ~~~~~~~~~~~~~~~~~~^~~~~~ nxengine/ai/hell/ballos_priest.cpp:227:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 227 | o->damage = DMG_RUSH; | ^ nxengine/ai/boss/undead_core.cpp:217:17: note: here 217 | case CR_FaceSkull+1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp:229:17: note: here 229 | case BP_FLY_UP+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:255:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 255 | set_bbox_shootable(true); | ~~~~~~~~~~~~~~~~~~^~~~~~ nxengine/ai/boss/undead_core.cpp:257:17: note: here 257 | case CR_FaceTeeth+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:298:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 298 | set_bbox_shootable(true); | ~~~~~~~~~~~~~~~~~~^~~~~~ nxengine/ai/hell/ballos_priest.cpp:282:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 282 | o->damage = DMG_RUSH; | ^ nxengine/ai/boss/undead_core.cpp:300:17: note: here 300 | case CR_FaceDoom+1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp:284:17: note: here 284 | case BP_FLY_DOWN+1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp:325:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 325 | o->state++; | ~~~~~~~~^~ nxengine/ai/hell/ballos_priest.cpp:327:17: note: here 327 | case BP_RETURN_TO_GROUND+1: | ^~~~ nxengine/ai/maze/labyrinth_m.cpp: In function 'void ai_buyobuyo_base(Object*)': nxengine/ai/maze/labyrinth_m.cpp:255:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 255 | o->timer = 10; | ~~~~~~~~~^~~~ nxengine/ai/maze/labyrinth_m.cpp:257:17: note: here 257 | case 1: | ^~~~ nxengine/ai/boss/x.cpp: In member function 'void XBoss::run_tread(int)': nxengine/ai/boss/x.cpp:389:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 389 | o->state = STATE_TREAD_STOPPED; | ^ nxengine/ai/boss/x.cpp:391:17: note: here 391 | case STATE_TREAD_STOPPED: | ^~~~ nxengine/ai/boss/x.cpp:406:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 406 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/x.cpp:408:17: note: here 408 | case STATE_TREAD_RUN+1: | ^~~~ nxengine/ai/boss/x.cpp:437:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 437 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/x.cpp:439:17: note: here 439 | case STATE_TREAD_BRAKE+1: | ^~~~ nxengine/ai/maze/labyrinth_m.cpp: In function 'void ai_buyobuyo(Object*)': nxengine/ai/maze/labyrinth_m.cpp:320:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 320 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/maze/labyrinth_m.cpp:322:17: note: here 322 | case 1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp: In function 'void ai_sue_frenzied(Object*)': nxengine/ai/final_battle/sidekicks.cpp:446:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 446 | o->timer = 1; | ~~~~~~~~~^~~ nxengine/ai/final_battle/sidekicks.cpp:448:17: note: here 448 | case 1: // transforming | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:489:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | o->flags &= ~FLAG_IGNORE_SOLID; nxengine/ai/final_battle/sidekicks.cpp:491:17: note: here 491 | case SUE_BASE+1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:518:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 518 | o->yinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/final_battle/sidekicks.cpp:520:17: note: here 520 | case SUE_PREPARE_ATTACK+1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void run_lightning(Object*)': nxengine/ai/hell/ballos_priest.cpp:398:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 398 | o->state++; | ~~~~~~~~^~ nxengine/ai/hell/ballos_priest.cpp:400:17: note: here 400 | case BP_LIGHTNING_STRIKE+1: | ^~~~ nxengine/ai/boss/undead_core.cpp: In member function 'bool UDCoreBoss::RunDefeated()': nxengine/ai/boss/undead_core.cpp:456:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 456 | set_bbox_shootable(false); | ~~~~~~~~~~~~~~~~~~^~~~~~~ nxengine/ai/boss/undead_core.cpp:458:17: note: here 458 | case CR_Defeated+1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp: In function 'void sue_somersault(Object*)': nxengine/ai/final_battle/sidekicks.cpp:549:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 549 | set_ignore_solid(o); | ~~~~~~~~~~~~~~~~^~~ nxengine/ai/final_battle/sidekicks.cpp:551:17: note: here 551 | case SUE_SOMERSAULT+1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:583:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 583 | o->flags &= ~FLAG_IGNORE_SOLID; nxengine/ai/final_battle/sidekicks.cpp:585:17: note: here 585 | case SUE_SOMERSAULT_HIT+1: // slowing down | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void ai_ballos_target(Object*)': nxengine/ai/hell/ballos_priest.cpp:628:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 628 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/undead_core.cpp: In member function 'void UDCoreBoss::run_face(Object*)': nxengine/ai/boss/undead_core.cpp:546:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 546 | o->timer = 100; | ~~~~~~~~~^~~~~ nxengine/ai/hell/ballos_priest.cpp:630:17: note: here 630 | case 1: | ^~~~ nxengine/ai/boss/undead_core.cpp:548:17: note: here 548 | case FC_Mouth+1: | ^~~~ nxengine/ai/boss/x.cpp: In member function 'void XBoss::run_fishy_spawner(int)': nxengine/ai/boss/x.cpp:616:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 616 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/undead_core.cpp: In member function 'void UDCoreBoss::run_front(Object*)': nxengine/ai/boss/undead_core.cpp:593:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 593 | o->frame = 2; | ~~~~~~~~~^~~ nxengine/ai/boss/x.cpp:618:17: note: here 618 | case STATE_FISHSPAWNER_FIRE+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:595:17: note: here 595 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_flying(Object*)': nxengine/ai/hell/hell.cpp:50:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 50 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:52:17: note: here 52 | case 1: | ^~~~ nxengine/ai/hell/ballos_priest.cpp: In function 'void ai_ballos_bone_spawner(Object*)': nxengine/ai/hell/../../ai/ai.h:56:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 56 | #define XMOVE(SPD) { o->xinertia = (o->dir == RIGHT) ? (SPD) : -(SPD); } | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/ballos_priest.cpp:662:25: note: in expansion of macro 'XMOVE' 662 | XMOVE(0x400); | ^~~~~ nxengine/ai/boss/undead_core.cpp: In member function 'void UDCoreBoss::run_back(Object*)': nxengine/ai/boss/undead_core.cpp:616:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 616 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:78:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 78 | o->damage = 5; | ~~~~~~~~~~^~~ nxengine/ai/hell/ballos_priest.cpp:664:17: note: here 664 | case 1: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp: In function 'void sue_dash(Object*)': nxengine/ai/final_battle/sidekicks.cpp:648:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 648 | set_ignore_solid(o); | ~~~~~~~~~~~~~~~~^~~ nxengine/ai/boss/undead_core.cpp:618:17: note: here 618 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp:80:17: note: here 80 | case 11: | ^~~~ nxengine/ai/final_battle/sidekicks.cpp:650:17: note: here 650 | case SUE_DASH+1: | ^~~~ nxengine/ai/boss/x.cpp: In member function 'void XBoss::run_target(int)': nxengine/ai/boss/x.cpp:665:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 665 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/x.cpp:667:17: note: here 667 | case STATE_TARGET_FIRE+1: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunComeDown(Object*)': nxengine/ai/boss/ballos.cpp:199:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 199 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/ballos.cpp:201:17: note: here 201 | case AS_COME_DOWN+1: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_spawner(Object*)': nxengine/ai/hell/hell.cpp:125:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 125 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:127:17: note: here 127 | case 11: | ^~~~ nxengine/ai/boss/undead_core.cpp: In function 'void ai_udmini_platform(Object*)': nxengine/ai/boss/undead_core.cpp:791:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 791 | if (nx_random(0, 1)) o->yinertia = -o->yinertia; | ^~ nxengine/ai/boss/undead_core.cpp:793:17: note: here 793 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunForm1(Object*)': nxengine/ai/boss/ballos.cpp:261:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 261 | o->state = AS_PREPARE_JUMP; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ nxengine/ai/boss/ballos.cpp:263:17: note: here 263 | case AS_PREPARE_JUMP: // delay, then jump at player | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_falling(Object*)': nxengine/ai/hell/hell.cpp:153:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 153 | o->flags |= FLAG_IGNORE_SOLID; nxengine/ai/boss/ballos.cpp:272:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 272 | if ((++o->timer2 % 3) == 0) | ^~ nxengine/ai/hell/hell.cpp:155:17: note: here 155 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp:277:17: note: here 277 | case AS_PREPARE_JUMP+1: | ^~~~ nxengine/ai/boss/ballos.cpp:329:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 329 | o->shaketime = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/boss/ballos.cpp:331:17: note: here 331 | case AS_DEFEATED+1: | ^~~~ nxengine/ai/boss/undead_core.cpp: In function 'void ai_ud_pellet(Object*)': nxengine/ai/boss/undead_core.cpp:845:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 845 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunForm2(Object*)': nxengine/ai/boss/ballos.cpp:382:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 382 | } | ^ nxengine/ai/boss/undead_core.cpp:847:17: note: here 847 | case 1: // falling | ^~~~ nxengine/ai/boss/x.cpp: In function 'void ai_x_defeated(Object*)': nxengine/ai/boss/x.cpp:907:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 907 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/ballos.cpp:383:17: note: here 383 | case BS_ENTER_FORM+1: | ^~~~ nxengine/ai/boss/undead_core.cpp:882:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 882 | o->y -= (4 << CSF); | ~~~~~^~~~~~~~~~~~~ nxengine/ai/boss/x.cpp:909:17: note: here 909 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp:399:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 399 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/boss/undead_core.cpp:884:17: note: here 884 | case 3: | ^~~~ nxengine/ai/boss/ballos.cpp:401:17: note: here 401 | case BS_LEFT: // left on floor | ^~~~ nxengine/ai/boss/undead_core.cpp: In function 'void ai_ud_smoke(Object*)': nxengine/ai/boss/undead_core.cpp:918:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 918 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/undead_core.cpp:920:17: note: here 920 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_sword(Object*)': nxengine/ai/hell/hell.cpp:226:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 226 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:228:17: note: here 228 | case 1: // lying in wait | ^~~~ nxengine/ai/hell/hell.cpp:248:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 248 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:250:17: note: here 250 | case 11: | ^~~~ In file included from nxengine/ai/hell/../../nx.h:38, from nxengine/ai/hell/../stdai.h:5, from nxengine/ai/hell/hell.cpp:2: nxengine/ai/hell/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/hell.cpp:265:25: note: in expansion of macro 'FACEPLAYER' 265 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/hell/hell.cpp:267:17: note: here 267 | case 21: | ^~~~ nxengine/ai/boss/undead_core.cpp: In function 'void ai_ud_spinner(Object*)': nxengine/ai/boss/undead_core.cpp:960:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 960 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/undead_core.cpp:962:17: note: here 962 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunForm3(Object*)': nxengine/ai/boss/ballos.cpp:503:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 503 | SetRotatorStates(20); // fast spin CCW | ~~~~~~~~~~~~~~~~^~~~ nxengine/ai/boss/ballos.cpp:505:17: note: here 505 | case CS_ENTER_FORM+1: | ^~~~ nxengine/ai/boss/ballos.cpp:537:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/ballos.cpp:539:17: note: here 539 | case CS_SPAWN_SPIKES+1: | ^~~~ nxengine/ai/boss/ballos.cpp:582:40: warning: this statement may fall through [-Wimplicit-fallthrough=] 582 | platform_speed = platform_pattern[o->timer2].speed; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/boss/ballos.cpp:584:17: note: here 584 | case CS_SPIN_PLATFORMS+1: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::RunDefeated(Object*)': nxengine/ai/boss/ballos.cpp:664:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 664 | eye[RIGHT]->flags &= mask; | ~~~~~~~~~~~~~~~~~~^~~~~~~ nxengine/ai/boss/ballos.cpp:666:17: note: here 666 | case 1001: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_archer(Object*)': nxengine/ai/hell/hell.cpp:409:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 409 | o->frame = (o->timer2 == 1) ? 6 : 3; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/hell/hell.cpp:411:17: note: here 411 | case 31: | ^~~~ nxengine/ai/boss/ballos.cpp: In member function 'void BallosBoss::run_eye(int)': nxengine/ai/boss/ballos.cpp:746:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 746 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/ballos.cpp:748:17: note: here 748 | case EYE_OPENING+1: | ^~~~ nxengine/ai/boss/ballos.cpp:771:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 771 | o->state++; | ~~~~~~~~^~ nxengine/ai/boss/ballos.cpp:773:17: note: here 773 | case EYE_CLOSING+1: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_arrow(Object*)': nxengine/ai/hell/hell.cpp:462:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 462 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:464:17: note: here 464 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp:483:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 483 | o->yinertia /= 4; | ~~~~~~~~~~~~^~~~ nxengine/ai/hell/hell.cpp:485:17: note: here 485 | case 11: | ^~~~ nxengine/ai/hell/hell.cpp:500:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 500 | o->yinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:502:17: note: here 502 | case 21: | ^~~~ nxengine/ai/boss/ballos.cpp: In function 'void ai_ballos_rotator(Object*)': nxengine/ai/boss/ballos.cpp:847:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 847 | o->damage = 14; | ~~~~~~~~~~^~~~ nxengine/ai/boss/ballos.cpp:849:17: note: here 849 | case 1: // expanding outward; overshoot a bit | ^~~~ nxengine/ai/boss/ballos.cpp:873:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 873 | o->hp = 1000; | ~~~~~~^~~~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_bute_dying(Object*)': nxengine/ai/hell/hell.cpp:537:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 537 | o->yinertia = -0x200; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/boss/ballos.cpp:875:17: note: here 875 | case 11: // spinning during phase 2, alive | ^~~~ nxengine/ai/hell/hell.cpp:539:17: note: here 539 | case 1: | ^~~~ nxengine/ai/boss/ballos.cpp:917:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 917 | if (o->dir == LEFT) | ^~ nxengine/ai/boss/ballos.cpp:928:17: note: here 928 | case 31: // form 3 CW slow spin | ^~~~ nxengine/ai/boss/ballos.cpp:993:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 993 | o->timer2 /= 4; | ~~~~~~~~~~^~~~ nxengine/ai/boss/ballos.cpp:995:17: note: here 995 | case 1001: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_mesa(Object*)': nxengine/ai/hell/hell.cpp:606:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 606 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:608:17: note: here 608 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp:631:55: warning: this statement may fall through [-Wimplicit-fallthrough=] 631 | o->linkedobject->linkedobject = o; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ nxengine/ai/hell/hell.cpp:633:17: note: here 633 | case 11: | ^~~~ nxengine/ai/boss/ballos.cpp: In function 'void ai_ballos_platform(Object*)': nxengine/ai/boss/ballos.cpp:1113:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 1113 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/boss/ballos.cpp:1115:17: note: here 1115 | case 1: // expanding outward | ^~~~ nxengine/ai/boss/ballos.cpp:1139:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 1139 | o->flags &= ~FLAG_SOLID_BRICK; nxengine/ai/boss/ballos.cpp:1141:17: note: here 1141 | case 1001: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_deleet(Object*)': nxengine/ai/hell/hell.cpp:737:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 737 | if (o->dir == LEFT) | ^~ nxengine/ai/hell/hell.cpp:742:17: note: here 742 | case 1: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_statue(Object*)': nxengine/ai/hell/hell.cpp:920:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 920 | if (game.flags[o->id1]) | ^~ nxengine/ai/hell/hell.cpp:930:17: note: here 930 | case 11: | ^~~~ nxengine/ai/hell/hell.cpp: In function 'void ai_puppy_ghost(Object*)': nxengine/ai/hell/hell.cpp:964:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 964 | sound(SND_TELEPORT); | ~~~~~^~~~~~~~~~~~~~ nxengine/ai/hell/hell.cpp:966:17: note: here 966 | case 11: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/pooh_black.o nxengine/ai/maze/pooh_black.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/maze/maze.o nxengine/ai/maze/maze.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/balrog.o nxengine/ai/npc/balrog.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/curly.o nxengine/ai/npc/curly.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/curly_ai.o nxengine/ai/npc/curly_ai.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/misery.o nxengine/ai/npc/misery.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/npcguest.o nxengine/ai/npc/npcguest.cpp nxengine/ai/maze/pooh_black.cpp: In function 'void ai_pooh_black(Object*)': nxengine/ai/maze/pooh_black.cpp:89:69: warning: left shift of negative value [-Wshift-negative-value] 89 | int x = o->CenterX() + nx_random(-12<CenterY() + nx_random(-12<CenterX() + nx_random(-12<y + (o->clipy1 << CSF) + nx_random(-4<CenterY() + nx_random(-12<xmark = o->x; | ~~~~~~~~~^~~~~~ nxengine/ai/maze/maze.cpp:164:17: note: here 164 | case 11: | ^~~~ nxengine/ai/maze/maze.cpp:183:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 183 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/maze/maze.cpp:185:17: note: here 185 | case 21: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/npcplayer.o nxengine/ai/npc/npcplayer.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/npc/npcregu.o nxengine/ai/npc/npcregu.cpp nxengine/ai/npc/balrog.cpp: In function 'void ai_balrog(Object*)': nxengine/ai/npc/balrog.cpp:64:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 64 | o->state++; | ~~~~~~~~^~ nxengine/ai/npc/balrog.cpp:65:17: note: here 65 | case 11: | ^~~~ nxengine/ai/npc/balrog.cpp:71:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 71 | o->flags |= FLAG_IGNORE_SOLID; nxengine/ai/npc/balrog.cpp:73:17: note: here 73 | case 12: | ^~~~ nxengine/ai/npc/balrog.cpp:97:43: warning: this statement may fall through [-Wimplicit-fallthrough=] 97 | o->balrog.smoking = 1; | ~~~~~~~~~~~~~~~~~~^~~ nxengine/ai/npc/balrog.cpp:99:17: note: here 99 | case 21: | ^~~~ nxengine/ai/npc/balrog.cpp:115:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 115 | o->state = 31; | ~~~~~~~~~^~~~ nxengine/ai/npc/balrog.cpp:116:17: note: here 116 | case 31: if (++o->timer > 100) o->state = o->frame = 0; | ^~~~ nxengine/ai/npc/balrog.cpp:125:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 125 | o->animframe = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/balrog.cpp:126:17: note: here 126 | case 41: | ^~~~ nxengine/ai/npc/balrog.cpp:134:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 134 | o->state = 43; | ~~~~~~~~~^~~~ nxengine/ai/npc/balrog.cpp:135:17: note: here 135 | case 43: | ^~~~ nxengine/ai/npc/balrog.cpp:150:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 150 | balrog_walk_init(o); | ~~~~~~~~~~~~~~~~^~~ nxengine/ai/npc/balrog.cpp:151:17: note: here 151 | case 61: | ^~~~ nxengine/ai/npc/balrog.cpp:164:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 164 | o->state++; | ~~~~~~~~^~ nxengine/ai/npc/balrog.cpp:165:17: note: here 165 | case 71: | ^~~~ nxengine/ai/npc/balrog.cpp:172:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 172 | o->state = 81; | ~~~~~~~~~^~~~ nxengine/ai/npc/balrog.cpp:173:17: note: here 173 | case 81: | ^~~~ nxengine/ai/npc/balrog.cpp:188:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 188 | o->frame = 2; // prepare for jump | ~~~~~~~~~^~~ nxengine/ai/npc/balrog.cpp:190:17: note: here 190 | case 101: | ^~~~ nxengine/ai/npc/balrog.cpp: In function 'void ai_balrog_drop_in(Object*)': nxengine/ai/npc/balrog.cpp:281:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | o->flags |= FLAG_IGNORE_SOLID; nxengine/ai/npc/balrog.cpp:283:17: note: here 283 | case 1: | ^~~~ nxengine/ai/npc/balrog.cpp: In function 'void ai_balrog_bust_in(Object*)': nxengine/ai/npc/balrog.cpp:335:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 335 | o->frame = 3; | ~~~~~~~~~^~~ nxengine/ai/npc/balrog.cpp:336:17: note: here 336 | case 1: // falling the short distance to ground | ^~~~ nxengine/ai/npc/curly.cpp: In function 'void ai_curly(Object*)': nxengine/ai/npc/curly.cpp:30:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 30 | o->flags |= FLAG_SCRIPTONACTIVATE; // needed for after Almond battle nxengine/ai/npc/curly.cpp:31:17: note: here 31 | case 1: | ^~~~ nxengine/ai/npc/curly.cpp:43:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 43 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/curly.cpp:45:17: note: here 45 | case 4: | ^~~~ nxengine/ai/npc/curly.cpp:64:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 64 | SmokeClouds(o, 8, 0, 0); | ~~~~~~~~~~~^~~~~~~~~~~~ nxengine/ai/npc/curly.cpp:65:17: note: here 65 | case 6: | ^~~~ In file included from nxengine/ai/npc/../../nx.h:38, from nxengine/ai/npc/../stdai.h:5, from nxengine/ai/npc/curly.cpp:2: nxengine/ai/npc/../../ai/ai.h:56:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 56 | #define XMOVE(SPD) { o->xinertia = (o->dir == RIGHT) ? (SPD) : -(SPD); } | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/npc/curly.cpp:85:25: note: in expansion of macro 'XMOVE' 85 | XMOVE(-0x200); | ^~~~~ nxengine/ai/npc/curly.cpp:87:17: note: here 87 | case 31: | ^~~~ nxengine/ai/npc/curly.cpp: In function 'void aftermove_curly_carried(Object*)': nxengine/ai/npc/curly.cpp:140:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 140 | } | ^ nxengine/ai/npc/curly.cpp:141:17: note: here 141 | case 1: | ^~~~ nxengine/ai/npc/curly.cpp:152:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 152 | o->state = 11; | ~~~~~~~~~^~~~ nxengine/ai/npc/curly.cpp:154:17: note: here 154 | case 11: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/oside/oside.o nxengine/ai/oside/oside.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/plantation/plantation.o nxengine/ai/plantation/plantation.cpp nxengine/ai/npc/curly_ai.cpp: In function 'void ai_curly_ai(Object*)': nxengine/ai/npc/curly_ai.cpp:66:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 66 | o->y = player->y; | ~~~~~^~~~~~~~~~~ nxengine/ai/npc/curly_ai.cpp:67:17: note: here 67 | case CAI_START: // set here after she stops being knocked out in Almond | ^~~~ nxengine/ai/npc/curly_ai.cpp:92:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | o->frame = 15; | ~~~~~~~~~^~~~ nxengine/ai/npc/curly_ai.cpp:94:17: note: here 94 | case CAI_KNOCKEDOUT+1: | ^~~~ nxengine/ai/npc/misery.cpp: In function 'void ai_misery_float(Object*)': nxengine/ai/npc/misery.cpp:92:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | o->flags |= FLAG_IGNORE_SOLID; nxengine/ai/npc/misery.cpp:93:17: note: here 93 | case 21: | ^~~~ nxengine/ai/npc/misery.cpp: In function 'void ai_miserys_bubble(Object*)': nxengine/ai/npc/misery.cpp:147:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 147 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/npc/misery.cpp:151:17: note: here 151 | case 1: | ^~~~ nxengine/ai/npc/misery.cpp: In function 'void ai_misery_stand(Object*)': nxengine/ai/npc/misery.cpp:207:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 207 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/npc/misery.cpp:208:17: note: here 208 | case 1: | ^~~~ nxengine/ai/npc/misery.cpp:217:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 217 | o->flags |= FLAG_IGNORE_SOLID; nxengine/ai/npc/misery.cpp:218:17: note: here 218 | case 21: | ^~~~ nxengine/ai/npc/misery.cpp:230:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 230 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/misery.cpp:231:17: note: here 231 | case 26: | ^~~~ nxengine/ai/npc/misery.cpp:254:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 254 | o->frame = 2; | ~~~~~~~~~^~~ nxengine/ai/npc/misery.cpp:255:17: note: here 255 | case 31: | ^~~~ nxengine/ai/npc/misery.cpp:266:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 266 | o->frame = 4; | ~~~~~~~~~^~~ nxengine/ai/npc/misery.cpp:268:17: note: here 268 | case 41: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sand/curly_boss.o nxengine/ai/sand/curly_boss.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sand/puppy.o nxengine/ai/sand/puppy.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sand/sand.o nxengine/ai/sand/sand.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sand/toroko_frenzied.o nxengine/ai/sand/toroko_frenzied.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sym/smoke.o nxengine/ai/sym/smoke.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/sym/sym.o nxengine/ai/sym/sym.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/village/balrog_boss_running.o nxengine/ai/village/balrog_boss_running.cpp nxengine/ai/npc/npcplayer.cpp: In function 'void ai_npc_player(Object*)': nxengine/ai/npc/npcplayer.cpp:54:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 54 | o->state++; | ~~~~~~~~^~ nxengine/ai/npc/npcplayer.cpp:56:17: note: here 56 | case 11: | ^~~~ nxengine/ai/npc/npcplayer.cpp:77:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 77 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcplayer.cpp:79:17: note: here 79 | case 51: | ^~~~ nxengine/ai/npc/npcplayer.cpp:92:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | o->ymark = o->y; | ~~~~~~~~~^~~~~~ nxengine/ai/npc/npcplayer.cpp:94:17: note: here 94 | case 61: | ^~~~ nxengine/ai/npc/npcplayer.cpp:114:69: warning: this statement may fall through [-Wimplicit-fallthrough=] 114 | if ((player->equipmask & EQUIP_MIMIGA_MASK) || game.flags[1020]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ nxengine/ai/npc/npcplayer.cpp:117:17: note: here 117 | case 101: // falling a short dist | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/village/ma_pignon.o nxengine/ai/village/ma_pignon.cpp nxengine/ai/npc/npcplayer.cpp: In function 'void ai_ptelin(Object*)': nxengine/ai/npc/npcplayer.cpp:156:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 156 | if (game.curmap == STAGE_SAND) | ^~ nxengine/ai/npc/npcplayer.cpp:159:17: note: here 159 | case 1: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_jenka(Object*)': nxengine/ai/npc/npcregu.cpp:46:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 46 | case 0: o->state = 1; o->frame = 0; | ~~~~~~~~~^~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/village/village.o nxengine/ai/village/village.cpp nxengine/ai/npc/npcregu.cpp:47:17: note: here 47 | case 1: if (nx_random(0, 120) < 10) { o->state = 2; o->timer = 0; o->frame = 1; } break; | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_doctor(Object*)': nxengine/ai/npc/npcregu.cpp:61:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:62:17: note: here 62 | case 11: | ^~~~ nxengine/ai/npc/npcregu.cpp:72:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 72 | o->ymark = o->y - (32 << CSF); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ nxengine/ai/npc/npcregu.cpp:74:17: note: here 74 | case 21: | ^~~~ nxengine/ai/npc/npcregu.cpp:86:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 86 | o->state++; | ~~~~~~~~^~ nxengine/ai/npc/npcregu.cpp:88:17: note: here 88 | case 31: | ^~~~ nxengine/ai/npc/npcregu.cpp:99:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 99 | o->frame = 2; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:101:17: note: here 101 | case 41: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_toroko(Object*)': nxengine/ai/npc/npcregu.cpp:130:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 130 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:131:17: note: here 131 | case 4: | ^~~~ nxengine/ai/npc/npcregu.cpp:145:45: warning: this statement may fall through [-Wimplicit-fallthrough=] 145 | o->toro.left_ground = false; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ nxengine/ai/npc/npcregu.cpp:146:17: note: here 146 | case 7: | ^~~~ nxengine/ai/npc/npcregu.cpp:172:45: warning: this statement may fall through [-Wimplicit-fallthrough=] 172 | o->toro.left_ground = false; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ nxengine/ai/npc/npcregu.cpp:173:17: note: here 173 | case 9: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_toroko_teleport_in(Object*)': nxengine/ai/npc/npcregu.cpp:223:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 223 | o->flags &= ~FLAG_IGNORE_SOLID; // this is set in npc.tbl, but uh, why? nxengine/ai/npc/npcregu.cpp:225:17: note: here 225 | case 1: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_npc_sue(Object*)': nxengine/ai/npc/npcregu.cpp:285:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 285 | sound(SND_ENEMY_SQUEAK); | ~~~~~^~~~~~~~~~~~~~~~~~ nxengine/ai/npc/npcregu.cpp:286:17: note: here 286 | case 7: | ^~~~ In file included from nxengine/ai/npc/../../nx.h:38, from nxengine/ai/npc/../stdai.h:5, from nxengine/ai/npc/npcregu.cpp:2: nxengine/ai/npc/../../ai/ai.h:56:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 56 | #define XMOVE(SPD) { o->xinertia = (o->dir == RIGHT) ? (SPD) : -(SPD); } | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/npc/npcregu.cpp:300:25: note: in expansion of macro 'XMOVE' 300 | XMOVE(-0x400); | ^~~~~ nxengine/ai/npc/npcregu.cpp:301:17: note: here 301 | case 9: | ^~~~ nxengine/ai/npc/npcregu.cpp:318:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 318 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:319:17: note: here 319 | case 12: | ^~~~ nxengine/ai/npc/npcregu.cpp:335:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 335 | if (!o->sue.carried_by) | ^~ nxengine/ai/npc/npcregu.cpp:337:17: note: here 337 | case 14: // being carried--see aftermove routine | ^~~~ nxengine/ai/npc/npcregu.cpp:348:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 348 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:350:17: note: here 350 | case 16: | ^~~~ nxengine/ai/npc/npcregu.cpp:371:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 371 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:373:17: note: here 373 | case 21: | ^~~~ nxengine/ai/npc/npcregu.cpp:391:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 391 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:393:17: note: here 393 | case 31: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_sue_teleport_in(Object*)': nxengine/ai/npc/npcregu.cpp:452:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 452 | o->frame = 9; // her "hanging on a hook" frame | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:454:17: note: here 454 | case 1: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/blade.o nxengine/ai/weapons/blade.cpp nxengine/ai/npc/npcregu.cpp: In function 'void ai_king(Object*)': nxengine/ai/npc/npcregu.cpp:508:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 508 | o->yinertia = -0x400; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/npc/npcregu.cpp:509:17: note: here 509 | case 7: // he falls and is knocked out | ^~~~ nxengine/ai/npc/npcregu.cpp:525:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 525 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:526:17: note: here 526 | case 9: | ^~~~ nxengine/ai/npc/npcregu.cpp:534:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 534 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:535:17: note: here 535 | case 11: | ^~~~ nxengine/ai/npc/npcregu.cpp:558:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 558 | o->nxflags &= ~NXFLAG_FOLLOW_SLOPE; // necessary to keep him from going down slope... nxengine/ai/npc/npcregu.cpp:559:17: note: here 559 | case 31: | ^~~~ nxengine/ai/npc/npcregu.cpp:575:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 575 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:576:17: note: here 576 | case 41: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_professor_booster(Object*)': nxengine/ai/npc/npcregu.cpp:647:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 647 | o->nxflags |= NXFLAG_FOLLOW_SLOPE; nxengine/ai/npc/npcregu.cpp:648:17: note: here 648 | case 1: | ^~~~ nxengine/ai/npc/npcregu.cpp:663:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 663 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:665:17: note: here 665 | case 31: // teleporting-in animation | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_booster_falling(Object*)': nxengine/ai/npc/npcregu.cpp:724:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 724 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:726:17: note: here 726 | case 21: | ^~~~ nxengine/ai/npc/npcregu.cpp: In function 'void ai_npc_at_computer(Object*)': nxengine/ai/npc/npcregu.cpp:755:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 755 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/npc/npcregu.cpp:757:17: note: here 757 | case TYPING: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/bubbler.o nxengine/ai/weapons/bubbler.cpp nxengine/ai/oside/oside.cpp: In function 'void ai_night_spirit(Object*)': nxengine/ai/oside/oside.cpp:40:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 40 | o->ymark = o->y + (12 << CSF); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ nxengine/ai/oside/oside.cpp:42:17: note: here 42 | case NS_WAIT: | ^~~~ nxengine/ai/oside/oside.cpp: In function 'void ai_hoppy(Object*)': nxengine/ai/oside/oside.cpp:195:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 195 | o->nxflags |= NXFLAG_FOLLOW_SLOPE; nxengine/ai/oside/oside.cpp:197:17: note: here 197 | case 1: // wait for player... | ^~~~ nxengine/ai/oside/oside.cpp: In function 'void ai_sky_dragon(Object*)': nxengine/ai/oside/oside.cpp:298:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 298 | o->yinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/oside/oside.cpp:300:17: note: here 300 | case 11: | ^~~~ nxengine/ai/oside/oside.cpp: In function 'void ai_little_family(Object*)': nxengine/ai/oside/oside.cpp:357:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 357 | o->nxflags |= NXFLAG_FOLLOW_SLOPE; nxengine/ai/oside/oside.cpp:359:17: note: here 359 | case 1: | ^~~~ nxengine/ai/oside/oside.cpp:386:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 386 | o->timer = nx_random(16, 32); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ nxengine/ai/oside/oside.cpp:388:17: note: here 388 | case 11: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/fireball.o nxengine/ai/weapons/fireball.cpp nxengine/ai/plantation/plantation.cpp: In function 'void ai_orangebell_baby(Object*)': nxengine/ai/plantation/plantation.cpp:266:50: warning: left shift of negative value [-Wshift-negative-value] 266 | o->ymark2 = nx_random(-32<flags |= NXFLAG_FOLLOW_SLOPE; nxengine/ai/plantation/plantation.cpp:61:17: note: here 61 | case 1: | ^~~~ In file included from nxengine/ai/plantation/../../nx.h:38, from nxengine/ai/plantation/../stdai.h:5, from nxengine/ai/plantation/plantation.cpp:2: nxengine/ai/plantation/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:74:25: note: in expansion of macro 'FACEPLAYER' 74 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:76:17: note: here 76 | case 3: | ^~~~ nxengine/ai/plantation/plantation.cpp:93:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 93 | o->dir = (o->xinertia >= 0) ? RIGHT : LEFT; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:95:17: note: here 95 | case 5: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/snake.o nxengine/ai/weapons/snake.cpp nxengine/ai/sand/curly_boss.cpp: In function 'void ai_curly_boss(Object*)': nxengine/ai/sand/curly_boss.cpp:35:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 35 | o->flags &= ~FLAG_INVULNERABLE; nxengine/ai/sand/curly_boss.cpp:37:17: note: here 37 | case CURLYB_WAIT: | ^~~~ nxengine/ai/sand/curly_boss.cpp:50:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 50 | if (o->x > player->x) o->dir = LEFT; else o->dir = RIGHT; | ^~ nxengine/ai/sand/curly_boss.cpp:51:17: note: here 51 | case CURLYB_WALKING_PLAYER: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_midorin(Object*)': nxengine/ai/plantation/plantation.cpp:154:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 154 | o->xinertia = 0; | ~~~~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:156:17: note: here 156 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp:184:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 184 | o->dir = nx_random(0, 1) ? LEFT : RIGHT; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:186:17: note: here 186 | case 4: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_orangebell(Object*)': nxengine/ai/plantation/plantation.cpp:233:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 233 | } | ^ nxengine/ai/plantation/plantation.cpp:234:17: note: here 234 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_orangebell_baby(Object*)': nxengine/ai/plantation/plantation.cpp:268:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:270:17: note: here 270 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_gunfish(Object*)': nxengine/ai/plantation/plantation.cpp:350:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 350 | o->timer = nx_random(1, 50); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:352:17: note: here 352 | case 1: // desync | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_droll(Object*)': nxengine/ai/plantation/plantation.cpp:472:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 472 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:474:17: note: here 474 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp:488:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 488 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:490:17: note: here 490 | case 11: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_droll_guard(Object*)': nxengine/ai/plantation/plantation.cpp:581:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 581 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:583:17: note: here 583 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp:593:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 593 | o->state = 11; | ~~~~~~~~~^~~~ nxengine/ai/plantation/plantation.cpp:595:17: note: here 595 | case 11: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_mimiga_farmer(Object*)': nxengine/ai/plantation/plantation.cpp:648:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 648 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:650:17: note: here 650 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp:683:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 683 | o->dir = nx_random(0, 1); | ~~~~~~~^~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:685:17: note: here 685 | case 11: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_npc_itoh(Object*)': nxengine/ai/plantation/plantation.cpp:738:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 738 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:740:17: note: here 740 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp:760:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 760 | o->yinertia = -0x400; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/plantation/plantation.cpp:762:17: note: here 762 | case 21: | ^~~~ nxengine/ai/plantation/plantation.cpp:778:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 778 | o->state = 31; | ~~~~~~~~~^~~~ nxengine/ai/plantation/plantation.cpp:780:17: note: here 780 | case 31: | ^~~~ nxengine/ai/plantation/plantation.cpp:791:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 791 | o->frame = 2; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:793:17: note: here 793 | case 41: | ^~~~ nxengine/ai/plantation/plantation.cpp:817:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 817 | o->frame = 5; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:819:17: note: here 819 | case 51: | ^~~~ nxengine/ai/sand/puppy.cpp: In function 'void ai_puppy_bark(Object*)': nxengine/ai/sand/puppy.cpp:74:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | o->timer2 = 0; | ~~~~~~~~~~^~~ nxengine/ai/sand/puppy.cpp:75:17: note: here 75 | case 1: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_proximity_press_hoz(Object*)': nxengine/ai/plantation/plantation.cpp:892:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 892 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:894:17: note: here 894 | case 1: | ^~~~ nxengine/ai/sand/puppy.cpp: In function 'void ai_puppy_run(Object*)': nxengine/ai/sand/puppy.cpp:152:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 152 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/sand/puppy.cpp:153:17: note: here 153 | case 1: | ^~~~ nxengine/ai/sand/puppy.cpp:183:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 183 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/sand/puppy.cpp:184:17: note: here 184 | case 11: // running | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_rocket(Object*)': nxengine/ai/plantation/plantation.cpp:991:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 991 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:993:17: note: here 993 | case 11: | ^~~~ nxengine/ai/plantation/plantation.cpp:1020:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 1020 | sound(SND_BLOCK_DESTROY); | ~~~~~^~~~~~~~~~~~~~~~~~~ nxengine/ai/plantation/plantation.cpp:1022:17: note: here 1022 | case 13: | ^~~~ nxengine/ai/plantation/plantation.cpp: In function 'void ai_numahachi(Object*)': nxengine/ai/plantation/plantation.cpp:1119:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 1119 | o->state = 2; | ~~~~~~~~~^~~ nxengine/ai/plantation/plantation.cpp:1121:17: note: here 1121 | case 2: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/spur.o nxengine/ai/weapons/spur.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/weapons.o nxengine/ai/weapons/weapons.cpp nxengine/ai/sym/smoke.cpp: In function 'void SmokeBoomUp(Object*)': nxengine/ai/sym/smoke.cpp:139:58: warning: left shift of negative value [-Wshift-negative-value] 139 | CreateObject(o->CenterX() + nx_random(-16<CenterY() + nx_random(-16<flags &= ~(FLAG_SOLID_MUSHY | FLAG_SHOOTABLE | FLAG_INVULNERABLE | FLAG_IGNORE_SOLID); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/sand/sand.cpp:237:17: note: here 237 | case 1: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_sunstone(Object*)': nxengine/ai/sand/sand.cpp:339:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 339 | o->state++; | ~~~~~~~~^~ nxengine/ai/sand/sand.cpp:340:17: note: here 340 | case 11: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_crow(Object*)': nxengine/ai/sand/sand.cpp:384:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 384 | o->animtimer = nx_random(0, 4); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ nxengine/ai/sand/sand.cpp:386:17: note: here 386 | case 1: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_skullhead(Object*)': nxengine/ai/sand/sand.cpp:501:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 501 | o->timer = nx_random(-5, 0); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ nxengine/ai/sand/sand.cpp:503:17: note: here 503 | case 1: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_armadillo(Object*)': nxengine/ai/sand/sand.cpp:663:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 663 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/sand/sand.cpp:665:17: note: here 665 | case 1: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_skullstep(Object*)': nxengine/ai/sand/sand.cpp:703:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 703 | o->angle = 200; | ~~~~~~~~~^~~~~ nxengine/ai/sand/sand.cpp:705:17: note: here 705 | case 1: | ^~~~ nxengine/ai/village/balrog_boss_running.cpp: In function 'void ai_balrog_boss_running(Object*)': nxengine/ai/village/balrog_boss_running.cpp:41:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 41 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/village/balrog_boss_running.cpp:43:17: note: here 43 | case 1: | ^~~~ nxengine/ai/village/balrog_boss_running.cpp:59:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 59 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/village/balrog_boss_running.cpp:61:17: note: here 61 | case STATE_CHARGE+1: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_skeleton(Object*)': nxengine/ai/sand/sand.cpp:873:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 873 | o->state = 11; | ~~~~~~~~~^~~~ nxengine/ai/sand/sand.cpp:874:17: note: here 874 | case 11: | ^~~~ nxengine/ai/sand/sand.cpp:880:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 880 | if (o->state != 20) break; | ^~ nxengine/ai/sand/sand.cpp:882:17: note: here 882 | case 20: | ^~~~ nxengine/ai/sand/sand.cpp:890:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 890 | if (!o->shaketime) | ^~ nxengine/ai/sand/sand.cpp:899:17: note: here 899 | case 21: | ^~~~ nxengine/ai/sand/sand.cpp: In function 'void ai_curlys_mimigas(Object*)': nxengine/ai/sand/sand.cpp:958:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 958 | o->state = 3; | ~~~~~~~~~^~~ nxengine/ai/sand/sand.cpp:959:17: note: here 959 | case 3: // stand and blink | ^~~~ nxengine/ai/sand/sand.cpp:983:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/ai/sand/sand.cpp:985:17: note: here 985 | case 11: | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp: In function 'void ai_toroko_frenzied(Object*)': nxengine/ai/sand/toroko_frenzied.cpp:49:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 49 | o->flags &= ~(FLAG_SCRIPTONACTIVATE | FLAG_SHOOTABLE | FLAG_IGNORE_SOLID); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/sand/toroko_frenzied.cpp:50:17: note: here 50 | case 1: // wait a sec before morphing | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp:83:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 83 | o->xinertia = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/sand/toroko_frenzied.cpp:84:17: note: here 84 | case 11: | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp:103:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 103 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/sand/toroko_frenzied.cpp:104:17: note: here 104 | case 21: // preparing to jump | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp:30:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 30 | block->flags &= ~FLAG_INVULNERABLE; \ nxengine/ai/sand/toroko_frenzied.cpp:148:25: note: in expansion of macro 'SPAWNBLOCK' 148 | SPAWNBLOCK; | ^~~~~~~~~~ nxengine/ai/sand/toroko_frenzied.cpp:149:17: note: here 149 | case 51: | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp:167:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 167 | SmokeClouds(o, 8, 8, 8); | ~~~~~~~~~~~^~~~~~~~~~~~ nxengine/ai/sand/toroko_frenzied.cpp:168:17: note: here 168 | case 101: // wait till fall to ground | ^~~~ nxengine/ai/sand/toroko_frenzied.cpp:204:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 204 | sound(SND_TELEPORT); | ~~~~~^~~~~~~~~~~~~~ nxengine/ai/sand/toroko_frenzied.cpp:205:17: note: here 205 | case 141: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weapons/whimstar.o nxengine/ai/weapons/whimstar.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weed/balrog_boss_flying.o nxengine/ai/weed/balrog_boss_flying.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weed/frenzied_mimiga.o nxengine/ai/weed/frenzied_mimiga.cpp nxengine/ai/sand/toroko_frenzied.cpp: In function 'void ai_toroko_flower(Object*)': nxengine/ai/sand/toroko_frenzied.cpp:281:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | o->timer = o->frame = 0; | ~~~~~~~~~^~~~~~~~~~~~~~ nxengine/ai/sand/toroko_frenzied.cpp:282:17: note: here 282 | case 11: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_recharge(Object*)': nxengine/ai/sym/sym.cpp:466:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 466 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/village/ma_pignon.cpp: In function 'void ai_ma_pignon_rock(Object*)': nxengine/ai/village/ma_pignon.cpp:410:106: warning: left shift of negative value [-Wshift-negative-value] 410 | Object *smoke = CreateObject(o->CenterX() + nx_random(-12<dir == RIGHT) | ^~ nxengine/ai/sym/sym.cpp:563:17: note: here 563 | case 1: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_largedoor(Object*)': nxengine/ai/sym/sym.cpp:644:40: warning: this statement may fall through [-Wimplicit-fallthrough=] 644 | o->clip_enable = 1; | ~~~~~~~~~~~~~~~^~~ nxengine/ai/sym/sym.cpp:645:17: note: here 645 | case 11: | ^~~~ nxengine/ai/village/ma_pignon.cpp: In function 'void ai_ma_pignon(Object*)': nxengine/ai/village/ma_pignon.cpp:48:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 48 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/village/ma_pignon.cpp:50:17: note: here 50 | case 1: | ^~~~ nxengine/ai/village/ma_pignon.cpp:63:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 63 | o->flags |= FLAG_SHOOTABLE; nxengine/ai/village/ma_pignon.cpp:65:17: note: here 65 | case MP_BaseState: | ^~~~ nxengine/ai/village/ma_pignon.cpp:200:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 200 | quake(16); | ~~~~~^~~~ nxengine/ai/village/ma_pignon.cpp:202:17: note: here 202 | case MP_Hit_Wall+1: | ^~~~ In file included from nxengine/ai/village/../../nx.h:38, from nxengine/ai/village/../stdai.h:5, from nxengine/ai/village/ma_pignon.cpp:2: nxengine/ai/village/../../ai/ai.h:32:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 32 | o->dir = (o->CenterX() > player->CenterX()) ? LEFT:RIGHT; \ | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/village/ma_pignon.cpp:231:25: note: in expansion of macro 'FACEPLAYER' 231 | FACEPLAYER; | ^~~~~~~~~~ nxengine/ai/village/ma_pignon.cpp:233:17: note: here 233 | case MP_CloneAttack+1: // walk at player before attack | ^~~~ nxengine/ai/village/ma_pignon.cpp:281:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | quake(10); | ~~~~~^~~~ nxengine/ai/village/ma_pignon.cpp:283:17: note: here 283 | case MP_Spawn_Clones+1: | ^~~~ nxengine/ai/village/ma_pignon.cpp:311:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 311 | o->damage = 0; | ~~~~~~~~~~^~~ nxengine/ai/village/ma_pignon.cpp:313:17: note: here 313 | case MP_Defeated+1: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_fan_droplet(Object*)': nxengine/ai/sym/sym.cpp:840:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 840 | o->yinertia *= nx_random((2 << CSF), (4 << CSF)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/sym/sym.cpp:841:17: note: here 841 | case 1: | ^~~~ nxengine/ai/village/ma_pignon.cpp: In function 'void ai_ma_pignon_rock(Object*)': nxengine/ai/village/ma_pignon.cpp:387:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 387 | o->damage = 10; | ~~~~~~~~~~^~~~ nxengine/ai/village/ma_pignon.cpp:389:17: note: here 389 | case 1: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_chinfish(Object*)': nxengine/ai/sym/sym.cpp:947:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 947 | o->yinertia = 0x88; | ~~~~~~~~~~~~^~~~~~ nxengine/ai/sym/sym.cpp:948:17: note: here 948 | case 1: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_fireplace(Object*)': nxengine/ai/sym/sym.cpp:965:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 965 | o->invisible = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/sym/sym.cpp:966:17: note: here 966 | case 1: | ^~~~ nxengine/ai/sym/sym.cpp:973:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 973 | SmokeClouds(o, 8, 16, 16); | ~~~~~~~~~~~^~~~~~~~~~~~~~ nxengine/ai/sym/sym.cpp:974:17: note: here 974 | case 11: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_straining(Object*)': nxengine/ai/sym/sym.cpp:998:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 998 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/sym/sym.cpp:1000:17: note: here 1000 | case 1: | ^~~~ nxengine/ai/sym/sym.cpp: In function 'void ai_scroll_controller(Object*)': nxengine/ai/sym/sym.cpp:1078:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 1078 | if (o->dirparam == 0) | ^~ nxengine/ai/sym/sym.cpp:1103:17: note: here 1103 | case 101: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ai/weed/weed.o nxengine/ai/weed/weed.cpp nxengine/ai/village/village.cpp: In function 'void ai_toroko_shack(Object*)': nxengine/ai/village/village.cpp:34:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 34 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/village/village.cpp:35:17: note: here 35 | case 1: | ^~~~ nxengine/ai/village/village.cpp:57:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 57 | o->state = 3; | ~~~~~~~~~^~~ nxengine/ai/village/village.cpp:58:17: note: here 58 | case 3: | ^~~~ nxengine/ai/village/village.cpp: In function 'void ai_mushroom_enemy(Object*)': nxengine/ai/village/village.cpp:128:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 128 | o->state = STANDING; | ~~~~~~~~~^~~~~~~~~~ nxengine/ai/village/village.cpp:129:17: note: here 129 | case STANDING: // stand around | ^~~~ nxengine/ai/village/village.cpp:166:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 166 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/village/village.cpp:167:17: note: here 167 | case WALKING+1: | ^~~~ nxengine/ai/village/village.cpp: In function 'void ai_gravekeeper(Object*)': nxengine/ai/village/village.cpp:217:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 217 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/village/village.cpp:218:17: note: here 218 | case 1: | ^~~~ nxengine/ai/weapons/missile.cpp: In function 'void ai_missile_shot(Object*)': nxengine/ai/weapons/missile.cpp:143:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 143 | if (o->state != STATE_RECOIL_OVER) | ^~ nxengine/ai/weapons/missile.cpp:146:17: note: here 146 | case STATE_RECOIL_OVER: | ^~~~ nxengine/ai/weapons/missile.cpp:154:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 154 | if (o->state != STATE_MISSILE_CAN_EXPLODE) | ^~ nxengine/ai/weapons/missile.cpp:157:17: note: here 157 | case STATE_MISSILE_CAN_EXPLODE: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/BList.o nxengine/common/BList.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/DBuffer.o nxengine/common/DBuffer.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/DString.o nxengine/common/DString.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/InitList.o nxengine/common/InitList.cpp nxengine/ai/weed/balrog_boss_flying.cpp: In function 'void ai_balrog_boss_flying(Object*)': nxengine/ai/weed/balrog_boss_flying.cpp:38:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 38 | o->timer = 0; | ~~~~~~~~~^~~ nxengine/ai/weed/balrog_boss_flying.cpp:39:17: note: here 39 | case WAIT_BEGIN: // wait at start of battle | ^~~~ nxengine/ai/weed/frenzied_mimiga.cpp: In function 'void ai_frenzied_mimiga(Object*)': nxengine/ai/weed/frenzied_mimiga.cpp:28:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 28 | o->timer2 = 0; | ~~~~~~~~~~^~~ nxengine/ai/weed/frenzied_mimiga.cpp:29:17: note: here 29 | case 1: | ^~~~ nxengine/ai/weed/frenzied_mimiga.cpp:127:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 127 | o->yinertia = -0x200; | ~~~~~~~~~~~~^~~~~~~~ nxengine/ai/weed/frenzied_mimiga.cpp:129:17: note: here 129 | case 51: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/StringList.o nxengine/common/StringList.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/endgame/credits.o nxengine/endgame/credits.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/endgame/CredReader.o nxengine/endgame/CredReader.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/endgame/island.o nxengine/endgame/island.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/endgame/endgame_misc.o nxengine/endgame/endgame_misc.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/graphics/graphics.o nxengine/graphics/graphics.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/graphics/nxsurface.o nxengine/graphics/nxsurface.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/graphics/font.o nxengine/graphics/font.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/graphics/sprites.o nxengine/graphics/sprites.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/graphics/tileset.o nxengine/graphics/tileset.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/intro/intro.o nxengine/intro/intro.cpp nxengine/ai/weed/weed.cpp: In function 'void ai_bat_hang(Object*)': nxengine/ai/weed/weed.cpp:245:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 245 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/weed/weed.cpp:246:17: note: here 246 | case 1: // hanging and waiting | ^~~~ nxengine/ai/weed/weed.cpp: In function 'void ai_bat_circle(Object*)': nxengine/ai/weed/weed.cpp:334:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 334 | o->ymark = (o->y + (sin_table[angle] * 8)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nxengine/ai/weed/weed.cpp:336:17: note: here 336 | case 1: | ^~~~ nxengine/ai/weed/weed.cpp: In function 'void ai_jelly(Object*)': nxengine/ai/weed/weed.cpp:389:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 389 | o->state = 1; | ~~~~~~~~~^~~ nxengine/ai/weed/weed.cpp:391:17: note: here 391 | case 1: | ^~~~ nxengine/ai/weed/weed.cpp: In function 'void ai_frog(Object*)': nxengine/ai/weed/weed.cpp:645:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 645 | if (o->dir != LEFT && o->dir != RIGHT) | ^~ nxengine/ai/weed/weed.cpp:659:17: note: here 659 | case 1: // standing | ^~~~ In file included from nxengine/common/StringList.cpp:5: nxengine/common/StringList.h: In copy constructor 'StringList::StringList(const StringList&)': nxengine/common/StringList.h:12:9: warning: base class 'class BList' should be explicitly initialized in the copy constructor [-Wextra] 12 | StringList(const StringList &other) | ^~~~~~~~~~ nxengine/ai/weed/weed.cpp: In function 'void ai_motorbike(Object*)': nxengine/ai/weed/weed.cpp:792:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 792 | o->ymark = o->y; | ~~~~~~~~~^~~~~~ nxengine/ai/weed/weed.cpp:794:17: note: here 794 | case 21: | ^~~~ nxengine/ai/weed/weed.cpp:812:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 812 | sound(SND_MISSILE_HIT); | ~~~~~^~~~~~~~~~~~~~~~~ nxengine/ai/weed/weed.cpp:814:17: note: here 814 | case 31: | ^~~~ nxengine/ai/weed/weed.cpp:832:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 832 | o->xinertia = -0x1000; // ...and fly fast | ~~~~~~~~~~~~^~~~~~~~~ nxengine/ai/weed/weed.cpp:834:17: note: here 834 | case 41: | ^~~~ nxengine/ai/weed/weed.cpp: In function 'void ai_malco(Object*)': nxengine/ai/weed/weed.cpp:879:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 879 | SmokeClouds(o, 4, 16, 16); | ~~~~~~~~~~~^~~~~~~~~~~~~~ nxengine/ai/weed/weed.cpp:880:17: note: here 880 | case 11: // beeping and eyes flickering | ^~~~ nxengine/ai/weed/weed.cpp:914:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 914 | SmokeClouds(o, 4, 16, 16); | ~~~~~~~~~~~^~~~~~~~~~~~~~ nxengine/ai/weed/weed.cpp:915:17: note: here 915 | case 17: | ^~~~ nxengine/ai/weed/weed.cpp:926:54: warning: this statement may fall through [-Wimplicit-fallthrough=] 926 | o->animtimer = 999; o->frame = 9; | ~~~~~~~~~^~~ nxengine/ai/weed/weed.cpp:927:17: note: here 927 | case 19: | ^~~~ nxengine/ai/weed/weed.cpp:957:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 957 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/ai/weed/weed.cpp:959:17: note: here 959 | case 101: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/intro/title.o nxengine/intro/title.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/pause/dialog.o nxengine/pause/dialog.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/pause/message.o nxengine/pause/message.cpp nxengine/endgame/CredReader.cpp: In member function 'bool CredReader::ReadCommand(CredCommand*)': nxengine/endgame/CredReader.cpp:57:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 57 | for(i=0;itext)-1;i++) | ~^~~~~~~~~~~~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/pause/objects.o nxengine/pause/objects.cpp In file included from nxengine/graphics/sprites.cpp:10: nxengine/graphics/../common/StringList.h: In copy constructor 'StringList::StringList(const StringList&)': nxengine/graphics/../common/StringList.h:12:9: warning: base class 'class BList' should be explicitly initialized in the copy constructor [-Wextra] 12 | StringList(const StringList &other) | ^~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/pause/options.o nxengine/pause/options.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/pause/pause.o nxengine/pause/pause.cpp nxengine/endgame/endgame_misc.cpp: In function 'void ai_balrog_flying(Object*)': nxengine/endgame/endgame_misc.cpp:111:89: warning: this statement may fall through [-Wimplicit-fallthrough=] 111 | CreateObject(0, 0, OBJ_BALROG_PASSENGER, 0, 0, RIGHT, o)->state = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:113:17: note: here 113 | case 1: | ^~~~ nxengine/endgame/endgame_misc.cpp:126:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 126 | o->yinertia = 0x200; | ~~~~~~~~~~~~^~~~~~~ nxengine/endgame/endgame_misc.cpp:128:17: note: here 128 | case 21: | ^~~~ nxengine/endgame/endgame_misc.cpp: In function 'void ai_gaudi_patient(Object*)': nxengine/endgame/endgame_misc.cpp:234:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 234 | o->frame = 2; | ~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:236:17: note: here 236 | case 21: | ^~~~ nxengine/endgame/endgame_misc.cpp: In function 'void ai_baby_puppy(Object*)': nxengine/endgame/endgame_misc.cpp:255:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 255 | o->state = 1; | ~~~~~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:257:17: note: here 257 | case 1: | ^~~~ nxengine/endgame/endgame_misc.cpp: In function 'void ai_turning_human(Object*)': nxengine/endgame/endgame_misc.cpp:281:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | o->state = 1; | ~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:283:17: note: here 283 | case 1: | ^~~~ nxengine/endgame/endgame_misc.cpp:367:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 367 | o->frame = 0; | ~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:369:17: note: here 369 | case 51: // ..and blink | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro.o nxengine/libretro/libretro.cpp nxengine/endgame/endgame_misc.cpp: In function 'void ai_the_cast(Object*)': nxengine/endgame/endgame_misc.cpp:527:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 527 | o->state = 1; | ~~~~~~~~~^~~ nxengine/endgame/endgame_misc.cpp:529:17: note: here 529 | case 1: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/main.o nxengine/main.cpp nxengine/intro/intro.cpp: In function 'void ai_intro_crown(Object*)': nxengine/intro/intro.cpp:105:59: warning: left shift of negative value [-Wshift-negative-value] 105 | effect(o->x + nx_random(-8<dir == LEFT) | ^~ nxengine/intro/intro.cpp:78:7: note: here 78 | case 1: | ^~~~ nxengine/intro/intro.cpp: In function 'void ai_intro_crown(Object*)': nxengine/intro/intro.cpp:101:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 101 | o->state = 1; | ~~~~~~~~~^~~ nxengine/intro/intro.cpp:102:17: note: here 102 | case 1: | ^~~~ nxengine/intro/intro.cpp: In function 'void ai_intro_doctor(Object*)': nxengine/intro/intro.cpp:120:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | o->state = 1; | ~~~~~~~~~^~~ nxengine/intro/intro.cpp:121:7: note: here 121 | case 1: | ^~~~ nxengine/intro/intro.cpp:129:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 129 | o->timer2 = 0; | ~~~~~~~~~~^~~ nxengine/intro/intro.cpp:130:7: note: here 130 | case 11: | ^~~~ nxengine/intro/intro.cpp:143:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 143 | o->animtimer = 0; | ~~~~~~~~~~~~~^~~ nxengine/intro/intro.cpp:144:7: note: here 144 | case 21: | ^~~~ nxengine/intro/intro.cpp:158:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 158 | o->timer2 = 0; | ~~~~~~~~~~^~~ nxengine/intro/intro.cpp:159:7: note: here 159 | case 41: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/siflib/sectSprites.o nxengine/siflib/sectSprites.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/siflib/sectStringArray.o nxengine/siflib/sectStringArray.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/siflib/sif.o nxengine/siflib/sif.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/siflib/sifloader.o nxengine/siflib/sifloader.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sound/org.o nxengine/sound/org.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sound/pxt.o nxengine/sound/pxt.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sound/sound.o nxengine/sound/sound.cpp In file included from nxengine/pause/../nx.h:15, from nxengine/pause/dialog.cpp:2: nxengine/pause/../common/BList.h:18:32: warning: 'virtual BList& BList::operator=(const BList&)' was hidden [-Woverloaded-virtual=] 18 | virtual BList& operator =(const BList &); | ^~~~~~~~ In file included from nxengine/pause/dialog.h:6, from nxengine/pause/dialog.cpp:3: nxengine/pause/options.h:20:15: note: by 'Options::FocusStack::operator=' 20 | class FocusStack : public BList | ^~~~~~~~~~ nxengine/siflib/sifloader.cpp:66:32: warning: multi-character character constant [-Wmultichar] 66 | if ((magick = cgetl(fp)) != SIF_MAGICK) | ^~~~~~~~~~ nxengine/siflib/sifloader.cpp:69:46: warning: multi-character character constant [-Wmultichar] 69 | NX_ERR(" (expected %08x, got %08x)\n", SIF_MAGICK, magick); | ^~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/TextBox/ItemImage.o nxengine/TextBox/ItemImage.cpp In file included from nxengine/pause/../nx.h:15, from nxengine/pause/message.cpp:2: nxengine/pause/../common/BList.h:18:32: warning: 'virtual BList& BList::operator=(const BList&)' was hidden [-Woverloaded-virtual=] 18 | virtual BList& operator =(const BList &); | ^~~~~~~~ In file included from nxengine/pause/message.h:5, from nxengine/pause/message.cpp:3: nxengine/pause/options.h:20:15: note: by 'Options::FocusStack::operator=' 20 | class FocusStack : public BList | ^~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/TextBox/SaveSelect.o nxengine/TextBox/SaveSelect.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/TextBox/StageSelect.o nxengine/TextBox/StageSelect.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/TextBox/TextBox.o nxengine/TextBox/TextBox.cpp In file included from nxengine/pause/../nx.h:15, from nxengine/pause/objects.cpp:4: nxengine/pause/../common/BList.h:18:32: warning: 'virtual BList& BList::operator=(const BList&)' was hidden [-Woverloaded-virtual=] 18 | virtual BList& operator =(const BList &); | ^~~~~~~~ In file included from nxengine/pause/objects.cpp:6: nxengine/pause/options.h:20:15: note: by 'Options::FocusStack::operator=' 20 | class FocusStack : public BList | ^~~~~~~~~~ nxengine/pause/objects.cpp: In function 'void ai_oc_controller(Object*)': nxengine/pause/objects.cpp:123:33: warning: left shift of negative value [-Wshift-negative-value] 123 | create_object(-16<sprite = SPR_IKACHAN; nxengine/pause/objects.cpp:209:17: note: here 209 | case 1: // he pushes ahead | ^~~~ nxengine/pause/objects.cpp: In function 'void ai_oc_quote(Object*)': nxengine/pause/objects.cpp:154:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 154 | o->state = 21; | ~~~~~~~~~^~~~ nxengine/pause/objects.cpp:156:7: note: here 156 | case 21: | ^~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/autogen/AssignSprites.o nxengine/autogen/AssignSprites.cpp In file included from nxengine/pause/../nx.h:15, from nxengine/pause/options.cpp:2: nxengine/pause/../common/BList.h:18:32: warning: 'virtual BList& BList::operator=(const BList&)' was hidden [-Woverloaded-virtual=] 18 | virtual BList& operator =(const BList &); | ^~~~~~~~ In file included from nxengine/pause/options.cpp:3: nxengine/pause/options.h:20:15: note: by 'Options::FocusStack::operator=' 20 | class FocusStack : public BList | ^~~~~~~~~~ nxengine/libretro/libretro.cpp:36:17: warning: 'libretro_supports_bitmasks' initialized and declared 'extern' 36 | extern "C" bool libretro_supports_bitmasks = false; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nxengine/siflib/sectStringArray.cpp:10: nxengine/siflib/../common/StringList.h: In copy constructor 'StringList::StringList(const StringList&)': nxengine/siflib/../common/StringList.h:12:9: warning: base class 'class BList' should be explicitly initialized in the copy constructor [-Wextra] 12 | StringList(const StringList &other) | ^~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/autogen/objnames.o nxengine/autogen/objnames.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/caret.o nxengine/caret.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/floattext.o nxengine/floattext.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/game.o nxengine/game.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/inventory.o nxengine/inventory.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/map.o nxengine/map.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/map_system.o nxengine/map_system.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/object.o nxengine/object.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/ObjManager.o nxengine/ObjManager.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/p_arms.o nxengine/p_arms.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/player.o nxengine/player.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/playerstats.o nxengine/playerstats.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/screeneffect.o nxengine/screeneffect.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/settings.o nxengine/settings.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/slope.o nxengine/slope.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/stageboss.o nxengine/stageboss.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/statusbar.o nxengine/statusbar.cpp In file included from nxengine/nx.h:15, from nxengine/game.cpp:2: nxengine/common/BList.h:18:32: warning: 'virtual BList& BList::operator=(const BList&)' was hidden [-Woverloaded-virtual=] 18 | virtual BList& operator =(const BList &); | ^~~~~~~~ In file included from nxengine/game.cpp:8: nxengine/pause/options.h:20:15: note: by 'Options::FocusStack::operator=' 20 | class FocusStack : public BList | ^~~~~~~~~~ g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/trig.o nxengine/trig.cpp g++ -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/tsc.o nxengine/tsc.cpp nxengine/map.cpp: In function 'bool load_stage(int)': nxengine/map.cpp:68:37: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare] 68 | if (tsc_load(fname, SP_MAP) == -1) return 1; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sdl/SDL_error.o nxengine/sdl/SDL_error.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sdl/file/SDL_rwops.o nxengine/sdl/file/SDL_rwops.c nxengine/p_arms.cpp:79:1: warning: missing initializer for member 'BulletInfo::manualsetup' [-Wmissing-field-initializers] 79 | }; | ^ nxengine/p_arms.cpp:79:1: warning: missing initializer for member 'BulletInfo::sound' [-Wmissing-field-initializers] gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sdl/video/SDL_blit.o nxengine/sdl/video/SDL_blit.c nxengine/p_arms.cpp: In function 'void PFirePolarStar(int)': nxengine/p_arms.cpp:396:42: warning: left shift of negative value [-Wshift-negative-value] 396 | if (level == 2) xoff = -5<> 1); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:199:9: note: here 199 | case 3: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:507:19: note: in expansion of macro 'SDL_memset4' 507 | SDL_memset4(pixels, cc, n >> 1); | ^~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/file/file_path.o nxengine/libretro/libretro-common/file/file_path.c nxengine/sdl/include/LRSDL_stdinc.h:199:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 199 | case 3: *_p++ = _val; \ | ~~~~~~^~~~~~ nxengine/sdl/video/SDL_surface.c:507:19: note: in expansion of macro 'SDL_memset4' 507 | SDL_memset4(pixels, cc, n >> 1); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:200:9: note: here 200 | case 2: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:507:19: note: in expansion of macro 'SDL_memset4' 507 | SDL_memset4(pixels, cc, n >> 1); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:200:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 200 | case 2: *_p++ = _val; \ | ~~~~~~^~~~~~ nxengine/sdl/video/SDL_surface.c:507:19: note: in expansion of macro 'SDL_memset4' 507 | SDL_memset4(pixels, cc, n >> 1); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:201:9: note: here 201 | case 1: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:507:19: note: in expansion of macro 'SDL_memset4' 507 | SDL_memset4(pixels, cc, n >> 1); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:198:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 198 | case 0: do { *_p++ = _val; \ | ~~~~~~^~~~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:199:9: note: here 199 | case 3: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:199:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 199 | case 3: *_p++ = _val; \ | ~~~~~~^~~~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:200:9: note: here 200 | case 2: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:200:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 200 | case 2: *_p++ = _val; \ | ~~~~~~^~~~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ nxengine/sdl/include/LRSDL_stdinc.h:201:9: note: here 201 | case 1: *_p++ = _val; \ | ^~~~ nxengine/sdl/video/SDL_surface.c:534:16: note: in expansion of macro 'SDL_memset4' 534 | SDL_memset4(row, color, dstrect->w); | ^~~~~~~~~~~ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/file/file_path_io.o nxengine/libretro/libretro-common/file/file_path_io.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/encodings/encoding_utf.o nxengine/libretro/libretro-common/encodings/encoding_utf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/compat/compat_strl.o nxengine/libretro/libretro-common/compat/compat_strl.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/compat/compat_snprintf.o nxengine/libretro/libretro-common/compat/compat_snprintf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/compat/compat_posix_string.o nxengine/libretro/libretro-common/compat/compat_posix_string.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/string/stdstring.o nxengine/libretro/libretro-common/string/stdstring.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/time/rtime.o nxengine/libretro/libretro-common/time/rtime.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro-common/vfs/vfs_implementation.o nxengine/libretro/libretro-common/vfs/vfs_implementation.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/misc.o nxengine/common/misc.c nxengine/libretro/libretro-common/string/stdstring.c: In function 'word_wrap': nxengine/libretro/libretro-common/string/stdstring.c:204:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 204 | if (src_len < line_width) | ^ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/common/bufio.o nxengine/common/bufio.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/extract-auto/cachefiles.o nxengine/extract-auto/cachefiles.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/extract-auto/extractorg.o nxengine/extract-auto/extractorg.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/extract-auto/extractpxt.o nxengine/extract-auto/extractpxt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/extract-auto/extractstages.o nxengine/extract-auto/extractstages.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/libretro/libretro_shared.o nxengine/libretro/libretro_shared.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/sound/sslib.o nxengine/sound/sslib.c nxengine/graphics/font.cpp: In member function 'bool NXFont::InitChars(SDL_Surface*, uint32_t)': nxengine/graphics/font.cpp:153:34: warning: missing initializer for member 'SDL_Rect::y' [-Wmissing-field-initializers] 153 | SDL_Rect src = {0}; | ^ nxengine/graphics/font.cpp:153:34: warning: missing initializer for member 'SDL_Rect::w' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:153:34: warning: missing initializer for member 'SDL_Rect::h' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:160:34: warning: missing initializer for member 'SDL_Rect::y' [-Wmissing-field-initializers] 160 | SDL_Rect dst = {0}; | ^ nxengine/graphics/font.cpp:160:34: warning: missing initializer for member 'SDL_Rect::w' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:160:34: warning: missing initializer for member 'SDL_Rect::h' [-Wmissing-field-initializers] gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/niku.o nxengine/niku.c nxengine/graphics/font.cpp: In member function 'bool NXFont::InitCharsShadowed(SDL_Surface*, uint32_t, uint32_t)': nxengine/graphics/font.cpp:209:34: warning: missing initializer for member 'SDL_Rect::y' [-Wmissing-field-initializers] 209 | SDL_Rect src = {0}; | ^ nxengine/graphics/font.cpp:209:34: warning: missing initializer for member 'SDL_Rect::w' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:209:34: warning: missing initializer for member 'SDL_Rect::h' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:215:34: warning: missing initializer for member 'SDL_Rect::y' [-Wmissing-field-initializers] 215 | SDL_Rect dst = {0}; | ^ nxengine/graphics/font.cpp:215:34: warning: missing initializer for member 'SDL_Rect::w' [-Wmissing-field-initializers] nxengine/graphics/font.cpp:215:34: warning: missing initializer for member 'SDL_Rect::h' [-Wmissing-field-initializers] gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/input.o nxengine/input.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/stagedata.o nxengine/stagedata.c nxengine/extract-auto/extractorg.c: In function 'extract_org_free': nxengine/extract-auto/extractorg.c:133:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 133 | for (i = 0; i < sizeof(org_data) / sizeof(org_data[0]); i++) | ^ gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GNU_SOURCE=1 -O2 -DNDEBUG -DRELEASE_BUILD -DFRONTEND_SUPPORTS_RGB565 -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE="inline" -Wall -W -Wno-unused-parameter -fPIC -Inxengine -Inxengine/graphics -Inxengine/libretro -Inxengine/libretro/libretro-common/include -Inxengine/sdl/include -c -onxengine/profile.o nxengine/profile.c nxengine/extract-auto/extractpxt.c:41:1: warning: missing braces around initializer [-Wmissing-braces] 41 | { | ^ nxengine/extract-auto/extractpxt.c:73:1: warning: missing braces around initializer [-Wmissing-braces] 73 | { | ^ 74 | 0x01, 1, 0x0907b0, | { } 75 | 0x02, 1, 0x0909e0, | { } 76 | 0x03, 1, 0x0934c0, | { } 77 | 0x04, 1, 0x090890, | { } 78 | 0x05, 1, 0x090660, | { } 79 | 0x06, 1, 0x093530, | { } 80 | 0x07, 1, 0x0935a0, | { } 81 | 0x0b, 1, 0x090740, | { } 82 | 0x0c, 2, 0x090c80, | { } 83 | 0x0e, 1, 0x090a50, | { } 84 | 0x0f, 1, 0x08fbe0, | { } 85 | 0x10, 2, 0x090350, | { } 86 | 0x11, 3, 0x090430, | { } 87 | 0x12, 1, 0x090820, | { } 88 | 0x14, 2, 0x090900, | { } 89 | 0x15, 1, 0x090c10, | { } 90 | 0x16, 1, 0x0906d0, | { } 91 | 0x17, 1, 0x08fcc0, | { } 92 | 0x18, 1, 0x08fc50, | { } 93 | 0x19, 2, 0x090d60, | { } 94 | 0x1a, 2, 0x090b30, | { } 95 | 0x1b, 1, 0x090e40, | { } 96 | 0x1c, 2, 0x0910e0, | { } 97 | 0x1d, 1, 0x0911c0, | { } 98 | 0x1e, 1, 0x091ee0, | { } 99 | 0x1f, 1, 0x091310, | { } 100 | 0x20, 2, 0x08f940, | { } 101 | 0x21, 2, 0x08fa20, | { } 102 | 0x22, 2, 0x08fb00, | { } 103 | 0x23, 3, 0x090eb0, | { } 104 | 0x25, 2, 0x092810, | { } 105 | 0x26, 2, 0x091230, | { } 106 | 0x27, 3, 0x091000, | { } 107 | 0x28, 2, 0x092730, | { } 108 | 0x29, 2, 0x092730, | { } 109 | 0x2a, 1, 0x091380, | { } 110 | 0x2b, 1, 0x0913f0, | { } 111 | 0x2c, 3, 0x091460, | { } 112 | 0x2d, 1, 0x0915b0, | { } 113 | 0x2e, 1, 0x091620, | { } 114 | 0x2f, 1, 0x091700, | { } 115 | 0x30, 1, 0x091770, | { } 116 | 0x31, 2, 0x0917e0, | { } 117 | 0x32, 2, 0x08fd30, | { } 118 | 0x33, 2, 0x08fe10, | { } 119 | 0x34, 2, 0x08fef0, | { } 120 | 0x35, 2, 0x090580, | { } 121 | 0x36, 2, 0x091a80, | { } 122 | 0x37, 2, 0x092ea0, | { } 123 | 0x38, 2, 0x092650, | { } 124 | 0x39, 2, 0x0928f0, | { } 125 | 0x3a, 2, 0x092dc0, | { } 126 | 0x3b, 1, 0x093060, | { } 127 | 0x3c, 1, 0x0930d0, | { } 128 | 0x3d, 1, 0x093140, | { } 129 | 0x3e, 2, 0x0931b0, | { } 130 | 0x3f, 2, 0x093290, | { } 131 | 0x40, 2, 0x093370, | { } 132 | 0x41, 1, 0x093450, | { } 133 | 0x46, 2, 0x08ffd0, | { } 134 | 0x47, 2, 0x0900b0, | { } 135 | 0x48, 2, 0x090190, | { } 136 | 0x64, 1, 0x0918c0, | { } 137 | 0x65, 3, 0x091930, | { } 138 | 0x66, 2, 0x091b60, | { } 139 | 0x67, 2, 0x091c40, | { } 140 | 0x68, 1, 0x091cb0, | { } 141 | 0x68, 1, 0x092c00, | { } 142 | 0x69, 1, 0x091d20, | { } 143 | 0x6a, 2, 0x091d90, | { } 144 | 0x6b, 1, 0x091e70, | { } 145 | 0x6c, 1, 0x091f50, | { } 146 | 0x6d, 1, 0x091fc0, | { } 147 | 0x6e, 1, 0x092030, | { } 148 | 0x6f, 1, 0x0920a0, | { } 149 | 0x70, 1, 0x092110, | { } 150 | 0x71, 1, 0x092180, | { } 151 | 0x72, 2, 0x0921f0, | { } 152 | 0x73, 3, 0x092ab0, | { } 153 | 0x74, 3, 0x092c70, | { } 154 | 0x75, 2, 0x092f80, | { } 155 | 0x96, 2, 0x0922d0, | { } 156 | 0x97, 2, 0x0923b0, | { } 157 | 0x98, 1, 0x092490, | { } 158 | 0x99, 1, 0x092500, | { } 159 | 0x9a, 2, 0x092570, | { } 160 | 0x9b, 2, 0x0929d0, | { } 161 | 0, 0, 0 | { 162 | }; | } nxengine/extract-auto/extractpxt.c: In function 'extract_pxt': nxengine/extract-auto/extractpxt.c:178:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 178 | for (i = 0; i < sizeof(snd) / sizeof(snd[0]); i++) | ^ nxengine/extract-auto/cachefiles.c: In function 'cachefiles_init': nxengine/extract-auto/cachefiles.c:508:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 508 | entry = (struct hash_struct *) calloc(sizeof(struct hash_struct), 1); | ^~~~~~ nxengine/extract-auto/cachefiles.c:508:52: note: earlier argument should specify number of elements, later size of each element nxengine/extract-auto/cachefiles.c:554:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 554 | entry = (struct hash_struct *) calloc(sizeof(struct hash_struct), 1); | ^~~~~~ nxengine/extract-auto/cachefiles.c:554:52: note: earlier argument should specify number of elements, later size of each element g++ -fPIC -shared -Wl,--version-script=nxengine/libretro/link.T -Wl,-no-undefined -Wl,--as-needed,-O1,--sort-common -o nxengine_libretro.so nxengine/ai/ai.o nxengine/ai/balrog_common.o nxengine/ai/IrregularBBox.o nxengine/ai/almond/almond.o nxengine/ai/boss/balfrog.o nxengine/ai/boss/ballos.o nxengine/ai/boss/core.o nxengine/ai/boss/heavypress.o nxengine/ai/boss/ironhead.o nxengine/ai/boss/omega.o nxengine/ai/boss/sisters.o nxengine/ai/boss/undead_core.o nxengine/ai/boss/x.o nxengine/ai/egg/egg.o nxengine/ai/egg/egg2.o nxengine/ai/egg/igor.o nxengine/ai/final_battle/balcony.o nxengine/ai/final_battle/doctor.o nxengine/ai/final_battle/doctor_common.o nxengine/ai/final_battle/doctor_frenzied.o nxengine/ai/final_battle/final_misc.o nxengine/ai/final_battle/misery_finalbattle.o nxengine/ai/final_battle/sidekicks.o nxengine/ai/first_cave/first_cave.o nxengine/ai/hell/ballos_misc.o nxengine/ai/hell/ballos_priest.o nxengine/ai/hell/hell.o nxengine/ai/last_cave/last_cave.o nxengine/ai/maze/balrog_boss_missiles.o nxengine/ai/maze/critter_purple.o nxengine/ai/maze/gaudi.o nxengine/ai/maze/labyrinth_m.o nxengine/ai/maze/pooh_black.o nxengine/ai/maze/maze.o nxengine/ai/npc/balrog.o nxengine/ai/npc/curly.o nxengine/ai/npc/curly_ai.o nxengine/ai/npc/misery.o nxengine/ai/npc/npcguest.o nxengine/ai/npc/npcplayer.o nxengine/ai/npc/npcregu.o nxengine/ai/oside/oside.o nxengine/ai/plantation/plantation.o nxengine/ai/sand/curly_boss.o nxengine/ai/sand/puppy.o nxengine/ai/sand/sand.o nxengine/ai/sand/toroko_frenzied.o nxengine/ai/sym/smoke.o nxengine/ai/sym/sym.o nxengine/ai/village/balrog_boss_running.o nxengine/ai/village/ma_pignon.o nxengine/ai/village/village.o nxengine/ai/weapons/blade.o nxengine/ai/weapons/bubbler.o nxengine/ai/weapons/fireball.o nxengine/ai/weapons/missile.o nxengine/ai/weapons/nemesis.o nxengine/ai/weapons/polar_mgun.o nxengine/ai/weapons/snake.o nxengine/ai/weapons/spur.o nxengine/ai/weapons/weapons.o nxengine/ai/weapons/whimstar.o nxengine/ai/weed/balrog_boss_flying.o nxengine/ai/weed/frenzied_mimiga.o nxengine/ai/weed/weed.o nxengine/common/BList.o nxengine/common/DBuffer.o nxengine/common/DString.o nxengine/common/InitList.o nxengine/common/StringList.o nxengine/endgame/credits.o nxengine/endgame/CredReader.o nxengine/endgame/island.o nxengine/endgame/endgame_misc.o nxengine/graphics/graphics.o nxengine/graphics/nxsurface.o nxengine/graphics/font.o nxengine/graphics/sprites.o nxengine/graphics/tileset.o nxengine/intro/intro.o nxengine/intro/title.o nxengine/pause/dialog.o nxengine/pause/message.o nxengine/pause/objects.o nxengine/pause/options.o nxengine/pause/pause.o nxengine/libretro/libretro.o nxengine/main.o nxengine/siflib/sectSprites.o nxengine/siflib/sectStringArray.o nxengine/siflib/sif.o nxengine/siflib/sifloader.o nxengine/sound/org.o nxengine/sound/pxt.o nxengine/sound/sound.o nxengine/TextBox/ItemImage.o nxengine/TextBox/SaveSelect.o nxengine/TextBox/StageSelect.o nxengine/TextBox/TextBox.o nxengine/TextBox/YesNoPrompt.o nxengine/autogen/AssignSprites.o nxengine/autogen/objnames.o nxengine/caret.o nxengine/floattext.o nxengine/game.o nxengine/inventory.o nxengine/map.o nxengine/map_system.o nxengine/object.o nxengine/ObjManager.o nxengine/p_arms.o nxengine/player.o nxengine/playerstats.o nxengine/screeneffect.o nxengine/settings.o nxengine/slope.o nxengine/stageboss.o nxengine/statusbar.o nxengine/trig.o nxengine/tsc.o nxengine/sdl/SDL_error.o nxengine/sdl/file/SDL_rwops.o nxengine/sdl/video/SDL_blit.o nxengine/sdl/video/SDL_blit_0.o nxengine/sdl/video/SDL_blit_1.o nxengine/sdl/video/SDL_blit_A.o nxengine/sdl/video/SDL_blit_N.o nxengine/sdl/video/SDL_bmp.o nxengine/sdl/video/SDL_pixels.o nxengine/sdl/video/SDL_surface.o nxengine/libretro/libretro-common/streams/file_stream.o nxengine/libretro/libretro-common/streams/file_stream_transforms.o nxengine/libretro/libretro-common/compat/fopen_utf8.o nxengine/libretro/libretro-common/file/file_path.o nxengine/libretro/libretro-common/file/file_path_io.o nxengine/libretro/libretro-common/encodings/encoding_utf.o nxengine/libretro/libretro-common/compat/compat_strl.o nxengine/libretro/libretro-common/compat/compat_snprintf.o nxengine/libretro/libretro-common/compat/compat_posix_string.o nxengine/libretro/libretro-common/string/stdstring.o nxengine/libretro/libretro-common/time/rtime.o nxengine/libretro/libretro-common/vfs/vfs_implementation.o nxengine/common/misc.o nxengine/common/bufio.o nxengine/extract-auto/cachefiles.o nxengine/extract-auto/extractorg.o nxengine/extract-auto/extractpxt.o nxengine/extract-auto/extractstages.o nxengine/libretro/libretro_shared.o nxengine/sound/sslib.o nxengine/niku.o nxengine/input.o nxengine/stagedata.o nxengine/profile.o -lm >>> libretro-nxengine: Entering fakeroot... >>> libretro-nxengine*: Running postcheck for libretro-nxengine >>> libretro-nxengine*: Preparing package libretro-nxengine... >>> libretro-nxengine*: Stripping binaries >>> libretro-nxengine*: Scanning shared objects >>> libretro-nxengine*: Tracing dependencies... so:libc.musl-loongarch64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> libretro-nxengine*: Package size: 960.0 KB >>> libretro-nxengine*: Compressing data... >>> libretro-nxengine*: Create checksum... >>> libretro-nxengine*: Create libretro-nxengine-0_git20220301-r0.apk >>> libretro-nxengine: Build complete at Sat, 21 Sep 2024 00:07:25 +0000 elapsed time 0h 0m 16s >>> libretro-nxengine: Cleaning up srcdir >>> libretro-nxengine: Cleaning up pkgdir >>> libretro-nxengine: Uninstalling dependencies... (1/1) Purging .makedepends-libretro-nxengine (20240921.000721) OK: 251 MiB in 103 packages >>> libretro-nxengine: Updating the testing/loongarch64 repository index... >>> libretro-nxengine: Signing the index...