=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/stratagus", "all", "LUA_VERSION_REQD=51", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for stratagus-2.1nb24 gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_attack.c -o src/action/obj/action_attack.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_board.c -o src/action/obj/action_board.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_build.c -o src/action/obj/action_build.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_die.c -o src/action/obj/action_die.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_follow.c -o src/action/obj/action_follow.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_move.c -o src/action/obj/action_move.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_patrol.c -o src/action/obj/action_patrol.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/action/obj/../action_patrol.c:77:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 77 | tmp = (int)unit->Orders[0].Arg1; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/action/obj/../action_patrol.c:78:26: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 78 | unit->Orders[0].Arg1 = (void*)((unit->Orders[0].X << 16) | unit->Orders[0].Y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_repair.c -o src/action/obj/action_repair.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_research.c -o src/action/obj/action_research.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_resource.c -o src/action/obj/action_resource.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/action/obj/../action_resource.c:293:26: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 293 | unit->Orders[0].Arg1 = (void*)((unit->X << 16) | unit->Y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/action/obj/../action_resource.c:499:25: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 499 | unit->Orders[0].Arg1 = (void*)((unit->X << 16) | unit->Y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/action/obj/../action_resource.c:646:7: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 646 | x = (int)unit->Orders[0].Arg1 >> 16; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/action/obj/../action_resource.c:647:7: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 647 | y = (int)unit->Orders[0].Arg1 & 0xFFFF; | ^~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_returngoods.c -o src/action/obj/action_returngoods.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_spellcast.c -o src/action/obj/action_spellcast.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_stand.c -o src/action/obj/action_stand.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_still.c -o src/action/obj/action_still.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_train.c -o src/action/obj/action_train.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_unload.c -o src/action/obj/action_unload.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../action_upgradeto.c -o src/action/obj/action_upgradeto.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../actions.c -o src/action/obj/actions.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/action/obj/../command.c -o src/action/obj/command.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/action/obj/../command.c:525:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 525 | order->Arg1 = (void*)((unit->X << 16) | unit->Y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai.c -o src/ai/obj/ai.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai_building.c -o src/ai/obj/ai_building.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/ai/obj/../ai_building.c:400:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 400 | !units[j]->Type->GivesResource == GoldCost) { | ^ ~~ src/ai/obj/../ai_building.c:400:8: note: add parentheses after the '!' to evaluate the comparison first 400 | !units[j]->Type->GivesResource == GoldCost) { | ^ | ( ) src/ai/obj/../ai_building.c:400:8: note: add parentheses around left hand side expression to silence this warning 400 | !units[j]->Type->GivesResource == GoldCost) { | ^ | ( ) 1 warning generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai_force.c -o src/ai/obj/ai_force.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai_magic.c -o src/ai/obj/ai_magic.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai_plan.c -o src/ai/obj/ai_plan.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/ai/obj/../ai_plan.c:520:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 520 | watermatrix = CreateMatrix(); | ^ ~~~~~~~~~~~~~~ src/ai/obj/../ai_plan.c:531:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 531 | AiMarkWaterTransporter(aiunit->Unit, watermatrix); | ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:116:69: note: passing argument to parameter 'matrix' here 116 | static void AiMarkWaterTransporter(const Unit* unit, unsigned char* matrix) | ^ src/ai/obj/../ai_plan.c:548:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 548 | AiMarkWaterTransporter(unit, watermatrix); | ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:116:69: note: passing argument to parameter 'matrix' here 116 | static void AiMarkWaterTransporter(const Unit* unit, unsigned char* matrix) | ^ src/ai/obj/../ai_plan.c:579:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 579 | if (AiFindTarget(aiunit->Unit, watermatrix, &x, &y, &state)) { | ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:219:58: note: passing argument to parameter 'matrix' here 219 | static int AiFindTarget(const Unit* unit, unsigned char* matrix, int* dx, int* dy, | ^ 4 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../ai_resource.c -o src/ai/obj/ai_resource.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/ai/obj/../script_ai.c -o src/ai/obj/script_ai.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/beos/obj/../beos.c -o src/beos/obj/beos.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../script.c -o src/stratagus/obj/script.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../script_player.c -o src/stratagus/obj/script_player.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../stratagus.c -o src/stratagus/obj/stratagus.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/stratagus/obj/../stratagus.c:542:46: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 542 | x -= VideoTextLength(labels[j]->Font, labels[j]->Text) / 2; | ^~~~~~~~~~~~~~~ ./src/include/font.h:146:64: note: passing argument to parameter 'text' here 146 | extern int VideoTextLength(unsigned font, const unsigned char* text); | ^ src/stratagus/obj/../stratagus.c:544:44: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 544 | VideoDrawText(x, y, labels[j]->Font, labels[j]->Text); | ^~~~~~~~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/stratagus/obj/../stratagus.c:583:69: warning: passing 'char[4096]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 583 | VideoDrawTextCentered(VideoWidth / 2, VideoHeight - 16, GameFont, temp); | ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ 3 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../construct.c -o src/stratagus/obj/construct.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../groups.c -o src/stratagus/obj/groups.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../iolib.c -o src/stratagus/obj/iolib.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/stratagus/obj/../iolib.c:162:17: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types] 162 | (clf.cl_gz = gzopen(strcat(strcpy(buf, fn), ".gz"), openstring))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/stratagus/obj/../iolib.c:172:19: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types] 172 | if ((clf.cl_gz = gzopen(strcat(strcpy(buf, fn), ".gz"), "rb"))) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/stratagus/obj/../iolib.c:202:21: warning: incompatible pointer types assigning to 'gzFile *' (aka 'struct gzFile_s **') from 'gzFile' (aka 'struct gzFile_s *') [-Wincompatible-pointer-types] 202 | if ((clf.cl_gz = gzopen(fn, "rb"))) { | ^ ~~~~~~~~~~~~~~~~ src/stratagus/obj/../iolib.c:249:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] 249 | ret = gzclose(file->cl_gz); | ^~~~~~~~~~~ | * /var/tmp/work/games/stratagus/work/.buildlink/include/zlib.h:1634:39: note: passing argument to parameter 'file' here 1634 | ZEXTERN int ZEXPORT gzclose(gzFile file); | ^ src/stratagus/obj/../iolib.c:285:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] 285 | ret = gzread(file->cl_gz, buf, len); | ^~~~~~~~~~~ | * /var/tmp/work/games/stratagus/work/.buildlink/include/zlib.h:1395:35: note: passing argument to parameter 'file' here 1395 | ZEXTERN int ZEXPORT gzread(gzFile file, voidp buf, unsigned len); | ^ src/stratagus/obj/../iolib.c:359:18: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] 359 | ret = gzwrite(file->cl_gz, p, size); | ^~~~~~~~~~~ | * /var/tmp/work/games/stratagus/work/.buildlink/include/zlib.h:1451:36: note: passing argument to parameter 'file' here 1451 | ZEXTERN int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len); | ^ src/stratagus/obj/../iolib.c:394:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] 394 | ret = gzseek(file->cl_gz, offset, whence); | ^~~~~~~~~~~ | * /var/tmp/work/games/stratagus/work/.buildlink/include/zlib.h:1897:41: note: passing argument to parameter here 1897 | ZEXTERN z_off_t ZEXPORT gzseek(gzFile, z_off_t, int); | ^ src/stratagus/obj/../iolib.c:427:17: warning: incompatible pointer types passing 'gzFile *' (aka 'struct gzFile_s **') to parameter of type 'gzFile' (aka 'struct gzFile_s *'); dereference with * [-Wincompatible-pointer-types] 427 | ret = gztell(file->cl_gz); | ^~~~~~~~~~~ | * /var/tmp/work/games/stratagus/work/.buildlink/include/zlib.h:1898:41: note: passing argument to parameter here 1898 | ZEXTERN z_off_t ZEXPORT gztell(gzFile); | ^ 8 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../mainloop.c -o src/stratagus/obj/mainloop.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../player.c -o src/stratagus/obj/player.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../pud.c -o src/stratagus/obj/pud.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/stratagus/obj/../pud.c:197:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 197 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ ~ src/stratagus/obj/../pud.c:197:9: note: add parentheses after the '!' to evaluate the bitwise operator first 197 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ | ( ) src/stratagus/obj/../pud.c:197:9: note: add parentheses around left hand side expression to silence this warning 197 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ | ( ) src/stratagus/obj/../pud.c:203:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 203 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ ~ src/stratagus/obj/../pud.c:203:9: note: add parentheses after the '!' to evaluate the bitwise operator first 203 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ | ( ) src/stratagus/obj/../pud.c:203:9: note: add parentheses around left hand side expression to silence this warning 203 | if( !map->Fields[i].Flags&MapFieldWall ) { | ^ | ( ) src/stratagus/obj/../pud.c:400:30: warning: passing 'char[5]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 400 | info->MapUID += ChksumArea(header, 4); | ^~~~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:411:32: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 411 | info->MapUID += ChksumArea(buf, 1); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:426:31: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 426 | info->MapUID += ChksumArea(buf, length); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:442:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | info->MapUID += ChksumArea(buf, 1); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:471:32: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 471 | info->MapUID += ChksumArea(buf, 1); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:490:31: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | info->MapUID += ChksumArea(buf, 4); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:504:31: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | info->MapUID += ChksumArea(buf, 2); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:517:31: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 517 | info->MapUID += ChksumArea(bufp, length); | ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:539:31: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 539 | info->MapUID += ChksumArea(bufp, length); | ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:553:31: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 553 | info->MapUID += ChksumArea(buf, 2); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:566:31: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 566 | info->MapUID += ChksumArea(bufp, length); | ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:581:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 581 | info->MapUID += ChksumArea(buf, 1); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:603:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 603 | info->MapUID += ChksumArea(buf, 2); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:624:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 624 | info->MapUID += ChksumArea(buf, 2); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:645:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 645 | info->MapUID += ChksumArea(buf, 2); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:667:33: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 667 | info->MapUID += ChksumArea(buf, 1); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:781:32: warning: passing 'char[1024]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 781 | info->MapUID += ChksumArea(buf, 8); | ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 96 | static unsigned int ChksumArea(const unsigned char* adr,int length) | ^ src/stratagus/obj/../pud.c:1588:10: warning: passing 'unsigned char[5950]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1588 | strncpy(buf,map->Info->Description,32); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ 20 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../selection.c -o src/stratagus/obj/selection.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../spells.c -o src/stratagus/obj/spells.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../script_spell.c -o src/stratagus/obj/script_spell.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/stratagus/obj/../util.c -o src/stratagus/obj/util.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/stratagus/obj/../util.c:82:15: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | i = strcmp(id, s->misc + usize + 1); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ src/stratagus/obj/../util.c:82:19: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | i = strcmp(id, s->misc + usize + 1); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ src/stratagus/obj/../util.c:108:15: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | i = strcmp(id, s->misc + usize + 1); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ src/stratagus/obj/../util.c:108:19: warning: passing 'Uint8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | i = strcmp(id, s->misc + usize + 1); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ src/stratagus/obj/../util.c:116:47: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | *ss = s = malloc(sizeof(*s) + usize + strlen(id)); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ src/stratagus/obj/../util.c:122:9: warning: passing 'Uint8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | strcpy(s->misc + usize + 1, id); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ src/stratagus/obj/../util.c:122:30: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | strcpy(s->misc + usize + 1, id); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ src/stratagus/obj/../util.c:143:15: warning: passing 'const Uint8 *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | i = strcmp(id, s->misc + usize + 1); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ src/stratagus/obj/../util.c:143:19: warning: passing 'Uint8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | i = strcmp(id, s->misc + usize + 1); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ 9 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/editor/obj/../script_editor.c -o src/editor/obj/script_editor.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/editor/obj/../editloop.c -o src/editor/obj/editloop.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/editor/obj/../editloop.c:464:40: warning: passing 'char[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | VideoDrawTextCentered(x, y, GameFont, "1x1"); | ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:468:40: warning: passing 'char[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 468 | VideoDrawTextCentered(x, y, GameFont, "2x2"); | ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:472:40: warning: passing 'char[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 472 | VideoDrawTextCentered(x, y, GameFont, "3x3"); | ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:476:40: warning: passing 'char[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 476 | VideoDrawTextCentered(x, y, GameFont, "4x4"); | ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:480:40: warning: passing 'char[7]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 480 | VideoDrawTextCentered(x, y, GameFont, "Random"); | ^~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:484:40: warning: passing 'char[7]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | VideoDrawTextCentered(x, y, GameFont, "Filler"); | ^~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:554:64: warning: passing 'char[256]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 554 | VideoDrawTextCentered(x + i % 8 * 20 + 10, y + 7, SmallFont, buf); | ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:582:33: warning: passing 'char[256]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 582 | VideoDrawText(x, y, GameFont, buf); | ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:591:41: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 591 | VideoDrawText(x + 28 * 0, y, GameFont, "Un"); | ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:594:41: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 594 | VideoDrawText(x + 28 * 1, y, GameFont, "Bu"); | ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:603:41: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 603 | VideoDrawText(x + 28 * 3, y, GameFont, "La"); | ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:606:41: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 606 | VideoDrawText(x + 28 * 4, y, GameFont, "Wa"); | ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:609:41: warning: passing 'char[3]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 609 | VideoDrawText(x + 28 * 5, y, GameFont, "Ai"); | ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:856:68: warning: passing 'char[256]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 856 | VideoDrawText(TheUI.ResourceX + 2, TheUI.ResourceY + 2, GameFont, buf); | ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:877:70: warning: passing 'char[256]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 877 | VideoDrawText(TheUI.ResourceX + 118, TheUI.ResourceY + 2, GameFont, buf); | ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:898:70: warning: passing 'char[256]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 898 | VideoDrawText(TheUI.ResourceX + 252, TheUI.ResourceY + 2, GameFont, buf); | ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/editor/obj/../editloop.c:949:12: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 949 | GameFont,TheUI.MenuButton.Text, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~ ./src/include/menus.h:370:53: note: passing argument to parameter 'text' here 370 | int x, int y, const int font, const unsigned char* text, char* normalcolor, char* reversecolor); | ^ 17 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/editor/obj/../editor.c -o src/editor/obj/editor.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/editor/obj/../edmap.c -o src/editor/obj/edmap.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../campaign.c -o src/game/obj/campaign.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../game.c -o src/game/obj/game.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/game/obj/../game.c:351:7: warning: address of array 'LocalPlayerName' will always evaluate to 'true' [-Wpointer-bool-conversion] 351 | if (LocalPlayerName && strcmp(LocalPlayerName, "Anonymous")) { | ^~~~~~~~~~~~~~~ ~~ 1 warning generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../intro.c -o src/game/obj/intro.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/game/obj/../intro.c:213:14: warning: passing 'char[11]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | LargeFont, "~!Continue", NULL, NULL); | ^~~~~~~~~~~~ ./src/include/menus.h:370:53: note: passing argument to parameter 'text' here 370 | int x, int y, const int font, const unsigned char* text, char* normalcolor, char* reversecolor); | ^ src/game/obj/../intro.c:274:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 274 | if (VideoTextLength(LargeFont, s) < w) { | ^ ./src/include/font.h:146:64: note: passing argument to parameter 'text' here 146 | extern int VideoTextLength(unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:357:39: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 357 | VideoDrawTextClip(x, y, LargeFont, ptr->Text); | ^~~~~~~~~ ./src/include/font.h:152:80: note: passing argument to parameter 'text' here 152 | extern int VideoDrawTextClip(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:491:39: warning: passing 'char *const' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 491 | 28 * VideoHeight / 480, LargeFont, intro->Title); | ^~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:502:55: warning: passing 'char[12]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 502 | VideoDrawText(372 * VideoWidth / 640, y, LargeFont, "Objectives:"); | ^~~~~~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:509:57: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 509 | VideoDrawText(372 * VideoWidth / 640, y, LargeFont, ptr->Text); | ^~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 150 | extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); | ^ In file included from src/game/obj/../intro.c:48: ./src/include/settings.h:174:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | extern void ShowCredits(); | ^ src/game/obj/../intro.c:561:6: note: conflicting prototype is here 561 | void ShowCredits(Credits* credits) | ^ src/game/obj/../intro.c:691:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 691 | draw(x, y, text->Font, lines->Text); | ^~~~~~~~~~~ src/game/obj/../intro.c:832:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | VideoDrawTextCentered(x + 40, y + 5, LargeFont, text); | ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:893:61: warning: passing 'char[8]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 893 | VideoDrawTextCentered(x + 106, y + top_offset, LargeFont, "Outcome"); | ^~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:900:4: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 900 | outcome); | ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:929:61: warning: passing 'char[5]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 929 | VideoDrawTextCentered(x + 324, y + top_offset, LargeFont, "Rank"); | ^~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:930:71: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 930 | VideoDrawTextCentered(x + 324, y + top_offset + 21, SmallTitleFont, rank); | ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:934:61: warning: passing 'char[6]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 934 | VideoDrawTextCentered(x + 540, y + top_offset, LargeFont, "Score"); | ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:936:71: warning: passing 'char[50]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 936 | VideoDrawTextCentered(x + 540, y + top_offset + 21, SmallTitleFont, buf); | ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:956:16: warning: passing 'char[50]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 956 | names_font, buf); | ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:957:63: warning: passing 'char[6]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 957 | VideoDrawTextCentered(x + 50, y + bottom_offset, LargeFont, "Units"); | ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:975:17: warning: passing 'char[50]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 975 | names_font, buf); | ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:999:64: warning: passing 'char[10]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 999 | VideoDrawTextCentered(x + 140, y + bottom_offset, LargeFont, "Buildings"); | ^~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:1032:64: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1032 | VideoDrawTextCentered(x + 230, y + bottom_offset, LargeFont, DefaultResourceNames[GoldCost]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:1065:64: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1065 | VideoDrawTextCentered(x + 320, y + bottom_offset, LargeFont, DefaultResourceNames[WoodCost]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:1098:64: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1098 | VideoDrawTextCentered(x + 410, y + bottom_offset, LargeFont, DefaultResourceNames[OilCost]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:1131:64: warning: passing 'char[6]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1131 | VideoDrawTextCentered(x + 500, y + bottom_offset, LargeFont, "Kills"); | ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ src/game/obj/../intro.c:1164:64: warning: passing 'char[8]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1164 | VideoDrawTextCentered(x + 590, y + bottom_offset, LargeFont, "Razings"); | ^~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 158 | extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); | ^ 24 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../loadgame.c -o src/game/obj/loadgame.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../savegame.c -o src/game/obj/savegame.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/game/obj/../trigger.c -o src/game/obj/trigger.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../script_map.c -o src/map/obj/script_map.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../script_tileset.c -o src/map/obj/script_tileset.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/map/obj/../script_tileset.c:556:50: warning: passing 'char[30]' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 556 | if ((h = (char**)hash_find(tileset->ItemsHash, buf)) != NULL) { | ^~~ ./src/include/util.h:29:13: note: expanded from macro 'hash_find' 29 | _hash_find(id,(tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:19:44: note: passing argument to parameter 'id' here 19 | extern const void* _hash_find(const Uint8* id, const void* table, int size, int usize); | ^ src/map/obj/../script_tileset.c:559:41: warning: passing 'char[30]' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 559 | *(char**)hash_add(tileset->ItemsHash, buf) = unit; | ^~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' 46 | #define hash_add(tab, id) hash_get(tab, id) | ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' 26 | _hash_get(id, (tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:18:37: note: passing argument to parameter 'id' here 18 | extern void* _hash_get(const Uint8* id, void* table, int size, int usize); | ^ 2 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map.c -o src/map/obj/map.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_draw.c -o src/map/obj/map_draw.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_fog.c -o src/map/obj/map_fog.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_rock.c -o src/map/obj/map_rock.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_save.c -o src/map/obj/map_save.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_wall.c -o src/map/obj/map_wall.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../map_wood.c -o src/map/obj/map_wood.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../minimap.c -o src/map/obj/minimap.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/map/obj/../tileset.c -o src/map/obj/tileset.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/missile/obj/../script_missile.c -o src/missile/obj/script_missile.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/missile/obj/../missile.c -o src/missile/obj/missile.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/missile/obj/../missile.c:190:52: warning: passing 'char *' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | mtype = (MissileType**)hash_find(MissileTypeHash, (char*)ident); | ^~~~~~~~~~~~ ./src/include/util.h:29:13: note: expanded from macro 'hash_find' 29 | _hash_find(id,(tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:19:44: note: passing argument to parameter 'id' here 19 | extern const void* _hash_find(const Uint8* id, const void* table, int size, int usize); | ^ src/missile/obj/../missile.c:213:45: warning: passing 'char *' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | *(MissileType**)hash_add(MissileTypeHash, MissileTypes[i]->Ident) = MissileTypes[i]; | ^~~~~~~~~~~~~~~~~~~~~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' 46 | #define hash_add(tab, id) hash_get(tab, id) | ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' 26 | _hash_get(id, (tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:18:37: note: passing argument to parameter 'id' here 18 | extern void* _hash_get(const Uint8* id, void* table, int size, int usize); | ^ src/missile/obj/../missile.c:1327:45: warning: passing 'char *' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1327 | *(MissileType**)hash_add(MissileTypeHash, mtype->Ident) = mtype; | ^~~~~~~~~~~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' 46 | #define hash_add(tab, id) hash_get(tab, id) | ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' 26 | _hash_get(id, (tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:18:37: note: passing argument to parameter 'id' here 18 | extern void* _hash_get(const Uint8* id, void* table, int size, int usize); | ^ src/missile/obj/../missile.c:1361:29: warning: passing 'char *' to parameter of type 'const Uint8 *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1361 | hash_del(MissileTypeHash, mtype->Ident); | ^~~~~~~~~~~~ ./src/include/util.h:40:12: note: expanded from macro 'hash_del' 40 | _hash_del(id, (tab).table, NELEM((tab).table), sizeof((tab).table[0]->user)) | ^~ ./src/include/util.h:20:37: note: passing argument to parameter 'id' here 20 | extern void _hash_del(const Uint8* id, void* table, int size, int usize); | ^ 4 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/movie/obj/../avi.c -o src/movie/obj/avi.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/movie/obj/../movie.c -o src/movie/obj/movie.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] src/movie/obj/../movie.c:130:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | if (DecodeFrameToYUV(pbi, frame, length, -1, -1)) { | ^~~~~ ./src/movie/vp31/include/vfw_PB_Interface.h:68:53: note: passing argument to parameter 'VideoBufferPtr' here 68 | extern int CCONV DecodeFrameToYUV( xPB_INST, char * VideoBufferPtr, unsigned int ByteCount, | ^ src/movie/obj/../movie.c:311:37: warning: passing 'int *' to parameter of type 'UINT32 *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 311 | GetPbParam(pbi, PBC_SET_POSTPROC, &i); | ^~ ./src/movie/vp31/include/vfw_PB_Interface.h:63:74: note: passing argument to parameter 'Parameter' here 63 | extern void CCONV GetPbParam( xPB_INST, PB_COMMAND_TYPE Command, UINT32 *Parameter ); | ^ 2 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/ncurses -I/usr/local/include -L/usr/local/lib -I/sw/include -L/sw/lib-I/sw/include -I/sw/include -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -I./src/include -I./src/movie/vp31/include -DUSE_HP_FOR_XP -DMAP_REGIONS -O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math -DUSE_SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DUSE_BZ2LIB -DUSE_OGG -DUSE_MAD -DUSE_FLAC -DUSE_MIKMOD -DUSE_LUA -DUSE_ZLIB -DUSE_BZ2LIB -DUSE_MAC -I/usr/local/include src/movie/vp31/obj/../BlockMapping.c -o src/movie/vp31/obj/BlockMapping.o clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument] In file included from src/movie/vp31/obj/../BlockMapping.c:31: In file included from ./src/movie/vp31/include/pbdll.h:28: ./src/movie/vp31/include/rawTypes.h:49:15: error: unknown type name 'ushort' 49 | typedef const ushort cushort; | ^ ./src/movie/vp31/include/rawTypes.h:56:10: error: unknown type name 'ushort' 56 | typedef ushort uint16; | ^ ./src/movie/vp31/include/rawTypes.h:72:15: error: unknown type name 'uint' 72 | typedef const uint cuint; | ^ ./src/movie/vp31/include/rawTypes.h:84:10: error: unknown type name 'uint' 84 | typedef uint uint32; | ^ 4 errors generated. gmake: *** [Makefile:70: src/movie/vp31/obj/BlockMapping.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/stratagus *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/stratagus