=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for stratagus-2.1nb21 gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -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/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/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/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/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/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/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:78:26: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] unit->Orders[0].Arg1 = (void*)((unit->Orders[0].X << 16) | unit->Orders[0].Y); ^ 1 warning generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -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/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/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] 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] unit->Orders[0].Arg1 = (void*)((unit->X << 16) | unit->Y); ^ 2 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -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/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/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/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/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/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/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/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/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] 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/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/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] !units[j]->Type->GivesResource == GoldCost) { ^ ~~ src/ai/obj/../ai_building.c:400:8: note: add parentheses after the '!' to evaluate the comparison first !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 !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/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/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/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 with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] AiMarkWaterTransporter(aiunit->Unit, watermatrix); ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:116:69: note: passing argument to parameter 'matrix' here 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 with different sign [-Wpointer-sign] AiMarkWaterTransporter(unit, watermatrix); ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:116:69: note: passing argument to parameter 'matrix' here 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 with different sign [-Wpointer-sign] if (AiFindTarget(aiunit->Unit, watermatrix, &x, &y, &state)) { ^~~~~~~~~~~ src/ai/obj/../ai_plan.c:219:58: note: passing argument to parameter 'matrix' here 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/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/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/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/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/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/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 with different sign [-Wpointer-sign] x -= VideoTextLength(labels[j]->Font, labels[j]->Text) / 2; ^~~~~~~~~~~~~~~ ./src/include/font.h:146:64: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x, y, labels[j]->Font, labels[j]->Text); ^~~~~~~~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(VideoWidth / 2, VideoHeight - 16, GameFont, temp); ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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/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/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/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] (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] 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] 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] ret = gzclose(file->cl_gz); ^~~~~~~~~~~ * /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h:1644:43: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORT gzclose OF((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] ret = gzread(file->cl_gz, buf, len); ^~~~~~~~~~~ * /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h:1402:39: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORT gzread OF((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] ret = gzwrite(file->cl_gz, p, size); ^~~~~~~~~~~ * /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h:1459:40: note: passing argument to parameter 'file' here ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ 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] ret = gzseek(file->cl_gz, offset, whence); ^~~~~~~~~~~ * /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h:1896:45: note: passing argument to parameter here ZEXTERN z_off_t ZEXPORT gzseek OF((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] ret = gztell(file->cl_gz); ^~~~~~~~~~~ * /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/zlib.h:1897:45: note: passing argument to parameter here ZEXTERN z_off_t ZEXPORT gztell OF((gzFile)); ^ 8 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -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/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/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] if( !map->Fields[i].Flags&MapFieldWall ) { ^ ~ src/stratagus/obj/../pud.c:197:9: note: add parentheses after the '!' to evaluate the bitwise operator first 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 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] if( !map->Fields[i].Flags&MapFieldWall ) { ^ ~ src/stratagus/obj/../pud.c:203:9: note: add parentheses after the '!' to evaluate the bitwise operator first 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 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(header, 4); ^~~~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 1); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, length); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 1); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 1); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 4); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 2); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(bufp, length); ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(bufp, length); ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 2); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(bufp, length); ^~~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 1); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 2); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 2); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 2); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 1); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] info->MapUID += ChksumArea(buf, 8); ^~~ src/stratagus/obj/../pud.c:96:53: note: passing argument to parameter 'adr' here 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 with different sign [-Wpointer-sign] strncpy(buf,map->Info->Description,32); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __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/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/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/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/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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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 with different sign [-Wpointer-sign] *ss = s = malloc(sizeof(*s) + usize + strlen(id)); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here 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 with different sign [-Wpointer-sign] strcpy(s->misc + usize + 1, id); ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __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 with different sign [-Wpointer-sign] strcpy(s->misc + usize + 1, id); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here 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 with different sign [-Wpointer-sign] i = strcmp(id, s->misc + usize + 1); ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 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/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/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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "1x1"); ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "2x2"); ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "3x3"); ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "4x4"); ^~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "Random"); ^~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x, y, GameFont, "Filler"); ^~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + i % 8 * 20 + 10, y + 7, SmallFont, buf); ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x, y, GameFont, buf); ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x + 28 * 0, y, GameFont, "Un"); ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x + 28 * 1, y, GameFont, "Bu"); ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x + 28 * 3, y, GameFont, "La"); ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x + 28 * 4, y, GameFont, "Wa"); ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(x + 28 * 5, y, GameFont, "Ai"); ^~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(TheUI.ResourceX + 2, TheUI.ResourceY + 2, GameFont, buf); ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(TheUI.ResourceX + 118, TheUI.ResourceY + 2, GameFont, buf); ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(TheUI.ResourceX + 252, TheUI.ResourceY + 2, GameFont, buf); ^~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] GameFont,TheUI.MenuButton.Text, NULL, NULL); ^~~~~~~~~~~~~~~~~~~~~ ./src/include/menus.h:370:53: note: passing argument to parameter 'text' here 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/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/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/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/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] 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/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 with different sign [-Wpointer-sign] LargeFont, "~!Continue", NULL, NULL); ^~~~~~~~~~~~ ./src/include/menus.h:370:53: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] if (VideoTextLength(LargeFont, s) < w) { ^ ./src/include/font.h:146:64: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextClip(x, y, LargeFont, ptr->Text); ^~~~~~~~~ ./src/include/font.h:152:80: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] 28 * VideoHeight / 480, LargeFont, intro->Title); ^~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(372 * VideoWidth / 640, y, LargeFont, "Objectives:"); ^~~~~~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawText(372 * VideoWidth / 640, y, LargeFont, ptr->Text); ^~~~~~~~~ ./src/include/font.h:150:76: note: passing argument to parameter 'text' here extern int VideoDrawText(int x, int y, unsigned font, const unsigned char* text); ^ src/game/obj/../intro.c:691:27: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 40, y + 5, LargeFont, text); ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 106, y + top_offset, LargeFont, "Outcome"); ^~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] outcome); ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 324, y + top_offset, LargeFont, "Rank"); ^~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 324, y + top_offset + 21, SmallTitleFont, rank); ^~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 540, y + top_offset, LargeFont, "Score"); ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 540, y + top_offset + 21, SmallTitleFont, buf); ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] names_font, buf); ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 50, y + bottom_offset, LargeFont, "Units"); ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] names_font, buf); ^~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 140, y + bottom_offset, LargeFont, "Buildings"); ^~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 230, y + bottom_offset, LargeFont, DefaultResourceNames[GoldCost]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 320, y + bottom_offset, LargeFont, DefaultResourceNames[WoodCost]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 410, y + bottom_offset, LargeFont, DefaultResourceNames[OilCost]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 500, y + bottom_offset, LargeFont, "Kills"); ^~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here 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 with different sign [-Wpointer-sign] VideoDrawTextCentered(x + 590, y + bottom_offset, LargeFont, "Razings"); ^~~~~~~~~ ./src/include/font.h:158:84: note: passing argument to parameter 'text' here extern int VideoDrawTextCentered(int x, int y, unsigned font, const unsigned char* text); ^ 23 warnings generated. gcc -c -I/opt/pkg/include/lua-5.1 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -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/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/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/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/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 with different sign [-Wpointer-sign] if ((h = (char**)hash_find(tileset->ItemsHash, buf)) != NULL) { ^~~ ./src/include/util.h:29:13: note: expanded from macro 'hash_find' _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 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 with different sign [-Wpointer-sign] *(char**)hash_add(tileset->ItemsHash, buf) = unit; ^~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' #define hash_add(tab, id) hash_get(tab, id) ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' _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 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/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/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/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/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/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/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/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/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/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/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/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 with different sign [-Wpointer-sign] mtype = (MissileType**)hash_find(MissileTypeHash, (char*)ident); ^~~~~~~~~~~~ ./src/include/util.h:29:13: note: expanded from macro 'hash_find' _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 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 with different sign [-Wpointer-sign] *(MissileType**)hash_add(MissileTypeHash, MissileTypes[i]->Ident) = MissileTypes[i]; ^~~~~~~~~~~~~~~~~~~~~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' #define hash_add(tab, id) hash_get(tab, id) ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' _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 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 with different sign [-Wpointer-sign] *(MissileType**)hash_add(MissileTypeHash, mtype->Ident) = mtype; ^~~~~~~~~~~~ ./src/include/util.h:46:41: note: expanded from macro 'hash_add' #define hash_add(tab, id) hash_get(tab, id) ^~ ./src/include/util.h:26:12: note: expanded from macro 'hash_get' _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 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 with different sign [-Wpointer-sign] hash_del(MissileTypeHash, mtype->Ident); ^~~~~~~~~~~~ ./src/include/util.h:40:12: note: expanded from macro 'hash_del' _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 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/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/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 with different sign [-Wpointer-sign] if (DecodeFrameToYUV(pbi, frame, length, -1, -1)) { ^~~~~ ./src/movie/vp31/include/vfw_PB_Interface.h:68:53: note: passing argument to parameter 'VideoBufferPtr' here 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] GetPbParam(pbi, PBC_SET_POSTPROC, &i); ^~ ./src/movie/vp31/include/vfw_PB_Interface.h:63:74: note: passing argument to parameter 'Parameter' here 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/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' typedef const ushort cushort; ^ ./src/movie/vp31/include/rawTypes.h:56:10: error: unknown type name 'ushort' typedef ushort uint16; ^ ./src/movie/vp31/include/rawTypes.h:72:15: error: unknown type name 'uint' typedef const uint cuint; ^ ./src/movie/vp31/include/rawTypes.h:84:10: error: unknown type name 'uint' typedef uint uint32; ^ 4 errors generated. gmake: *** [Makefile:70: src/movie/vp31/obj/BlockMapping.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/games/stratagus *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/games/stratagus