Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uqm-elvish-mod.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1681897497.476518/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e0cfcef1d65e4ee1a96623b834d1bd66', '-D', '/var/lib/mock/fedora-38-x86_64-1681897497.476518/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uqm-elvish-mod.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1531526400 Wrote: /builddir/build/SRPMS/uqm-elvish-mod-1.4.3-2.fc38.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uqm-elvish-mod.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1681897497.476518/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '34879e25e901487e848a2c41f63d52f5', '-D', '/var/lib/mock/fedora-38-x86_64-1681897497.476518/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di4wq40p:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uqm-elvish-mod.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1531526400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qJqzHW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uqm-0.6.2/sc2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/uqm-0.6.2-source.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd uqm-0.6.2/sc2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type d -name CVS -exec rm -rf '{}' ';' + rm -r src + tar xf /builddir/build/SOURCES/elvish-crazy-mod-1.4.3-src.tar.gz + cd src/sc2code + echo 'Patch #1 (uqm-str.patch):' Patch #1 (uqm-str.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p3 --fuzz=0 -R patching file comm/arilou/strings.h patching file comm/blackur/strings.h patching file comm/chmmr/strings.h patching file comm/comandr/strings.h patching file comm/druuge/strings.h patching file comm/ilwrath/strings.h patching file comm/melnorm/strings.h patching file comm/mycon/strings.h patching file comm/orz/strings.h patching file comm/pkunk/strings.h patching file comm/rebel/strings.h patching file comm/shofixt/strings.h patching file comm/slyhome/strings.h patching file comm/slyland/strings.h patching file comm/spahome/strings.h patching file comm/spathi/strings.h patching file comm/starbas/strings.h patching file comm/supox/strings.h patching file comm/syreen/strings.h patching file comm/talkpet/strings.h patching file comm/thradd/strings.h patching file comm/umgah/strings.h patching file comm/urquan/strings.h patching file comm/utwig/strings.h patching file comm/vux/strings.h patching file comm/yehat/strings.h patching file comm/zoqfot/strings.h Patch #2 (uqm-resload-elvish.patch): + cd .. + echo 'Patch #2 (uqm-resload-elvish.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p3 --fuzz=0 patching file options.c Patch #3 (uqm-elvish-secwarn.patch): + echo 'Patch #3 (uqm-elvish-secwarn.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p3 --fuzz=0 patching file sc2code/gameopt.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e8LWsr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd uqm-0.6.2/sc2 + echo INPUT_install_sharedir_VALUE=/usr/share + sed -i -e 's|@CONTENTDIR@|~/.uqm-elvish-mod|g' -e 's|USERDIR .*$|USERDIR "~/.uqm-elvish-mod"|g' src/config_unix.h.in + sh ./build.sh uqm 'echo -n' capable echo found. Sed stream editor found. tr found. Make found. GNU C compiler found. We have a C preprocessor. We have a C dependency generator. We have a C compiler. We have a linker. Little-endian machine detected. Simple DirectMedia Layer version 1.2.60 found. SDL_image found. Symbol 'readdir_r' found. Symbol 'setenv' found. Symbol 'strupr' not found. Symbol 'stricmp' not found. Symbol 'iswgraph' found. Type 'wchar_t' found. Type 'wint_t' found. Symbol 'getopt_long' found. Header 'regex.h' found. Preprocessor macro 'WIN32' not found. Preprocessor macro '__MINGW32__' not found. OpenGL found. libmikmod found. pkg-config found. vorbisfile found. zlib found. -= Main menu =- 1. Type of build Debugging build 2. OpenGL graphics support Include OpenGL graphics support 3. Sound backend Use MixSDL for sound (internal) 4. Tracker music support System libmikmod 5. Ogg Vorbis codec Xiph libogg + libvorbis 6. Network Supermelee support IPv4 and IPv6 7. Joystick support enabled 8. Supported file i/o methods Direct & .zip file i/o 9. Graphics/Sound optimizations Platform acceleration (asm, etc.) 10. Installation paths [...] Press a number plus if you want to change something, or just if everything is ok: Configuration complete. Saving choices... Building file dependency index... MKDEP obj/debug/src/options.c.d MKDEP obj/debug/src/port.c.d MKDEP obj/debug/src/starcon2.c.d MKDEP obj/debug/src/sc2code/battle.c.d MKDEP obj/debug/src/sc2code/border.c.d MKDEP obj/debug/src/sc2code/build.c.d MKDEP obj/debug/src/sc2code/cleanup.c.d MKDEP obj/debug/src/sc2code/clock.c.d MKDEP obj/debug/src/sc2code/cnctdlg.c.d MKDEP obj/debug/src/sc2code/collide.c.d MKDEP obj/debug/src/sc2code/comm.c.d MKDEP obj/debug/src/sc2code/commanim.c.d MKDEP obj/debug/src/sc2code/commglue.c.d MKDEP obj/debug/src/sc2code/confirm.c.d MKDEP obj/debug/src/sc2code/credits.c.d MKDEP obj/debug/src/sc2code/cyborg.c.d MKDEP obj/debug/src/sc2code/demo.c.d MKDEP obj/debug/src/sc2code/displist.c.d MKDEP obj/debug/src/sc2code/dummy.c.d MKDEP obj/debug/src/sc2code/encount.c.d MKDEP obj/debug/src/sc2code/fmv.c.d MKDEP obj/debug/src/sc2code/galaxy.c.d MKDEP obj/debug/src/sc2code/gameev.c.d MKDEP obj/debug/src/sc2code/gameinp.c.d MKDEP obj/debug/src/sc2code/gameopt.c.d MKDEP obj/debug/src/sc2code/gendef.c.d MKDEP obj/debug/src/sc2code/getchar.c.d MKDEP obj/debug/src/sc2code/globdata.c.d MKDEP obj/debug/src/sc2code/gravity.c.d MKDEP obj/debug/src/sc2code/gravwell.c.d MKDEP obj/debug/src/sc2code/grpinfo.c.d MKDEP obj/debug/src/sc2code/hyper.c.d MKDEP obj/debug/src/sc2code/init.c.d MKDEP obj/debug/src/sc2code/intel.c.d MKDEP obj/debug/src/sc2code/intro.c.d MKDEP obj/debug/src/sc2code/ipdisp.c.d MKDEP obj/debug/src/sc2code/load.c.d MKDEP obj/debug/src/sc2code/loadship.c.d MKDEP obj/debug/src/sc2code/master.c.d MKDEP obj/debug/src/sc2code/melee.c.d MKDEP obj/debug/src/sc2code/menu.c.d MKDEP obj/debug/src/sc2code/misc.c.d MKDEP obj/debug/src/sc2code/mouse_err.c.d MKDEP obj/debug/src/sc2code/oscill.c.d MKDEP obj/debug/src/sc2code/outfit.c.d MKDEP obj/debug/src/sc2code/pickmele.c.d MKDEP obj/debug/src/sc2code/pickship.c.d MKDEP obj/debug/src/sc2code/plandata.c.d MKDEP obj/debug/src/sc2code/process.c.d MKDEP obj/debug/src/sc2code/restart.c.d MKDEP obj/debug/src/sc2code/save.c.d MKDEP obj/debug/src/sc2code/settings.c.d MKDEP obj/debug/src/sc2code/setup.c.d MKDEP obj/debug/src/sc2code/setupmenu.c.d MKDEP obj/debug/src/sc2code/ship.c.d MKDEP obj/debug/src/sc2code/shipstat.c.d MKDEP obj/debug/src/sc2code/shipyard.c.d MKDEP obj/debug/src/sc2code/sis.c.d MKDEP obj/debug/src/sc2code/sounds.c.d MKDEP obj/debug/src/sc2code/starbase.c.d MKDEP obj/debug/src/sc2code/starcon.c.d MKDEP obj/debug/src/sc2code/starmap.c.d MKDEP obj/debug/src/sc2code/state.c.d MKDEP obj/debug/src/sc2code/status.c.d MKDEP obj/debug/src/sc2code/tactrans.c.d MKDEP obj/debug/src/sc2code/trans.c.d MKDEP obj/debug/src/sc2code/uqmdebug.c.d MKDEP obj/debug/src/sc2code/util.c.d MKDEP obj/debug/src/sc2code/velocity.c.d MKDEP obj/debug/src/sc2code/weapon.c.d MKDEP obj/debug/src/sc2code/comm/arilou/arilouc.c.d MKDEP obj/debug/src/sc2code/comm/blackur/blackurc.c.d MKDEP obj/debug/src/sc2code/comm/chmmr/chmmrc.c.d MKDEP obj/debug/src/sc2code/comm/comandr/comandr.c.d MKDEP obj/debug/src/sc2code/comm/druuge/druugec.c.d MKDEP obj/debug/src/sc2code/comm/ilwrath/ilwrathc.c.d MKDEP obj/debug/src/sc2code/comm/melnorm/melnorm.c.d MKDEP obj/debug/src/sc2code/comm/mycon/myconc.c.d MKDEP obj/debug/src/sc2code/comm/orz/orzc.c.d MKDEP obj/debug/src/sc2code/comm/pkunk/pkunkc.c.d MKDEP obj/debug/src/sc2code/comm/rebel/rebel.c.d MKDEP obj/debug/src/sc2code/comm/shofixt/shofixt.c.d MKDEP obj/debug/src/sc2code/comm/slyhome/slyhome.c.d MKDEP obj/debug/src/sc2code/comm/slyland/slyland.c.d MKDEP obj/debug/src/sc2code/comm/spahome/spahome.c.d MKDEP obj/debug/src/sc2code/comm/spathi/spathic.c.d MKDEP obj/debug/src/sc2code/comm/starbas/starbas.c.d MKDEP obj/debug/src/sc2code/comm/supox/supoxc.c.d MKDEP obj/debug/src/sc2code/comm/syreen/syreenc.c.d MKDEP obj/debug/src/sc2code/comm/talkpet/talkpet.c.d MKDEP obj/debug/src/sc2code/comm/thradd/thraddc.c.d MKDEP obj/debug/src/sc2code/comm/umgah/umgahc.c.d MKDEP obj/debug/src/sc2code/comm/urquan/urquanc.c.d MKDEP obj/debug/src/sc2code/comm/utwig/utwigc.c.d MKDEP obj/debug/src/sc2code/comm/vux/vuxc.c.d MKDEP obj/debug/src/sc2code/comm/yehat/yehatc.c.d MKDEP obj/debug/src/sc2code/comm/zoqfot/zoqfotc.c.d MKDEP obj/debug/src/sc2code/libs/callback/alarm.c.d MKDEP obj/debug/src/sc2code/libs/callback/callback.c.d MKDEP obj/debug/src/sc2code/libs/decomp/lzdecode.c.d MKDEP obj/debug/src/sc2code/libs/decomp/lzencode.c.d MKDEP obj/debug/src/sc2code/libs/decomp/update.c.d MKDEP obj/debug/src/sc2code/libs/file/dirs.c.d MKDEP obj/debug/src/sc2code/libs/file/files.c.d MKDEP obj/debug/src/sc2code/libs/file/temp.c.d MKDEP obj/debug/src/sc2code/libs/graphics/boxint.c.d MKDEP obj/debug/src/sc2code/libs/graphics/clipline.c.d MKDEP obj/debug/src/sc2code/libs/graphics/cmap.c.d MKDEP obj/debug/src/sc2code/libs/graphics/context.c.d MKDEP obj/debug/src/sc2code/libs/graphics/drawable.c.d MKDEP obj/debug/src/sc2code/libs/graphics/filegfx.c.d MKDEP obj/debug/src/sc2code/libs/graphics/font.c.d MKDEP obj/debug/src/sc2code/libs/graphics/frame.c.d MKDEP obj/debug/src/sc2code/libs/graphics/gfx_common.c.d MKDEP obj/debug/src/sc2code/libs/graphics/intersec.c.d MKDEP obj/debug/src/sc2code/libs/graphics/loaddisp.c.d MKDEP obj/debug/src/sc2code/libs/graphics/pixmap.c.d MKDEP obj/debug/src/sc2code/libs/graphics/resgfx.c.d MKDEP obj/debug/src/sc2code/libs/graphics/tfb_draw.c.d MKDEP obj/debug/src/sc2code/libs/graphics/tfb_prim.c.d MKDEP obj/debug/src/sc2code/libs/graphics/widgets.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/3do_blt.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/3do_funcs.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/3do_getbody.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/dcqueue.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/opengl.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/primitives.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/pure.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/rndzoom.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/sdl_common.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/scalers.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/2xscalers.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_sse.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_3dnow.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/nearest2x.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/bilinear2x.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/biadv2x.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/triscan2x.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/hq2x.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/canvas.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/bbox.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/sdluio.c.d MKDEP obj/debug/src/sc2code/libs/graphics/sdl/rotozoom.c.d MKDEP obj/debug/src/sc2code/libs/heap/heap.c.d MKDEP obj/debug/src/sc2code/libs/input/input_common.c.d MKDEP obj/debug/src/sc2code/libs/input/sdl/input.c.d MKDEP obj/debug/src/sc2code/libs/input/sdl/keynames.c.d MKDEP obj/debug/src/sc2code/libs/input/sdl/vcontrol.c.d MKDEP obj/debug/src/sc2code/libs/list/list.c.d MKDEP obj/debug/src/sc2code/libs/math/random.c.d MKDEP obj/debug/src/sc2code/libs/math/sqrt.c.d MKDEP obj/debug/src/sc2code/libs/memory/w_memlib.c.d MKDEP obj/debug/src/sc2code/libs/resource/alist.c.d MKDEP obj/debug/src/sc2code/libs/resource/direct.c.d MKDEP obj/debug/src/sc2code/libs/resource/filecntl.c.d MKDEP obj/debug/src/sc2code/libs/resource/getres.c.d MKDEP obj/debug/src/sc2code/libs/resource/loadres.c.d MKDEP obj/debug/src/sc2code/libs/resource/mapres.c.d MKDEP obj/debug/src/sc2code/libs/resource/resdata.c.d MKDEP obj/debug/src/sc2code/libs/resource/resinit.c.d MKDEP obj/debug/src/sc2code/libs/resource/stringbank.c.d MKDEP obj/debug/src/sc2code/libs/sound/audiocore.c.d MKDEP obj/debug/src/sc2code/libs/sound/fileinst.c.d MKDEP obj/debug/src/sc2code/libs/sound/resinst.c.d MKDEP obj/debug/src/sc2code/libs/sound/sound.c.d MKDEP obj/debug/src/sc2code/libs/sound/sfx.c.d MKDEP obj/debug/src/sc2code/libs/sound/music.c.d MKDEP obj/debug/src/sc2code/libs/sound/stream.c.d MKDEP obj/debug/src/sc2code/libs/sound/trackplayer.c.d MKDEP obj/debug/src/sc2code/libs/sound/mixer/mixer.c.d MKDEP obj/debug/src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.c.d MKDEP obj/debug/src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.c.d MKDEP obj/debug/src/sc2code/libs/sound/decoders/decoder.c.d MKDEP obj/debug/src/sc2code/libs/sound/decoders/wav.c.d MKDEP obj/debug/src/sc2code/libs/sound/decoders/dukaud.c.d MKDEP obj/debug/src/sc2code/libs/sound/decoders/modaud.c.d MKDEP obj/debug/src/sc2code/libs/sound/decoders/oggaud.c.d MKDEP obj/debug/src/sc2code/libs/strings/getstr.c.d MKDEP obj/debug/src/sc2code/libs/strings/sfileins.c.d MKDEP obj/debug/src/sc2code/libs/strings/sresins.c.d MKDEP obj/debug/src/sc2code/libs/strings/strings.c.d MKDEP obj/debug/src/sc2code/libs/strings/unicode.c.d MKDEP obj/debug/src/sc2code/libs/task/tasklib.c.d MKDEP obj/debug/src/sc2code/libs/threads/thrcommon.c.d MKDEP obj/debug/src/sc2code/libs/threads/sdl/sdlthreads.c.d MKDEP obj/debug/src/sc2code/libs/time/timecommon.c.d MKDEP obj/debug/src/sc2code/libs/time/sdl/sdltime.c.d MKDEP obj/debug/src/sc2code/libs/uio/charhashtable.c.d MKDEP obj/debug/src/sc2code/libs/uio/defaultfs.c.d MKDEP obj/debug/src/sc2code/libs/uio/fileblock.c.d MKDEP obj/debug/src/sc2code/libs/uio/fstypes.c.d MKDEP obj/debug/src/sc2code/libs/uio/gphys.c.d MKDEP obj/debug/src/sc2code/libs/uio/io.c.d MKDEP obj/debug/src/sc2code/libs/uio/ioaux.c.d MKDEP obj/debug/src/sc2code/libs/uio/match.c.d MKDEP obj/debug/src/sc2code/libs/uio/mount.c.d MKDEP obj/debug/src/sc2code/libs/uio/mounttree.c.d MKDEP obj/debug/src/sc2code/libs/uio/paths.c.d MKDEP obj/debug/src/sc2code/libs/uio/physical.c.d MKDEP obj/debug/src/sc2code/libs/uio/uiostream.c.d MKDEP obj/debug/src/sc2code/libs/uio/uioutils.c.d MKDEP obj/debug/src/sc2code/libs/uio/utils.c.d MKDEP obj/debug/src/sc2code/libs/uio/debug.c.d MKDEP obj/debug/src/sc2code/libs/uio/stdio/stdio.c.d MKDEP obj/debug/src/sc2code/libs/uio/zip/zip.c.d MKDEP obj/debug/src/sc2code/libs/video/vfileins.c.d MKDEP obj/debug/src/sc2code/libs/video/video.c.d MKDEP obj/debug/src/sc2code/libs/video/videodec.c.d MKDEP obj/debug/src/sc2code/libs/video/vidplayer.c.d MKDEP obj/debug/src/sc2code/libs/video/dukvid.c.d MKDEP obj/debug/src/sc2code/libs/log/uqmlog.c.d MKDEP obj/debug/src/sc2code/libs/network/netport.c.d MKDEP obj/debug/src/sc2code/libs/network/network_bsd.c.d MKDEP obj/debug/src/sc2code/libs/network/connect/connect.c.d MKDEP obj/debug/src/sc2code/libs/network/connect/listen.c.d MKDEP obj/debug/src/sc2code/libs/network/connect/resolve.c.d MKDEP obj/debug/src/sc2code/libs/network/netmanager/ndesc.c.d MKDEP obj/debug/src/sc2code/libs/network/netmanager/netmanager_bsd.c.d MKDEP obj/debug/src/sc2code/libs/network/socket/socket.c.d MKDEP obj/debug/src/sc2code/libs/network/socket/socket_bsd.c.d MKDEP obj/debug/src/sc2code/planets/calc.c.d MKDEP obj/debug/src/sc2code/planets/cargo.c.d MKDEP obj/debug/src/sc2code/planets/devices.c.d MKDEP obj/debug/src/sc2code/planets/genburv.c.d MKDEP obj/debug/src/sc2code/planets/genchmmr.c.d MKDEP obj/debug/src/sc2code/planets/gencol.c.d MKDEP obj/debug/src/sc2code/planets/gendru.c.d MKDEP obj/debug/src/sc2code/planets/genilw.c.d MKDEP obj/debug/src/sc2code/planets/genmel.c.d MKDEP obj/debug/src/sc2code/planets/genmyc.c.d MKDEP obj/debug/src/sc2code/planets/genorz.c.d MKDEP obj/debug/src/sc2code/planets/genpet.c.d MKDEP obj/debug/src/sc2code/planets/genpku.c.d MKDEP obj/debug/src/sc2code/planets/genrain.c.d MKDEP obj/debug/src/sc2code/planets/gensam.c.d MKDEP obj/debug/src/sc2code/planets/genshof.c.d MKDEP obj/debug/src/sc2code/planets/gensly.c.d MKDEP obj/debug/src/sc2code/planets/gensol.c.d MKDEP obj/debug/src/sc2code/planets/genspa.c.d MKDEP obj/debug/src/sc2code/planets/gensup.c.d MKDEP obj/debug/src/sc2code/planets/gensyr.c.d MKDEP obj/debug/src/sc2code/planets/genthrad.c.d MKDEP obj/debug/src/sc2code/planets/gentopo.c.d MKDEP obj/debug/src/sc2code/planets/genutw.c.d MKDEP obj/debug/src/sc2code/planets/genvault.c.d MKDEP obj/debug/src/sc2code/planets/genvux.c.d MKDEP obj/debug/src/sc2code/planets/genwreck.c.d MKDEP obj/debug/src/sc2code/planets/genyeh.c.d MKDEP obj/debug/src/sc2code/planets/genzoq.c.d MKDEP obj/debug/src/sc2code/planets/lander.c.d MKDEP obj/debug/src/sc2code/planets/orbits.c.d MKDEP obj/debug/src/sc2code/planets/oval.c.d MKDEP obj/debug/src/sc2code/planets/pl_stuff.c.d MKDEP obj/debug/src/sc2code/planets/planets.c.d MKDEP obj/debug/src/sc2code/planets/plangen.c.d MKDEP obj/debug/src/sc2code/planets/pstarmap.c.d MKDEP obj/debug/src/sc2code/planets/report.c.d MKDEP obj/debug/src/sc2code/planets/roster.c.d MKDEP obj/debug/src/sc2code/planets/scan.c.d MKDEP obj/debug/src/sc2code/planets/solarsys.c.d MKDEP obj/debug/src/sc2code/planets/surface.c.d MKDEP obj/debug/src/sc2code/ships/androsyn/androsyn.c.d MKDEP obj/debug/src/sc2code/ships/arilou/arilou.c.d MKDEP obj/debug/src/sc2code/ships/blackurq/blackurq.c.d MKDEP obj/debug/src/sc2code/ships/chenjesu/chenjesu.c.d MKDEP obj/debug/src/sc2code/ships/chmmr/chmmr.c.d MKDEP obj/debug/src/sc2code/ships/druuge/druuge.c.d MKDEP obj/debug/src/sc2code/ships/human/human.c.d MKDEP obj/debug/src/sc2code/ships/ilwrath/ilwrath.c.d MKDEP obj/debug/src/sc2code/ships/lastbat/lastbat.c.d MKDEP obj/debug/src/sc2code/ships/melnorme/melnorme.c.d MKDEP obj/debug/src/sc2code/ships/mmrnmhrm/mmrnmhrm.c.d MKDEP obj/debug/src/sc2code/ships/mycon/mycon.c.d MKDEP obj/debug/src/sc2code/ships/orz/orz.c.d MKDEP obj/debug/src/sc2code/ships/pkunk/pkunk.c.d MKDEP obj/debug/src/sc2code/ships/probe/probe.c.d MKDEP obj/debug/src/sc2code/ships/shofixti/shofixti.c.d MKDEP obj/debug/src/sc2code/ships/sis_ship/sis_ship.c.d MKDEP obj/debug/src/sc2code/ships/slylandr/slylandr.c.d MKDEP obj/debug/src/sc2code/ships/spathi/spathi.c.d MKDEP obj/debug/src/sc2code/ships/supox/supox.c.d MKDEP obj/debug/src/sc2code/ships/syreen/syreen.c.d MKDEP obj/debug/src/sc2code/ships/thradd/thradd.c.d MKDEP obj/debug/src/sc2code/ships/umgah/umgah.c.d MKDEP obj/debug/src/sc2code/ships/urquan/urquan.c.d MKDEP obj/debug/src/sc2code/ships/utwig/utwig.c.d MKDEP obj/debug/src/sc2code/ships/vux/vux.c.d MKDEP obj/debug/src/sc2code/ships/yehat/yehat.c.d MKDEP obj/debug/src/sc2code/ships/zoqfot/zoqfot.c.d MKDEP obj/debug/src/sc2code/netplay/checkbuf.c.d MKDEP obj/debug/src/sc2code/netplay/checksum.c.d MKDEP obj/debug/src/sc2code/netplay/crc.c.d MKDEP obj/debug/src/sc2code/netplay/netconnection.c.d MKDEP obj/debug/src/sc2code/netplay/netinput.c.d MKDEP obj/debug/src/sc2code/netplay/netmelee.c.d MKDEP obj/debug/src/sc2code/netplay/netmisc.c.d MKDEP obj/debug/src/sc2code/netplay/netoptions.c.d MKDEP obj/debug/src/sc2code/netplay/netrcv.c.d MKDEP obj/debug/src/sc2code/netplay/netsend.c.d MKDEP obj/debug/src/sc2code/netplay/netstate.c.d MKDEP obj/debug/src/sc2code/netplay/notify.c.d MKDEP obj/debug/src/sc2code/netplay/packet.c.d MKDEP obj/debug/src/sc2code/netplay/packethandlers.c.d MKDEP obj/debug/src/sc2code/netplay/packetsenders.c.d MKDEP obj/debug/src/sc2code/netplay/packetq.c.d MKDEP obj/debug/src/sc2code/netplay/proto/npconfirm.c.d MKDEP obj/debug/src/sc2code/netplay/proto/ready.c.d MKDEP obj/debug/src/sc2code/netplay/proto/reset.c.d MKDEP obj/debug/src/getopt/getopt.c.d MKDEP obj/debug/src/getopt/getopt1.c.d CC obj/debug/src/options.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/options.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/port.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/port.c:23: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/starcon2.c.o In file included from /usr/include/ctype.h:25, from src/getopt/getopt.h:34, from src/starcon2.c:26: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/starcon2.c: In function 'parseOptions': src/starcon2.c:841:61: warning: passing argument 2 of 'parseIntOption' from incompatible pointer type [-Wincompatible-pointer-types] 841 | if (parseIntOption (optarg, &netplayOptions.inputDelay, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t * {aka long unsigned int *} src/starcon2.c:96:50: note: expected 'int *' but argument is of type 'size_t *' {aka 'long unsigned int *'} 96 | static int parseIntOption (const char *str, int *result, | ~~~~~^~~~~~ CC obj/debug/src/sc2code/battle.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/battle.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/battle.c: In function 'DoBattle': src/sc2code/battle.c:331:41: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 331 | BOOLEAN found_a_pkunk = false; | ^~~~~ src/sc2code/battle.c:341:47: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 341 | found_a_pkunk = true; | ^ CC obj/debug/src/sc2code/border.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/border.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/build.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/build.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/cleanup.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/cleanup.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/cleanup.c:103:1: warning: 'UninitGameKernel' defined but not used [-Wunused-function] 103 | UninitGameKernel (void) | ^~~~~~~~~~~~~~~~ CC obj/debug/src/sc2code/clock.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/clock.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/cnctdlg.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/cnctdlg.h:24, from src/sc2code/cnctdlg.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/cnctdlg.c: In function 'MCD_DrawButton': src/sc2code/cnctdlg.c:111:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 111 | t.pStr = self->name; | ^ src/sc2code/cnctdlg.c: In function 'MCD_DrawSlider': src/sc2code/cnctdlg.c:146:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 146 | t.pStr = self->category; | ^ src/sc2code/cnctdlg.c: In function 'MCD_DrawTextEntry': src/sc2code/cnctdlg.c:197:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 197 | t.pStr = self->category; | ^ src/sc2code/cnctdlg.c:212:44: warning: pointer targets in passing argument 1 of 'utf8StringCount' differ in signedness [-Wpointer-sign] 212 | t.CharCount = utf8StringCount (self->value); | ~~~~^~~~~~~ | | | char * In file included from src/sc2code/libs/gfxlib.h:124, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/cnctdlg.c:22: src/sc2code/libs/strlib.h:59:45: note: expected 'const unsigned char *' but argument is of type 'char *' 59 | size_t utf8StringCount(const unsigned char *start); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/cnctdlg.c:213:16: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 213 | t.pStr = self->value; | ^ src/sc2code/cnctdlg.c: In function 'OnTextEntryFrame': src/sc2code/cnctdlg.c:334:27: warning: unused variable 'widget' [-Wunused-variable] 334 | WIDGET_TEXTENTRY *widget = (WIDGET_TEXTENTRY *) pTES->CbParam; | ^~~~~~ src/sc2code/cnctdlg.c: In function 'OnTextEntryEvent': src/sc2code/cnctdlg.c:351:53: warning: pointer targets in passing argument 1 of 'utf8StringCount' differ in signedness [-Wpointer-sign] 351 | widget->cursor_pos = utf8StringCount (widget->value); | ~~~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:59:45: note: expected 'const unsigned char *' but argument is of type 'char *' 59 | size_t utf8StringCount(const unsigned char *start); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/cnctdlg.c:356:64: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 356 | utf8StringCopy (revert_buf, sizeof (revert_buf), widget->value); | ~~~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/cnctdlg.c:362:21: warning: pointer targets in assignment from 'char *' to 'UNICODE *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 362 | tes.BaseStr = widget->value; | ^ src/sc2code/cnctdlg.c:372:39: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 372 | utf8StringCopy (widget->value, widget->maxlen, revert_buf); | ~~~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/cnctdlg.c: In function 'do_connect': src/sc2code/cnctdlg.c:398:73: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 398 | netplayOptions.peer[current_state->which_side].isServer = FALSE; | ^ src/sc2code/cnctdlg.c: In function 'do_listen': src/sc2code/cnctdlg.c:415:73: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 415 | netplayOptions.peer[current_state->which_side].isServer = TRUE; | ^ src/sc2code/cnctdlg.c: In function 'CreateWidgets': src/sc2code/cnctdlg.c:442:14: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 442 | done = false; | ^ src/sc2code/cnctdlg.c:453:25: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 453 | buttons[0].name = GAME_STRING (NETMELEE_STRING_BASE + 19); | ^ src/sc2code/cnctdlg.c:455:25: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 455 | buttons[1].name = GAME_STRING (NETMELEE_STRING_BASE + 20); | ^ src/sc2code/cnctdlg.c:457:25: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 457 | buttons[2].name = GAME_STRING (NETMELEE_STRING_BASE + 21); | ^ src/sc2code/cnctdlg.c:486:25: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 486 | slider.category = GAME_STRING (NETMELEE_STRING_BASE + 24); | ^ src/sc2code/cnctdlg.c:504:27: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 504 | texts[0].category = GAME_STRING (NETMELEE_STRING_BASE + 22); | ^ src/sc2code/cnctdlg.c:506:27: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 506 | texts[1].category = GAME_STRING (NETMELEE_STRING_BASE + 23); | ^ CC obj/debug/src/sc2code/collide.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/collide.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/comm.c: In function 'add_text': src/sc2code/comm.c:203:30: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 203 | locText.pStr = "*"; | ^ src/sc2code/comm.c: In function 'DoConvSummary': src/sc2code/comm.c:1031:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 1031 | snprintf (buffer, sizeof (buffer), "%s%s%s", // "MORE" | ^~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/globdata.h:23: /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/comm.c: In function 'HailAlien': src/sc2code/comm.c:1319:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1319 | LoadGraphic ((RESOURCE)CommData.AlienFrame)); | ^ src/sc2code/comm.c:1321:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1321 | LoadFont ((RESOURCE)CommData.AlienFont)); | ^ In file included from src/sc2code/libs/timelib.h:22, from src/sc2code/libs/threadlib.h:48: src/sc2code/comm.c: In function 'InitCommunication': src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/comm.c:1470:34: note: in expansion of macro 'HIWORD' 1470 | else if (HIWORD (GLOBAL (ShipStamp.frame)) == 0) | ^~~~~~ CC obj/debug/src/sc2code/commanim.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/commanim.h:20, from src/sc2code/commanim.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/commglue.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/commglue.h:22, from src/sc2code/commglue.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/commglue.c: In function 'NPCPhrase_cb': src/sc2code/commglue.c:58:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 58 | sprintf (numbuf, | ^~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/globdata.h:23: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/commglue.c:81:50: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 81 | sprintf (numbuf, "%d", -index); | ^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/commglue.c:92:49: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 92 | strcpy (numbuf, (UNICODE *)GetStringAddress (S)); | ^~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/velocity.h:22, from src/sc2code/globdata.h:25: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/commglue.c:92:57: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 92 | strcpy (numbuf, (UNICODE *)GetStringAddress (S)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c:94:57: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 94 | strcat (numbuf, GLOBAL_SIS (CommanderName)); | ^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:149:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/globdata.h:971:41: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 971 | #define GLOBAL_SIS(f) GlobData.SIS_state.f src/sc2code/commglue.c:94:65: note: in expansion of macro 'GLOBAL_SIS' 94 | strcat (numbuf, GLOBAL_SIS (CommanderName)); | ^~~~~~~~~~ /usr/include/string.h:149:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c: In function 'NPCNumberPhrase': src/sc2code/commglue.c:135:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 135 | sprintf (numbuf, "%d", number); | ^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/commglue.c: In function 'GetAllianceName': src/sc2code/commglue.c:232:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 232 | strcpy (buf, (UNICODE *)GetStringAddress (S)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/commglue.c:232:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 232 | strcpy (buf, (UNICODE *)GetStringAddress (S)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c:235:25: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 235 | strcat (buf, GLOBAL_SIS (CommanderName)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:149:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/globdata.h:971:41: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 971 | #define GLOBAL_SIS(f) GlobData.SIS_state.f src/sc2code/commglue.c:235:30: note: in expansion of macro 'GLOBAL_SIS' 235 | strcat (buf, GLOBAL_SIS (CommanderName)); | ^~~~~~~~~~ /usr/include/string.h:149:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c:236:25: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 236 | strcat (buf, (UNICODE *)GetStringAddress (SetRelStringTableIndex (S, 1))); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:149:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/commglue.c:236:30: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 236 | strcat (buf, (UNICODE *)GetStringAddress (SetRelStringTableIndex (S, 1))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:149:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c: In function 'construct_response': src/sc2code/commglue.c:256:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 256 | strcpy (buf, (UNICODE *)GetStringAddress (S)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/commglue.c:256:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 256 | strcpy (buf, (UNICODE *)GetStringAddress (S)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/commglue.c:258:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 258 | len = strlen (buf); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/commglue.c:266:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 266 | len = strlen (name); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/commglue.c:267:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 267 | strncpy (buf, name, len); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/commglue.c:267:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 267 | strncpy (buf, name, len); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ CC obj/debug/src/sc2code/confirm.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/confirm.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/credits.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/credits.h:20, from src/sc2code/credits.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/credits.c: In function 'ParseTextLines': src/sc2code/credits.c:94:29: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 94 | Lines->pStr = Buffer; | ^ src/sc2code/credits.c: In function 'Credits_RenderTextFrame': src/sc2code/credits.c:153:26: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 153 | if (2 != sscanf (pStr, "%d %31s %n", &size, salign, &scaned) | ^~~~ | | | STRINGPTR {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/credits.c:21: /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/credits.c:158:25: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 158 | utf8StringCopy (buf, sizeof (buf), pStr); | ^~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/credits.c:173:62: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 173 | for (icol = 1, nextcol = strchr (TextLines[i].pStr, '\t'); | ~~~~~~~~~~~~^~~~~ | | | const UNICODE * {aka const unsigned char *} In file included from src/sc2code/velocity.h:22, from src/sc2code/element.h:25, from src/sc2code/races.h:23: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'const UNICODE *' {aka 'const unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ src/sc2code/credits.c:182:53: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 182 | TextLines[cnt].pStr = nextcol; | ^ src/sc2code/credits.c:207:16: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 207 | t.pStr = " "; | ^ CC obj/debug/src/sc2code/cyborg.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/cyborg.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/demo.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/declib.h:22, from src/sc2code/demo.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/displist.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/displist.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/displist.c: In function 'InitQueue': src/sc2code/displist.c:30:29: warning: unused parameter 'num_elements' [-Wunused-parameter] 30 | InitQueue (PQUEUE pq, COUNT num_elements, OBJ_SIZE size) | ~~~~~~^~~~~~~~~~~~ CC obj/debug/src/sc2code/dummy.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/reslib.h:23, from src/sc2code/coderes.h:22, from src/sc2code/dummy.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/encount.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/encount.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/encount.c: In function 'UninitEncounter': src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/encount.c:498:50: note: in expansion of macro 'HIWORD' 498 | else if (HIWORD (GLOBAL (ShipStamp.frame)) == 0) | ^~~~~~ src/sc2code/encount.c:548:73: warning: pointer targets in passing argument 1 of 'strupr' differ in signedness [-Wpointer-sign] 548 | strupr (buf); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/strlib.h:23, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/encount.h:23: src/port.h:55:21: note: expected 'char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 55 | char *strupr (char *str); | ~~~~~~^~~ src/sc2code/encount.c:586:66: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 586 | sprintf (buf, "%u", RecycleAmount); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/encount.c:665:50: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 665 | sprintf (buf, "%u %s", RecycleAmount, | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/fmv.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/fmv.h:20, from src/sc2code/fmv.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/galaxy.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/galaxy.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/gameev.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/gameev.h:20, from src/sc2code/gameev.c:18: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/gameinp.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/gameinp.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/gameopt.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/gameopt.h:19, from src/sc2code/gameopt.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/gameopt.c: In function 'FeedbackSetting': src/sc2code/gameopt.c:146:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 146 | snprintf (buf, sizeof (buf) - 1, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/gameopt.h:20: /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:154:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 154 | snprintf (buf, sizeof (buf) - 1, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:174:35: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 174 | snprintf (buf, sizeof (buf) - 1, "%s %s%s", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c: In function 'FeedbackQuit': src/sc2code/gameopt.c:196:30: warning: pointer targets in initialization of 'const UNICODE *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 196 | const UNICODE *buf = ""; | ^~ src/sc2code/gameopt.c: In function 'DrawCargo': src/sc2code/gameopt.c:665:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 665 | sprintf (buf, "%u", GLOBAL_SIS (ElementAmounts[i])); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:677:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 677 | sprintf (buf, "%u", GLOBAL_SIS (TotalBioMass)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c: In function 'ShowSummary': src/sc2code/gameopt.c:802:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 802 | sprintf (buf, "%u", GLOBAL_SIS (ResUnits)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:816:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 816 | sprintf (buf, "%u", MAKE_WORD (pSD->MCreditLo, pSD->MCreditHi)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:887:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 887 | sprintf (buf, "%03u.%01u : %03u.%01u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c: In function 'DoPickGame': src/sc2code/gameopt.c:933:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 933 | SleepThreadUntil ((DWORD)pMS->CurFrame); | ^ src/sc2code/gameopt.c:1141:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1141 | sprintf (buf, "%02i", NewState - SHIFT + i); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:1143:50: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1143 | sprintf (buf, "%03i", NewState - SHIFT + i); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c:1159:50: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1159 | sprintf (buf, "%s %s", GAME_STRING (SAVEGAME_STRING_BASE + 4), buf2); // "Saved Game - Date:" | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gameopt.c: In function 'DoGameOptions': src/sc2code/gameopt.c:1322:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1322 | pMS->CurFrame = (FRAME)FadeMusic (0, ONE_SECOND >> 1); | ^ src/sc2code/gameopt.c: In function 'ShowSummary': src/sc2code/gameopt.c:846:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 846 | { | ^ src/sc2code/gameopt.c:861:25: note: here 861 | default: | ^~~~~~~ CC obj/debug/src/sc2code/gendef.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/gendef.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/getchar.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/getchar.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/getchar.c: In function 'JoyCharFindIn': src/sc2code/getchar.c:84:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 84 | for (i = 0; i < setsize && strcmp (set[i].enc, ch->enc) != 0; ++i) | ~~~~~~^~~~ | | | const unsigned char * In file included from src/sc2code/velocity.h:22, from src/sc2code/element.h:25, from src/sc2code/races.h:23, from src/sc2code/controls.h:22, from src/sc2code/getchar.c:20: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/getchar.c:84:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 84 | for (i = 0; i < setsize && strcmp (set[i].enc, ch->enc) != 0; ++i) | ~~^~~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/getchar.c: In function 'DoTextEntry': src/sc2code/getchar.c:190:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 190 | len = strlen (pStr); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/getchar.c:284:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 284 | len = strlen (pStr); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/getchar.c:362:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 362 | if (strcmp (newch.enc, ch.enc) != 0) | ~~~~~^~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/getchar.c:362:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 362 | if (strcmp (newch.enc, ch.enc) != 0) | ~~^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ CC obj/debug/src/sc2code/globdata.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/globdata.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/gravity.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/gravity.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/gravity.c: In function 'AtLeastOneShipIsPainfullyClose': src/sc2code/gravity.c:54:48: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 54 | return true; | ^~~~ src/sc2code/gravity.c:61:16: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 61 | return false; | ^~~~~ CC obj/debug/src/sc2code/gravwell.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/gravwell.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/grpinfo.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/grpinfo.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/grpinfo.c: In function 'ReadShipFragment': src/sc2code/grpinfo.c:107:23: warning: pointer targets in passing argument 2 of 'sread_16' differ in signedness [-Wpointer-sign] 107 | sread_16 (fp, &FragPtr->ShipInfo.loc.x); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} In file included from src/sc2code/grpinfo.c:25: src/sc2code/state.h:84:28: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 84 | sread_16 (PVOID fp, PUWORD v) | ~~~~~~~^ src/sc2code/grpinfo.c:108:23: warning: pointer targets in passing argument 2 of 'sread_16' differ in signedness [-Wpointer-sign] 108 | sread_16 (fp, &FragPtr->ShipInfo.loc.y); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/state.h:84:28: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 84 | sread_16 (PVOID fp, PUWORD v) | ~~~~~~~^ CC obj/debug/src/sc2code/hyper.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/hyper.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/hyper.c: In function 'hyper_transition': src/sc2code/hyper.c:597:49: warning: cast between incompatible function types from 'BOOLEAN (*)(ELEMENT *)' {aka 'BOOLEAN (*)(struct element *)'} to 'void (*)(struct element *)' [-Wcast-function-type] 597 | (void (*) (struct element | ^ CC obj/debug/src/sc2code/init.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/init.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/intel.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/intel.h:22, from src/sc2code/intel.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/intro.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/intro.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/intro.c: In function 'ParseTextLines': src/sc2code/intro.c:147:29: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 147 | Lines->pStr = Buffer; | ^ src/sc2code/intro.c: In function 'DoPresentation': src/sc2code/intro.c:316:34: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 316 | if (1 != sscanf (pStr, "%15s", Opcode)) | ^~~~ | | | STRINGPTR {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:326:42: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 326 | if (2 == sscanf (pStr, "%d %d", &w, &h)) | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:340:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 340 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:353:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 353 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:360:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 360 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:373:42: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 373 | if (1 == sscanf (pStr, "%d", &msecs)) | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:385:42: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 385 | if (1 == sscanf (pStr, "%d", &msecs)) | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:402:42: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 402 | if (1 == sscanf (pStr, "%d", &msecs)) | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:412:43: warning: pointer targets in passing argument 1 of 'ParseColorString' differ in signedness [-Wpointer-sign] 412 | ParseColorString (pStr, &pPIS->TextColor); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:92:31: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 92 | ParseColorString (const char *Src, COLOR* pColor) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:416:43: warning: pointer targets in passing argument 1 of 'ParseColorString' differ in signedness [-Wpointer-sign] 416 | ParseColorString (pStr, &pPIS->TextBackColor); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:92:31: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 92 | ParseColorString (const char *Src, COLOR* pColor) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:420:43: warning: pointer targets in passing argument 1 of 'ParseColorString' differ in signedness [-Wpointer-sign] 420 | ParseColorString (pStr, &pPIS->TextFadeColor); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:92:31: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 92 | ParseColorString (const char *Src, COLOR* pColor) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:432:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 432 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:475:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 475 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:563:42: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 563 | if (1 == sscanf (pStr, "%15s", ImgName) | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:567:49: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 567 | cargs = sscanf (pStr, "%*s %d %d %d %d", | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:573:49: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 573 | cargs = sscanf (pStr, "%d %d %d %d %d", | ^~~~ | | | STRINGPTR {aka unsigned char *} /usr/include/stdio.h:423:43: note: expected 'const char * restrict' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 423 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/intro.c:639:52: warning: pointer targets in passing argument 2 of 'DoFadeScreen' differ in signedness [-Wpointer-sign] 639 | return DoFadeScreen (pPIS, pStr, FadeAllToColor); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:104:59: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 104 | DoFadeScreen (PRESENTATION_INPUT_STATE* pPIS, const char *Src, BYTE FadeType) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:644:52: warning: pointer targets in passing argument 2 of 'DoFadeScreen' differ in signedness [-Wpointer-sign] 644 | return DoFadeScreen (pPIS, pStr, FadeAllToBlack); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:104:59: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 104 | DoFadeScreen (PRESENTATION_INPUT_STATE* pPIS, const char *Src, BYTE FadeType) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:649:52: warning: pointer targets in passing argument 2 of 'DoFadeScreen' differ in signedness [-Wpointer-sign] 649 | return DoFadeScreen (pPIS, pStr, FadeAllToWhite); | ^~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/intro.c:104:59: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 104 | DoFadeScreen (PRESENTATION_INPUT_STATE* pPIS, const char *Src, BYTE FadeType) | ~~~~~~~~~~~~^~~ src/sc2code/intro.c:670:45: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 670 | utf8StringCopy (pPIS->Buffer, sizeof (pPIS->Buffer), pStr); | ~~~~^~~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/ipdisp.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ipdisp.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ipdisp.c: In function 'flag_ship_preprocess': src/sc2code/ipdisp.c:673:34: warning: variable 'hPredElement' set but not used [-Wunused-but-set-variable] 673 | HELEMENT hPredElement; | ^~~~~~~~~~~~ CC obj/debug/src/sc2code/load.c.o In file included from /usr/include/assert.h:35, from src/sc2code/load.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/load.c: In function 'LoadShipQueue': src/sc2code/load.c:178:31: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 178 | cread_16 (fh, &FragPtr->ShipInfo.loc.x); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:179:31: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 179 | cread_16 (fh, &FragPtr->ShipInfo.loc.y); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:190:39: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 190 | cread_16 (fh, &ExtFragPtr->ShipInfo.known_loc.x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:191:39: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 191 | cread_16 (fh, &ExtFragPtr->ShipInfo.known_loc.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:194:39: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 194 | cread_16 (fh, &ExtFragPtr->ShipInfo.dest_loc.x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:195:39: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 195 | cread_16 (fh, &ExtFragPtr->ShipInfo.dest_loc.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c: In function 'LoadEncounter': src/sc2code/load.c:214:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 214 | cread_16 (fh, &EncounterPtr->transition_state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | SIZE * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'SIZE *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:215:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 215 | cread_16 (fh, &EncounterPtr->origin.x); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:216:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 216 | cread_16 (fh, &EncounterPtr->origin.y); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:219:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 219 | cread_16 (fh, &EncounterPtr->SD.star_pt.x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:220:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 220 | cread_16 (fh, &EncounterPtr->SD.star_pt.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:240:32: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 240 | cread_16 (fh, &ShipInfo->loc.x); | ^~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:241:32: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 241 | cread_16 (fh, &ShipInfo->loc.y); | ^~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:251:24: warning: pointer targets in passing argument 2 of 'cread_32' differ in signedness [-Wpointer-sign] 251 | cread_32 (fh, &EncounterPtr->log_x); | ^~~~~~~~~~~~~~~~~~~~ | | | SDWORD * {aka int *} src/sc2code/load.c:60:33: note: expected 'PDWORD' {aka 'unsigned int *'} but argument is of type 'SDWORD *' {aka 'int *'} 60 | cread_32 (DECODE_REF fh, PDWORD v) | ~~~~~~~^ src/sc2code/load.c:252:24: warning: pointer targets in passing argument 2 of 'cread_32' differ in signedness [-Wpointer-sign] 252 | cread_32 (fh, &EncounterPtr->log_y); | ^~~~~~~~~~~~~~~~~~~~ | | | SDWORD * {aka int *} src/sc2code/load.c:60:33: note: expected 'PDWORD' {aka 'unsigned int *'} but argument is of type 'SDWORD *' {aka 'int *'} 60 | cread_32 (DECODE_REF fh, PDWORD v) | ~~~~~~~^ src/sc2code/load.c: In function 'LoadClockState': src/sc2code/load.c:297:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 297 | cread_16 (fh, &ClockPtr->tick_count); | ^~~~~~~~~~~~~~~~~~~~~ | | | SIZE * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'SIZE *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:298:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 298 | cread_16 (fh, &ClockPtr->day_in_ticks); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | SIZE * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'SIZE *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c: In function 'LoadGameState': src/sc2code/load.c:323:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 323 | cread_16 (fh, &GSPtr->autopilot.x); | ^~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:324:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 324 | cread_16 (fh, &GSPtr->autopilot.y); | ^~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:325:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 325 | cread_16 (fh, &GSPtr->ip_location.x); | ^~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:326:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 326 | cread_16 (fh, &GSPtr->ip_location.y); | ^~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:328:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 328 | cread_16 (fh, &GSPtr->ShipStamp.origin.x); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:329:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 329 | cread_16 (fh, &GSPtr->ShipStamp.origin.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:331:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 331 | GSPtr->ShipStamp.frame = (FRAME)tmpd; | ^ src/sc2code/load.c:335:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 335 | cread_16 (fh, &GSPtr->velocity.vector.width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:336:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 336 | cread_16 (fh, &GSPtr->velocity.vector.height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:337:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 337 | cread_16 (fh, &GSPtr->velocity.fract.width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:338:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 338 | cread_16 (fh, &GSPtr->velocity.fract.height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:339:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 339 | cread_16 (fh, &GSPtr->velocity.error.width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:340:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 340 | cread_16 (fh, &GSPtr->velocity.error.height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:341:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 341 | cread_16 (fh, &GSPtr->velocity.incr.width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:342:24: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 342 | cread_16 (fh, &GSPtr->velocity.incr.height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c: In function 'LoadSisState': src/sc2code/load.c:362:39: warning: pointer targets in passing argument 2 of 'read_32' differ in signedness [-Wpointer-sign] 362 | read_32 (fp, &SSPtr->log_x) != 1 || | ^~~~~~~~~~~~~ | | | SDWORD * {aka int *} src/sc2code/load.c:101:27: note: expected 'PDWORD' {aka 'unsigned int *'} but argument is of type 'SDWORD *' {aka 'int *'} 101 | read_32 (PVOID fp, PDWORD v) | ~~~~~~~^ src/sc2code/load.c:363:39: warning: pointer targets in passing argument 2 of 'read_32' differ in signedness [-Wpointer-sign] 363 | read_32 (fp, &SSPtr->log_y) != 1 || | ^~~~~~~~~~~~~ | | | SDWORD * {aka int *} src/sc2code/load.c:101:27: note: expected 'PDWORD' {aka 'unsigned int *'} but argument is of type 'SDWORD *' {aka 'int *'} 101 | read_32 (PVOID fp, PDWORD v) | ~~~~~~~^ src/sc2code/load.c: In function 'LoadStarDesc': src/sc2code/load.c:415:23: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 415 | cread_16 (fh, &SDPtr->star_pt.x); | ^~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ src/sc2code/load.c:416:23: warning: pointer targets in passing argument 2 of 'cread_16' differ in signedness [-Wpointer-sign] 416 | cread_16 (fh, &SDPtr->star_pt.y); | ^~~~~~~~~~~~~~~~~ | | | COORD * {aka short int *} src/sc2code/load.c:51:33: note: expected 'PUWORD' {aka 'short unsigned int *'} but argument is of type 'COORD *' {aka 'short int *'} 51 | cread_16 (DECODE_REF fh, PUWORD v) | ~~~~~~~^ CC obj/debug/src/sc2code/loadship.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/loadship.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/loadship.c: In function 'load_ship': src/sc2code/loadship.c:55:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 55 | (RESOURCE)StarShipPtr->RaceDescPtr->ship_info.icons)); | ^ src/sc2code/loadship.c:63:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | (RESOURCE)StarShipPtr->RaceDescPtr->ship_info.melee_icon)); | ^ src/sc2code/loadship.c:86:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 86 | (RESOURCE)RawPtr->ship[0], | ^ src/sc2code/loadship.c:87:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 87 | (RESOURCE)RawPtr->ship[1], | ^ src/sc2code/loadship.c:88:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 88 | (RESOURCE)RawPtr->ship[2])) | ^ src/sc2code/loadship.c:94:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 94 | (RESOURCE)RawPtr->weapon[0], | ^ src/sc2code/loadship.c:95:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 95 | (RESOURCE)RawPtr->weapon[1], | ^ src/sc2code/loadship.c:96:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 96 | (RESOURCE)RawPtr->weapon[2])) | ^ src/sc2code/loadship.c:103:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 103 | (RESOURCE)RawPtr->special[0], | ^ src/sc2code/loadship.c:104:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 104 | (RESOURCE)RawPtr->special[1], | ^ src/sc2code/loadship.c:105:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 105 | (RESOURCE)RawPtr->special[2])) | ^ src/sc2code/loadship.c:113:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 113 | (RESOURCE)RawPtr->captain_control.background)); | ^ CC obj/debug/src/sc2code/master.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/master.h:20, from src/sc2code/master.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/melee.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/init.h:20, from src/sc2code/melee.h:22, from src/sc2code/melee.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/melee.c: In function 'DrawTeamString': src/sc2code/melee.c:462:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 462 | lfText.CharCount = strlen (lfText.pStr); | ~~~~~~^~~~~ | | | const UNICODE * {aka const unsigned char *} In file included from src/sc2code/velocity.h:22, from src/sc2code/element.h:25, from src/sc2code/netplay/checksum.h:30, from src/sc2code/netplay/checkbuf.h:27, from src/sc2code/netplay/netconnection.h:44, from src/sc2code/netplay/packet.h:64, from src/sc2code/melee.h:27: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const UNICODE *' {aka 'const unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/melee.c:470:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 470 | sprintf (buf, "%d", pMS->star_bucks[side]); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'DrawMeleeStatusMessage': src/sc2code/melee.c:638:29: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 638 | lfText.pStr = message; | ^ In file included from src/sc2code/melee.c:28: src/sc2code/melee.c: In function 'UpdateMeleeStatusMessage': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:670:41: note: in expansion of macro 'GAME_STRING' 670 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 0)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:677:49: note: in expansion of macro 'GAME_STRING' 677 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 0)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:683:49: note: in expansion of macro 'GAME_STRING' 683 | GAME_STRING (NETMELEE_STRING_BASE + 1)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:688:49: note: in expansion of macro 'GAME_STRING' 688 | GAME_STRING (NETMELEE_STRING_BASE + 2)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:694:49: note: in expansion of macro 'GAME_STRING' 694 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 3)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/melee.c: In function 'LoadTeamImage': src/sc2code/melee.c:1047:46: warning: pointer targets in passing argument 2 of 'res_OpenResFile' differ in signedness [-Wpointer-sign] 1047 | load_fp = res_OpenResFile (meleeDir, pfile, "rb"); | ^~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/melee.h:26: src/sc2code/libs/reslib.h:56:69: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 56 | extern uio_Stream *res_OpenResFile (uio_DirHandle *dir, const char *filename, | ~~~~~~~~~~~~^~~~~~~~ src/sc2code/melee.c: In function 'DrawFileStrings': src/sc2code/melee.c:1119:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1119 | sprintf (buf, "%d", GetTeamValue (&pMS->FileList[bot])); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:1164:50: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1164 | sprintf (buf, "%d", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'LoadTeamList': src/sc2code/melee.c:1353:59: warning: pointer targets in passing argument 3 of 'LoadTeamImage' differ in signedness [-Wpointer-sign] 1353 | status = LoadTeamImage (pMS->TeamDE, &TI, file); | ^~~~ | | | char * src/sc2code/melee.c:1037:26: note: expected 'UNICODE *' {aka 'unsigned char *'} but argument is of type 'char *' 1037 | UNICODE* pFilePath) | ~~~~~~~~~^~~~~~~~~ src/sc2code/melee.c:1371:44: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 1371 | if (pbuf && stricmp (file, pbuf) == 0) | ^~~~ | | | UNICODE * {aka unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/melee.c:1350:21: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1350 | int status; | ^~~~~~ src/sc2code/melee.c:1341:1: warning: label 'GetNewList' defined but not used [-Wunused-label] 1341 | GetNewList: | ^~~~~~~~~~ src/sc2code/melee.c: In function 'DoSaveTeam': src/sc2code/melee.c:1419:28: warning: pointer targets in passing argument 2 of 'LoadTeamList' differ in signedness [-Wpointer-sign] 1419 | LoadTeamList (pMS, file); | ^~~~ | | | char * src/sc2code/melee.c:1336:42: note: expected 'UNICODE *' {aka 'unsigned char *'} but argument is of type 'char *' 1336 | LoadTeamList (PMELEE_STATE pMS, UNICODE *pbuf) | ~~~~~~~~~^~~~ src/sc2code/melee.c: In function 'DoConfirmSettings': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:1843:41: note: in expansion of macro 'GAME_STRING' 1843 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 4)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/melee.c: In function 'BuildAndDrawShipList': src/sc2code/melee.c:2093:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2093 | sprintf (buf, "%d", pMS->star_bucks[i]); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'StartMeleeButtonPressed': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2212:41: note: in expansion of macro 'GAME_STRING' 2212 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 31)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2222:41: note: in expansion of macro 'GAME_STRING' 2222 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 32)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2250:57: note: in expansion of macro 'GAME_STRING' 2250 | GAME_STRING (NETMELEE_STRING_BASE + 5)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2255:57: note: in expansion of macro 'GAME_STRING' 2255 | GAME_STRING (NETMELEE_STRING_BASE + 6)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2266:57: note: in expansion of macro 'GAME_STRING' 2266 | GAME_STRING (NETMELEE_STRING_BASE + 14)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2270:57: note: in expansion of macro 'GAME_STRING' 2270 | GAME_STRING (NETMELEE_STRING_BASE + 15)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:2282:49: note: in expansion of macro 'GAME_STRING' 2282 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 7)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/melee.c: In function 'check_for_disconnections': src/sc2code/melee.c:2416:24: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 2416 | bool changed = FALSE; | ^~~~~ src/sc2code/melee.c:2432:33: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 2432 | changed = TRUE; | ^ src/sc2code/melee.c: In function 'InitPreBuilt': src/sc2code/melee.c:2681:73: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2681 | /*GAME_STRING (MELEE_STRING_BASE + 4)*/ "All ships random"); | ^~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2695:73: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2695 | /*GAME_STRING (MELEE_STRING_BASE + 5)*/ "One of each ship"); | ^~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2708:41: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 2708 | success = true; | ^ src/sc2code/melee.c:2721:65: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 2721 | success = false; | ^ src/sc2code/melee.c:2734:73: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2734 | /*GAME_STRING (MELEE_STRING_BASE + 6)*/ "Test team"); | ^~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2782:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2782 | "Ford's Fighters"); | ^~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2795:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2795 | "Leyland's Lashers"); | ^~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2807:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2807 | "The Gregorizers 200"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2824:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2824 | "300 point Armada!"); | ^~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2845:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2845 | "Little Dudes with Attitudes"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2858:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2858 | "New Alliance Ships"); | ^~~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2879:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2879 | "Old Alliance Ships"); | ^~~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2896:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2896 | "Old Hierarchy Ships"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2913:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2913 | "Star Control 1"); | ^~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c:2934:33: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 2934 | "Star Control 2"); | ^~~~~~~~~~~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'teamStringChanged': src/sc2code/melee.c:3105:14: warning: pointer targets in assignment from 'UNICODE *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 3105 | name = pMS->TeamImage[player].TeamName; | ^ src/sc2code/melee.c: In function 'updateTeamName': src/sc2code/melee.c:3197:38: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 3197 | strncpy (pMS->TeamImage[side].TeamName, name, len); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/melee.c: In function 'confirmationCancelled': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3287:41: note: in expansion of macro 'GAME_STRING' 3287 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 16)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DrawMeleeStatusMessage' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3290:41: note: in expansion of macro 'GAME_STRING' 3290 | DrawMeleeStatusMessage (GAME_STRING (NETMELEE_STRING_BASE + 17)); | ^~~~~~~~~~~ src/sc2code/melee.c:620:37: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 620 | DrawMeleeStatusMessage (const char *message) | ~~~~~~~~~~~~^~~~~~~ src/sc2code/melee.c: In function 'connectedFeedback': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3318:43: note: in expansion of macro 'GAME_STRING' 3318 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 8), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3322:43: note: in expansion of macro 'GAME_STRING' 3322 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 9), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'abortReasonString': src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3335:32: note: in expansion of macro 'GAME_STRING' 3335 | return GAME_STRING (NETMELEE_STRING_BASE + 25); | ^~~~~~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3338:32: note: in expansion of macro 'GAME_STRING' 3338 | return GAME_STRING (NETMELEE_STRING_BASE + 26); | ^~~~~~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3341:32: note: in expansion of macro 'GAME_STRING' 3341 | return GAME_STRING (NETMELEE_STRING_BASE + 27); | ^~~~~~~~~~~ src/sc2code/melee.c: In function 'abortFeedback': src/sc2code/melee.c:3355:34: warning: implicit conversion from 'NetplayAbortReason' to 'NetplayResetReason' [-Wenum-conversion] 3355 | msg = abortReasonString (reason); | ^~~~~~ src/sc2code/melee.c: In function 'resetReasonString': src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3366:32: note: in expansion of macro 'GAME_STRING' 3366 | return GAME_STRING (NETMELEE_STRING_BASE + 28); | ^~~~~~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3369:32: note: in expansion of macro 'GAME_STRING' 3369 | return GAME_STRING (NETMELEE_STRING_BASE + 29); | ^~~~~~~~~~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/melee.c:3372:32: note: in expansion of macro 'GAME_STRING' 3372 | return GAME_STRING (NETMELEE_STRING_BASE + 30); | ^~~~~~~~~~~ src/sc2code/melee.c: In function 'errorFeedback': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3408:43: note: in expansion of macro 'GAME_STRING' 3408 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 10), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3412:43: note: in expansion of macro 'GAME_STRING' 3412 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 11), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ src/sc2code/melee.c: In function 'closeFeedback': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3421:43: note: in expansion of macro 'GAME_STRING' 3421 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 12), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'connectionFeedback' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/melee.c:3425:43: note: in expansion of macro 'GAME_STRING' 3425 | connectionFeedback (conn, GAME_STRING (NETMELEE_STRING_BASE + 13), | ^~~~~~~~~~~ src/sc2code/melee.c:3299:54: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 3299 | connectionFeedback (NetConnection *conn, const char *str, bool forcePopup) { | ~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/menu.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/commglue.h:22, from src/sc2code/menu.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/menu.c: In function 'DrawPCMenu': src/sc2code/menu.c:75:14: warning: variable 'OldFont' set but not used [-Wunused-but-set-variable] 75 | FONT OldFont; | ^~~~~~~ src/sc2code/menu.c: In function 'DrawMenuStateStrings': src/sc2code/menu.c:488:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 488 | sprintf (pm_crew_str, "%s(%d)", | ^~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/globdata.h:23: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/menu.c:492:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 492 | sprintf (pm_fuel_str, "%s(%d)", | ^~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/menu.c:568:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 568 | sprintf (buf, "%u", GLOBAL (CrewCost)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/menu.c:580:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 580 | sprintf (buf, "%u", GLOBAL (FuelCost)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/misc.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/misc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/misc.c:31:50: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 31 | static BOOLEAN planet_respawn_wait_decremented = false; | ^~~~~ src/sc2code/misc.c: In function 'respawn_planet_reset': src/sc2code/misc.c:35:41: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 35 | planet_respawn_wait_decremented = false; | ^ src/sc2code/misc.c:33:44: warning: unused parameter 'ElementPtr' [-Wunused-parameter] 33 | static void respawn_planet_reset (PELEMENT ElementPtr) | ~~~~~~~~~^~~~~~~~~~ src/sc2code/misc.c: In function 'respawn_planet': src/sc2code/misc.c:56:57: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 56 | planet_respawn_wait_decremented = true; | ^ src/sc2code/misc.c: In function 'spawn_planet': src/sc2code/misc.c:98:33: warning: cast between incompatible function types from 'BOOLEAN (*)(ELEMENT *)' {aka 'BOOLEAN (*)(struct element *)'} to 'void (*)(struct element *)' [-Wcast-function-type] 98 | (void (*) (struct element *ElementPtr))CalculateGravity; | ^ src/sc2code/misc.c: In function 'asteroid_preprocess': src/sc2code/misc.c:219:41: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 219 | BOOLEAN passed_a_ship = false; | ^~~~~ src/sc2code/misc.c:251:51: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 251 | else passed_a_ship=true; | ^ CC obj/debug/src/sc2code/mouse_err.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/mouse_err.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/mouse_err.c:18: src/sc2code/mouse_err.c: In function 'MouseError': src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 1 of 'DoPopupWindow' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/mouse_err.c:23:24: note: in expansion of macro 'GAME_STRING' 23 | DoPopupWindow (GAME_STRING (MAINMENU_STRING_BASE + 56)); | ^~~~~~~~~~~ src/sc2code/controls.h:112:32: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 112 | void DoPopupWindow(const char *msg); | ~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/oscill.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/oscill.h:20, from src/sc2code/oscill.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/outfit.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/outfit.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/outfit.c: In function 'DrawModuleStrings': src/sc2code/outfit.c:84:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 84 | sprintf (buf, "%u", GLOBAL (ModuleCost[NewModule]) * MODULE_COST_SCALE); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/options.h:27: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/pickmele.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/pickmele.h:20, from src/sc2code/pickmele.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/pickmele.c: In function 'GetMeleeStarShip': src/sc2code/pickmele.c:382:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 382 | sprintf (buf, "%d", cur_bucks); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/pickship.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/pickship.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/pickship.c: In function 'DoPickBattleShip': src/sc2code/pickship.c:65:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 65 | if ((HSTARSHIP)pMS->CurFrame) | ^ src/sc2code/pickship.c:163:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 163 | pMS->CurFrame = (FRAME)hBattleShip; | ^ src/sc2code/pickship.c:224:40: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 224 | t.pStr = buf; | ^ src/sc2code/pickship.c: In function 'GetArmadaStarShip': src/sc2code/pickship.c:282:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 282 | hBattleShip = (HSTARSHIP)MenuState.CurFrame; | ^ CC obj/debug/src/sc2code/plandata.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/plandata.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/process.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/process.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/restart.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/restart.h:20, from src/sc2code/restart.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/restart.c: In function 'DrawRestartMenu': src/sc2code/restart.c:100:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 100 | sprintf (buf, "v%d.%d.%d%s", UQM_MAJOR_VERSION, UQM_MINOR_VERSION, | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/restart.c:22: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/save.c.o In file included from /usr/include/assert.h:35, from src/sc2code/save.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/save.c: In function 'SaveGameState': src/sc2code/save.c:297:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 297 | cwrite_32 (fh, (DWORD)GSPtr->ShipStamp.frame); /* abused ptr to store DWORD */ | ^ src/sc2code/save.c: In function 'SaveGame': src/sc2code/save.c:727:47: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 727 | log_add (log_Debug, "'%s' is %u bytes long", file, | ~^ | | | unsigned int | %lu 728 | flen + sizeof (*SummPtr)); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int CC obj/debug/src/sc2code/settings.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/strlib.h:22, from src/sc2code/libs/sndlib.h:22, from src/sc2code/settings.h:20, from src/sc2code/settings.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/setup.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/setup.h:20, from src/sc2code/setup.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/setupmenu.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/setupmenu.h:22, from src/sc2code/setupmenu.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/setupmenu.c: In function 'change_template': src/sc2code/setupmenu.c:329:43: warning: unused parameter 'oldval' [-Wunused-parameter] 329 | change_template (WIDGET_CHOICE *self, int oldval) | ~~~~^~~~~~ src/sc2code/setupmenu.c: In function 'OnTextEntryFrame': src/sc2code/setupmenu.c:518:27: warning: unused variable 'widget' [-Wunused-variable] 518 | WIDGET_TEXTENTRY *widget = (WIDGET_TEXTENTRY *) pTES->CbParam; | ^~~~~~ src/sc2code/setupmenu.c: In function 'OnTextEntryEvent': src/sc2code/setupmenu.c:535:53: warning: pointer targets in passing argument 1 of 'utf8StringCount' differ in signedness [-Wpointer-sign] 535 | widget->cursor_pos = utf8StringCount (widget->value); | ~~~~~~^~~~~~~ | | | char * In file included from src/sc2code/libs/gfxlib.h:124: src/sc2code/libs/strlib.h:59:45: note: expected 'const unsigned char *' but argument is of type 'char *' 59 | size_t utf8StringCount(const unsigned char *start); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/setupmenu.c:540:64: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 540 | utf8StringCopy (revert_buf, sizeof (revert_buf), widget->value); | ~~~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/setupmenu.c:546:21: warning: pointer targets in assignment from 'char *' to 'UNICODE *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 546 | tes.BaseStr = widget->value; | ^ src/sc2code/setupmenu.c:556:39: warning: pointer targets in passing argument 1 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 556 | utf8StringCopy (widget->value, widget->maxlen, revert_buf); | ~~~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:63:47: note: expected 'unsigned char *' but argument is of type 'char *' 63 | unsigned char *utf8StringCopy (unsigned char *dst, size_t size, | ~~~~~~~~~~~~~~~^~~ src/sc2code/setupmenu.c: In function 'init_widgets': src/sc2code/setupmenu.c:625:51: warning: pointer targets in passing argument 2 of 'StringBank_AddOrFindString' differ in signedness [-Wpointer-sign] 625 | title = StringBank_AddOrFindString (bank, GetStringAddress (SetAbsStringTableIndex (SetupTab, 0))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} In file included from src/sc2code/setupmenu.c:33: src/sc2code/libs/resource/stringbank.h:44:71: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 44 | const char *StringBank_AddOrFindString (stringbank *bank, const char *str); | ~~~~~~~~~~~~^~~ src/sc2code/setupmenu.c:626:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 626 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, 1)), '\n', 100, buffer, bank) != MENU_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:653:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 653 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, 2)), '\n', 100, buffer, bank) != CHOICE_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:688:21: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 688 | str = GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)); | ^ src/sc2code/setupmenu.c:708:29: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 708 | str = GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)); | ^ src/sc2code/setupmenu.c:742:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 742 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != SLIDER_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:778:21: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 778 | str = GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)); | ^ src/sc2code/setupmenu.c:797:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 797 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != BUTTON_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:828:21: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 828 | str = GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)); | ^ src/sc2code/setupmenu.c:847:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 847 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != LABEL_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:876:21: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 876 | str = GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)); | ^ src/sc2code/setupmenu.c:893:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 893 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != TEXTENTRY_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:921:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 921 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != TEXTENTRY_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c:941:26: warning: pointer targets in passing argument 1 of 'SplitString' differ in signedness [-Wpointer-sign] 941 | if (SplitString (GetStringAddress (SetAbsStringTableIndex (SetupTab, index++)), '\n', 100, buffer, bank) != CONTROLENTRY_COUNT) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | STRINGPTR {aka unsigned char *} src/sc2code/libs/resource/stringbank.h:50:30: note: expected 'const char *' but argument is of type 'STRINGPTR' {aka 'unsigned char *'} 50 | int SplitString (const char *s, char splitchar, int n, const char **result, stringbank *bank); | ~~~~~~~~~~~~^ src/sc2code/setupmenu.c: In function 'SetGlobalOptions': src/sc2code/setupmenu.c:1282:49: warning: implicit conversion from 'OPT_ENABLABLE' to 'BOOLEAN' [-Wenum-conversion] 1282 | res_PutBoolean ("config.scanlines", opts->scanlines); | ~~~~^~~~~~~~~~~ src/sc2code/setupmenu.c:1283:50: warning: implicit conversion from 'OPT_ENABLABLE' to 'BOOLEAN' [-Wenum-conversion] 1283 | res_PutBoolean ("config.fullscreen", opts->fullscreen); | ~~~~^~~~~~~~~~~~ CC obj/debug/src/sc2code/ship.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/ship.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ship.c: In function 'less_planet_damage_collision': src/sc2code/ship.c:403:60: warning: unused parameter 'pPt0' [-Wunused-parameter] 403 | less_planet_damage_collision (PELEMENT ElementPtr0, PPOINT pPt0, | ~~~~~~~^~~~ src/sc2code/ship.c:404:46: warning: unused parameter 'pPt1' [-Wunused-parameter] 404 | PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~^~~~ src/sc2code/ship.c: In function 'spawn_ship': src/sc2code/libs/compiler.h:74:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define LOWORD(x) ((UWORD) ((DWORD) (x))) | ^ src/sc2code/ship.c:508:42: note: in expansion of macro 'LOWORD' 508 | facing = LOWORD (GLOBAL (ShipStamp.frame)); | ^~~~~~ src/sc2code/ship.c:512:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 512 | GLOBAL (ShipStamp.frame) = (FRAME)MAKE_DWORD ( | ^ CC obj/debug/src/sc2code/shipstat.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/shipstat.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/shipstat.c: In function 'InitShipStatus': src/sc2code/shipstat.c:251:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 251 | sprintf (buf, "%d", SIPtr->ship_cost); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/globdata.h:23: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/shipyard.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/shipyard.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/shipyard.c: In function 'DrawRaceStrings': src/sc2code/shipyard.c:259:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 259 | sprintf (buf, "%u", ShipCost[NewRaceItem]); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/shipyard.c: In function 'ShowShipCrew': src/sc2code/shipyard.c:292:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 292 | sprintf (buf, "%u", StarShipPtr->ShipInfo.crew_level); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/shipyard.c:294:52: warning: pointer targets in passing argument 3 of 'utf8StringCopy' differ in signedness [-Wpointer-sign] 294 | utf8StringCopy (buf, sizeof (buf), "SCRAP"); | ^~~~~~~ | | | char * src/sc2code/libs/strlib.h:64:38: note: expected 'const unsigned char *' but argument is of type 'char *' 64 | const unsigned char *src); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/sc2code/shipyard.c:296:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 296 | sprintf (buf, "%u/%u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/sis.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/commglue.h:22, from src/sc2code/sis.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/sis.c: In function 'ClearSISRect': src/sc2code/sis.c:70:14: warning: variable 'r' set but not used [-Wunused-but-set-variable] 70 | RECT r; | ^ src/sc2code/sis.c: In function 'DrawHyperCoords': src/sc2code/sis.c:154:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 154 | sprintf (buf, "%03u.%01u : %03u.%01u", | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/globdata.h:23: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c: In function 'DateToString': src/sc2code/sis.c:340:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 340 | snprintf (buf, bufLen, "%s %02d" STR_MIDDLE_DOT "%04d", | ^~~ | | | unsigned char * /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c: In function 'DrawStatusMessage': src/sc2code/sis.c:373:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 373 | sprintf (buf, "%u %s", MAKE_WORD ( | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:378:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 378 | sprintf (buf, "%u %s", GLOBAL_SIS (ResUnits), | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:384:49: warning: pointer type mismatch in conditional expression 384 | : STR_INFINITY_SIGN, // "UNLIMITED" | ^ src/sc2code/sis.c:381:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 381 | sprintf (buf, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:381:41: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] 381 | sprintf (buf, "%s %s", | ~^ | | | char * | %p src/sc2code/sis.c: In function 'DrawFlagshipName': src/sc2code/sis.c:482:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 482 | sprintf (buf, "%s %s", GAME_STRING (NAMING_STRING_BASE + 1), | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:485:25: warning: pointer targets in passing argument 1 of 'strupr' differ in signedness [-Wpointer-sign] 485 | strupr (buf); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/strlib.h:23: src/port.h:55:21: note: expected 'char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 55 | char *strupr (char *str); | ~~~~~~^~~ src/sc2code/sis.c: In function 'DrawFlagshipStats': src/sc2code/sis.c:609:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 609 | sprintf (buf, "%-7.7s", describeWeapon (GLOBAL_SIS (ModuleSlots[15]))); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:612:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 612 | sprintf (buf, "%-7.7s", describeWeapon (GLOBAL_SIS (ModuleSlots[14]))); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:615:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 615 | sprintf (buf, "%-7.7s", describeWeapon (GLOBAL_SIS (ModuleSlots[13]))); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:618:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 618 | sprintf (buf, "%-7.7s", describeWeapon (GLOBAL_SIS (ModuleSlots[0]))); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:643:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 643 | sprintf (buf, "%4u", max_thrust * 4); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:646:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 646 | sprintf (buf, "%4u", 1 + TURN_WAIT - turn_wait); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:653:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 653 | sprintf (buf, "%2u.%1u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:659:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 659 | sprintf (buf, "%4u", (fuel / FUEL_TANK_SCALE)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c: In function 'DeltaSISGauges': src/sc2code/sis.c:990:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 990 | sprintf (buf, "%u", GLOBAL_SIS (CrewEnlisted)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c:1027:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1027 | sprintf (buf, "%u", new_coarse_fuel); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/sis.c: In function 'SaveFlagshipState': src/sc2code/sis.c:1610:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1610 | GLOBAL (ShipStamp.frame) = (FRAME)MAKE_DWORD ( | ^ In file included from src/sc2code/libs/timelib.h:22, from src/sc2code/libs/threadlib.h:48: src/sc2code/libs/compiler.h:74:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define LOWORD(x) ((UWORD) ((DWORD) (x))) | ^ src/sc2code/sis.c:1651:34: note: in expansion of macro 'LOWORD' 1651 | index1 = LOWORD (frame); | ^~~~~~ src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/libs/compiler.h:70:67: note: in definition of macro 'MAKE_WORD' 70 | #define MAKE_WORD(lo, hi) ((UWORD) ((BYTE) (hi) << 8) | (BYTE) (lo)) | ^~ src/sc2code/sis.c:1657:45: note: in expansion of macro 'HIWORD' 1657 | index2 = MAKE_WORD (HIWORD (frame), index2); | ^~~~~~ src/sc2code/sis.c:1661:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1661 | (FRAME)MAKE_DWORD (index1, index2); | ^ CC obj/debug/src/sc2code/sounds.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/strlib.h:22, from src/sc2code/libs/sndlib.h:22, from src/sc2code/settings.h:20, from src/sc2code/sounds.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/starbase.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/starbase.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/starcon.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/starcon.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/starmap.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/starmap.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/state.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/state.h:22, from src/sc2code/state.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/status.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/status.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/status.c: In function 'DrawBattleCrewAmount': src/sc2code/status.c:139:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 139 | sprintf (buf, "%u", StarShipPtr->RaceDescPtr->ship_info.crew_level); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/tactrans.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/tactrans.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/tactrans.c: In function 'dead_ship_maybe_free_data': src/sc2code/tactrans.c:226:33: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 226 | BOOLEAN needs_to_wait = false; | ^~~~~ src/sc2code/tactrans.c:243:39: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 243 | needs_to_wait = true; | ^ src/sc2code/tactrans.c: In function 'explosion_preprocess': src/sc2code/tactrans.c:457:50: warning: this statement may fall through [-Wimplicit-fallthrough=] 457 | ShipPtr->preprocess_func = NULL_PTR; src/sc2code/tactrans.c:458:17: note: here 458 | case 0: | ^~~~ src/sc2code/tactrans.c:477:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 477 | ShipPtr->state_flags |= CHANGING; src/sc2code/tactrans.c:478:17: note: here 478 | default: | ^~~~~~~ CC obj/debug/src/sc2code/trans.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/trans.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/uqmdebug.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/uqmdebug.h:20, from src/sc2code/uqmdebug.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/uqmdebug.c: In function 'showSpheres': src/sc2code/uqmdebug.c:459:35: warning: comparison between pointer and integer 459 | hStarShip != NULL; hStarShip = hNextShip) | ^~ src/sc2code/uqmdebug.c: In function 'activateAllShips': src/sc2code/uqmdebug.c:488:35: warning: comparison between pointer and integer 488 | hStarShip != NULL; hStarShip = hNextShip) | ^~ src/sc2code/uqmdebug.c: In function 'dumpSystem': src/sc2code/uqmdebug.c:740:25: warning: passing argument 1 of 'GetClusterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 740 | GetClusterName (star, name); | ^~~~ In file included from src/sc2code/uqmdebug.c:24: src/sc2code/encount.h:137:42: note: expected 'PSTAR_DESC' {aka 'STAR_DESC *'} but argument is of type 'const STAR_DESC *' 137 | extern void GetClusterName (STAR_DESCPTR pSD, UNICODE buf[]); src/sc2code/uqmdebug.c:741:19: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 741 | snprintf (buf, sizeof buf, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124, from src/sc2code/menustat.h:22, from src/sc2code/planets/planets.h:22, from src/sc2code/uqmdebug.h:21: /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/uqmdebug.c: In function 'dumpMoon': src/sc2code/uqmdebug.c:941:37: warning: format '%c' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 941 | fprintf (out, " - Moon %-30c %s\n", | ~~~~^ | | | int | %-30ld 942 | 'a' + (moon - &pSolarSysState->MoonDesc[0]), typeStr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int src/sc2code/uqmdebug.c: In function 'planetTypeString': src/sc2code/uqmdebug.c:1166:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 1166 | snprintf(typeStr, sizeof typeStr, "%s", | ^~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/uqmdebug.c:1172:26: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 1172 | snprintf(typeStr, sizeof typeStr, "%s %s", | ^~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:378:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 378 | extern int snprintf (char *__restrict __s, size_t __maxlen, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/uqmdebug.c:1176:16: warning: pointer targets in returning 'UNICODE *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 1176 | return typeStr; | ^~~~~~~ src/sc2code/uqmdebug.c: In function 'resetCrewBattle': src/sc2code/uqmdebug.c:1346:31: warning: passing argument 1 of 'DeltaCrew' makes pointer from integer without a cast [-Wint-conversion] 1346 | DeltaCrew (StarShipPtr->hShip, delta); | ~~~~~~~~~~~^~~~~~~ | | | HELEMENT {aka short int} In file included from src/sc2code/races.h:23, from src/sc2code/uqmdebug.h:22: src/sc2code/element.h:173:38: note: expected 'PELEMENT' {aka 'struct element *'} but argument is of type 'HELEMENT' {aka 'short int'} 173 | extern BOOLEAN DeltaCrew (ELEMENTPTR ElementPtr, SIZE | ^ src/sc2code/uqmdebug.c: In function 'resetEnergyBattle': src/sc2code/uqmdebug.c:1368:33: warning: passing argument 1 of 'DeltaEnergy' makes pointer from integer without a cast [-Wint-conversion] 1368 | DeltaEnergy (StarShipPtr->hShip, delta); | ~~~~~~~~~~~^~~~~~~ | | | HELEMENT {aka short int} src/sc2code/element.h:169:40: note: expected 'PELEMENT' {aka 'struct element *'} but argument is of type 'HELEMENT' {aka 'short int'} 169 | extern BOOLEAN DeltaEnergy (ELEMENTPTR ElementPtr, SIZE | ^ src/sc2code/uqmdebug.c: In function 'dumpStrings': src/sc2code/uqmdebug.c:1432:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1432 | fprintf(stderr, "Warning: GAMESTR_COUNT is %d, but GameStrings " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1433 | "contains %d strings.\n", GAMESTR_COUNT, numStrings); | ~~~~~~~~~~ | | | size_t {aka long unsigned int} src/sc2code/uqmdebug.c:1433:44: note: format string is defined here 1433 | "contains %d strings.\n", GAMESTR_COUNT, numStrings); | ~^ | | | int | %ld src/sc2code/uqmdebug.c:1441:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1441 | fprintf(out, "[ %s + %d ] %s\n", categories[categoryI].name, | ~^ | | | int | %ld 1442 | stringI - categories[categoryI].base, GAME_STRING(stringI)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} CC obj/debug/src/sc2code/util.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/commglue.h:22, from src/sc2code/util.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/velocity.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/velocity.h:22, from src/sc2code/velocity.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/weapon.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/weapon.h:22, from src/sc2code/weapon.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/weapon.c: In function 'initialize_laser': src/sc2code/weapon.c:52:33: warning: cast between incompatible function types from 'HELEMENT (*)(ELEMENT *, POINT *, ELEMENT *, POINT *)' {aka 'short int (*)(struct element *, struct point *, struct element *, struct point *)'} to 'void (*)(struct element *, POINT *, struct element *, POINT *)' {aka 'void (*)(struct element *, struct point *, struct element *, struct point *)'} [-Wcast-function-type] 52 | (void (*) (struct element *ElementPtr0, PPOINT pPt0, | ^ src/sc2code/weapon.c: In function 'initialize_missile': src/sc2code/weapon.c:103:33: warning: cast between incompatible function types from 'HELEMENT (*)(ELEMENT *, POINT *, ELEMENT *, POINT *)' {aka 'short int (*)(struct element *, struct point *, struct element *, struct point *)'} to 'void (*)(struct element *, POINT *, struct element *, POINT *)' {aka 'void (*)(struct element *, struct point *, struct element *, struct point *)'} [-Wcast-function-type] 103 | (void (*) (struct element *ElementPtr0, PPOINT pPt0, | ^ CC obj/debug/src/sc2code/comm/arilou/arilouc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/arilou/arilouc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/blackur/blackurc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/blackur/blackurc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/chmmr/chmmrc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/chmmr/chmmrc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/comandr/comandr.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/setup.h:20, from src/sc2code/comm/comandr/comandr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/druuge/druugec.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/druuge/druugec.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/ilwrath/ilwrathc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/ilwrath/ilwrathc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/melnorm/melnorm.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/melnorm/melnorm.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c: In function 'DoSell': src/sc2code/comm/melnorm/melnorm.c:1165:31: warning: variable 'TimeIn' set but not used [-Wunused-but-set-variable] 1165 | DWORD TimeIn; | ^~~~~~ src/sc2code/comm/melnorm/melnorm.c: In function 'DoBuy': src/sc2code/comm/melnorm/melnorm.c:938:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 938 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:939:25: note: here 939 | case 1: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:947:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 947 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:948:25: note: here 948 | case 2: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:955:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 955 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:956:25: note: here 956 | case 3: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:965:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 965 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:966:25: note: here 966 | case 4: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:975:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 975 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:976:25: note: here 976 | case 5: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:983:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 983 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:984:25: note: here 984 | case 6: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:992:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 992 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:993:25: note: here 993 | case 7: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1001:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1001 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1002:25: note: here 1002 | case 8: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1011:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1011 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1012:25: note: here 1012 | case 9: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1021:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1021 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1022:25: note: here 1022 | case 10: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1032:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1032 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1033:25: note: here 1033 | case 11: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1042:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1042 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1043:25: note: here 1043 | case 12: | ^~~~ src/sc2code/comm/melnorm/melnorm.c:1051:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 1051 | ++stack; | ^~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1052:25: note: here 1052 | case 13: | ^~~~ In file included from src/sc2code/comm/commall.h:22: src/sc2code/comm/melnorm/melnorm.c: In function 'yack1_respond': src/sc2code/commglue.h:43:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 43 | DoResponsePhrase(i,(RESPONSE_FUNC)a,0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1526:25: note: in expansion of macro 'Response' 1526 | Response (what_factors, DoFirstMeeting); | ^~~~~~~~ src/sc2code/comm/melnorm/melnorm.c:1527:17: note: here 1527 | case 2: | ^~~~ CC obj/debug/src/sc2code/comm/mycon/myconc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/mycon/myconc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/orz/orzc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/orz/orzc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/comm/orz/orzc.c: In function 'ExitConversation': src/sc2code/comm/orz/orzc.c:255:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 255 | --NumVisits; | ^~~~~~~~~~~ src/sc2code/comm/orz/orzc.c:256:25: note: here 256 | default: | ^~~~~~~ CC obj/debug/src/sc2code/comm/pkunk/pkunkc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/pkunk/pkunkc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/rebel/rebel.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/rebel/rebel.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/shofixt/shofixt.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/shofixt/shofixt.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/slyhome/slyhome.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/gameev.h:20, from src/sc2code/comm/slyhome/slyhome.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/slyland/slyland.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/slyland/slyland.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/spahome/spahome.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/spahome/spahome.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/spathi/spathic.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/spathi/spathic.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/starbas/starbas.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/starbas/starbas.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/comm/starbas/starbas.c: In function 'DiscussDevices': src/sc2code/comm/starbas/starbas.c:1026:17: warning: variable 'Undiscussed' set but not used [-Wunused-but-set-variable] 1026 | BOOLEAN Undiscussed; | ^~~~~~~~~~~ CC obj/debug/src/sc2code/comm/supox/supoxc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/supox/supoxc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/syreen/syreenc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/syreen/syreenc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/talkpet/talkpet.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/talkpet/talkpet.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/thradd/thraddc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/thradd/thraddc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/umgah/umgahc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/umgah/umgahc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/urquan/urquanc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/urquan/urquanc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/utwig/utwigc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/utwig/utwigc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/vux/vuxc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/vux/vuxc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/yehat/yehatc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/yehat/yehatc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/comm/zoqfot/zoqfotc.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/comm.h:20, from src/sc2code/comm/commall.h:21, from src/sc2code/comm/zoqfot/zoqfotc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/callback/alarm.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/callback/alarm.h:22, from src/sc2code/libs/callback/alarm.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/callback/callback.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/callback/callback.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/decomp/lzdecode.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/decomp/lzdecode.c:27: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/decomp/lzencode.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/decomp/lzencode.c:27: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/decomp/update.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/decomp/update.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/file/dirs.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/file/dirs.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/file/files.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/file/files.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/file/temp.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/file/temp.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/boxint.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/boxint.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/clipline.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/clipline.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/cmap.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfx_common.h:22, from src/sc2code/libs/graphics/cmap.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/context.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/context.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/drawable.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/drawable.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/filegfx.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/filegfx.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/font.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/font.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/frame.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/frame.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/gfx_common.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/gfx_common.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/intersec.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/intersec.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/loaddisp.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/loaddisp.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/pixmap.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/pixmap.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/resgfx.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/resgfx.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/tfb_draw.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfx_common.h:22, from src/sc2code/libs/graphics/tfb_draw.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/tfb_prim.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfxintrn.h:22, from src/sc2code/libs/graphics/tfb_prim.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/widgets.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/graphics/gfx_common.h:22, from src/sc2code/libs/graphics/widgets.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/graphics/widgets.c: In function 'DrawLabelAsWindow': src/sc2code/libs/graphics/widgets.c:94:56: warning: pointer targets in passing argument 1 of 'utf8StringCount' differ in signedness [-Wpointer-sign] 94 | int len = utf8StringCount (label->lines[i]); | ~~~~~~~~~~~~^~~ | | | const char * In file included from src/sc2code/libs/gfxlib.h:124, from src/sc2code/libs/graphics/gfx_common.h:25: src/sc2code/libs/strlib.h:59:45: note: expected 'const unsigned char *' but argument is of type 'const char *' 59 | size_t utf8StringCount(const unsigned char *start); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/graphics/widgets.c:114:24: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 114 | t.pStr = label->lines[i]; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawToolTips': src/sc2code/libs/graphics/widgets.c:150:24: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 150 | t.pStr = tips[i]; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawMenuScreen': src/sc2code/libs/graphics/widgets.c:188:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 188 | t.pStr = self->title; | ^ src/sc2code/libs/graphics/widgets.c:193:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 193 | t.pStr = self->subtitle; | ^ src/sc2code/libs/graphics/widgets.c:165:40: warning: variable 'selected' set but not used [-Wunused-but-set-variable] 165 | COLOR inactive, default_color, selected; | ^~~~~~~~ src/sc2code/libs/graphics/widgets.c:165:25: warning: variable 'default_color' set but not used [-Wunused-but-set-variable] 165 | COLOR inactive, default_color, selected; | ^~~~~~~~~~~~~ src/sc2code/libs/graphics/widgets.c:165:15: warning: variable 'inactive' set but not used [-Wunused-but-set-variable] 165 | COLOR inactive, default_color, selected; | ^~~~~~~~ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawChoice': src/sc2code/libs/graphics/widgets.c:241:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 241 | t.pStr = self->category; | ^ src/sc2code/libs/graphics/widgets.c:259:24: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 259 | t.pStr = self->options[i].optname; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawButton': src/sc2code/libs/graphics/widgets.c:298:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 298 | t.pStr = self->name; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawLabel': src/sc2code/libs/graphics/widgets.c:332:24: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 332 | t.pStr = self->lines[i]; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawSlider': src/sc2code/libs/graphics/widgets.c:362:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 362 | t.pStr = self->category; | ^ src/sc2code/libs/graphics/widgets.c:347:15: warning: variable 'inactive' set but not used [-Wunused-but-set-variable] 347 | COLOR inactive, default_color, selected; | ^~~~~~~~ src/sc2code/libs/graphics/widgets.c: In function 'Widget_Slider_DrawValue': src/sc2code/libs/graphics/widgets.c:406:16: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 406 | t.pStr = buffer; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawTextEntry': src/sc2code/libs/graphics/widgets.c:431:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 431 | t.pStr = self->category; | ^ src/sc2code/libs/graphics/widgets.c:446:44: warning: pointer targets in passing argument 1 of 'utf8StringCount' differ in signedness [-Wpointer-sign] 446 | t.CharCount = utf8StringCount (self->value); | ~~~~^~~~~~~ | | | char * src/sc2code/libs/strlib.h:59:45: note: expected 'const unsigned char *' but argument is of type 'char *' 59 | size_t utf8StringCount(const unsigned char *start); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/graphics/widgets.c:447:16: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 447 | t.pStr = self->value; | ^ src/sc2code/libs/graphics/widgets.c: In function 'Widget_DrawControlEntry': src/sc2code/libs/graphics/widgets.c:563:16: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 563 | t.pStr = self->category; | ^ src/sc2code/libs/graphics/widgets.c:582:24: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 582 | t.pStr = self->controlname[i]; | ^ src/sc2code/libs/graphics/widgets.c:585:32: warning: pointer targets in assignment from 'char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 585 | t.pStr = "---"; | ^ src/sc2code/libs/graphics/widgets.c:549:15: warning: variable 'inactive' set but not used [-Wunused-but-set-variable] 549 | COLOR inactive, default_color, selected; | ^~~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/3do_blt.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/3do_blt.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/3do_funcs.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/3do_funcs.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/graphics/sdl/3do_funcs.c: In function '_image_intersect': src/sc2code/libs/graphics/sdl/3do_funcs.c:190:40: warning: variable 'img2w' set but not used [-Wunused-but-set-variable] 190 | int img1w, img1xpos, img1ypos, img2w, img2xpos, img2ypos; | ^~~~~ src/sc2code/libs/graphics/sdl/3do_funcs.c:190:13: warning: variable 'img1w' set but not used [-Wunused-but-set-variable] 190 | int img1w, img1xpos, img1ypos, img2w, img2xpos, img2ypos; | ^~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/3do_getbody.c.o In file included from /usr/include/fcntl.h:25, from src/sc2code/libs/graphics/sdl/3do_getbody.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/graphics/sdl/3do_getbody.c: In function '_GetFontData': src/sc2code/libs/graphics/sdl/3do_getbody.c:558:27: warning: pointer targets in assignment from 'STRINGPTR' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 558 | char_name = GetDirEntryAddress (SetAbsDirEntryTableIndex ( | ^ CC obj/debug/src/sc2code/libs/graphics/sdl/dcqueue.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/dcqueue.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/opengl.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/opengl.h:22, from src/sc2code/libs/graphics/sdl/opengl.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/primitives.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/primitives.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/pure.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/pure.h:22, from src/sc2code/libs/graphics/sdl/pure.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/rndzoom.c.o In file included from /usr/include/fcntl.h:25, from src/sc2code/libs/graphics/sdl/rndzoom.c:45: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/sdl_common.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/sdl_common.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/graphics/sdl/sdl_common.c: In function 'TFB_InitGraphics': src/sc2code/libs/graphics/sdl/sdl_common.c:121:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 121 | int result, i; | ^~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/scalers.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/graphics/sdl/scalers.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/scalers.c:24: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ src/sc2code/libs/graphics/sdl/scalers.c: In function 'Scale_PrepPlatform': src/sc2code/libs/graphics/sdl/scalers.c:216:43: warning: comparison between 'PLATFORM_TYPE' and 'enum ' [-Wenum-compare] 216 | || force_platform == SCALEPLAT_SSE) | ^~ src/sc2code/libs/graphics/sdl/scalers.c:225:43: warning: comparison between 'PLATFORM_TYPE' and 'enum ' [-Wenum-compare] 225 | || force_platform == SCALEPLAT_ALTIVEC) | ^~ src/sc2code/libs/graphics/sdl/scalers.c:233:43: warning: comparison between 'PLATFORM_TYPE' and 'enum ' [-Wenum-compare] 233 | || force_platform == SCALEPLAT_3DNOW) | ^~ src/sc2code/libs/graphics/sdl/scalers.c:242:43: warning: comparison between 'PLATFORM_TYPE' and 'enum ' [-Wenum-compare] 242 | || force_platform == SCALEPLAT_MMX) | ^~ CC obj/debug/src/sc2code/libs/graphics/sdl/2xscalers.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/2xscalers.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/2xscalers.c:22: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/2xscalers_mmx.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/2xscalers_mmx.c:27: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_sse.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/2xscalers_sse.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/2xscalers_sse.c:27: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/2xscalers_3dnow.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/2xscalers_3dnow.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/2xscalers_3dnow.c:27: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/nearest2x.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/nearest2x.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/nearest2x.c:27: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/bilinear2x.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/bilinear2x.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/bilinear2x.c:27: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/biadv2x.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/biadv2x.c:26: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/biadv2x.c:29: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/triscan2x.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/triscan2x.c:25: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/triscan2x.c:28: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/hq2x.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdl_common.h:22, from src/sc2code/libs/graphics/sdl/hq2x.c:32: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/libs/graphics/sdl/hq2x.c:35: src/sc2code/libs/graphics/sdl/scaleint.h: In function 'Scale_DiffYUV': src/sc2code/libs/graphics/sdl/scaleint.h:253:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 253 | delta = abs ((yuv1 & 0xff0000) - (yuv2 & 0xff0000)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:257:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 257 | delta = abs ((yuv1 & 0x00ff00) - (yuv2 & 0x00ff00)); | ^~~ src/sc2code/libs/graphics/sdl/scaleint.h:261:17: warning: taking the absolute value of unsigned type 'Uint32' {aka 'unsigned int'} has no effect [-Wabsolute-value] 261 | delta = abs ((yuv1 & 0x0000ff) - (yuv2 & 0x0000ff)); | ^~~ CC obj/debug/src/sc2code/libs/graphics/sdl/canvas.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/canvas.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/bbox.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/bbox.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/sdluio.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/graphics/sdl/sdluio.h:20, from src/sc2code/libs/graphics/sdl/sdluio.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/graphics/sdl/rotozoom.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/graphics/sdl/rotozoom.c:14: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/graphics/sdl/rotozoom.c: In function 'zoomSurfaceRGBA': src/sc2code/libs/graphics/sdl/rotozoom.c:35:9: warning: variable 'sgap' set but not used [-Wunused-but-set-variable] 35 | int sgap, dgap; | ^~~~ src/sc2code/libs/graphics/sdl/rotozoom.c: In function 'transformSurfaceY': src/sc2code/libs/graphics/sdl/rotozoom.c:474:53: warning: variable 'sh' set but not used [-Wunused-but-set-variable] 474 | int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh; | ^~ src/sc2code/libs/graphics/sdl/rotozoom.c:474:49: warning: variable 'sw' set but not used [-Wunused-but-set-variable] 474 | int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh; | ^~ CC obj/debug/src/sc2code/libs/heap/heap.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/heap/heap.h:22, from src/sc2code/libs/heap/heap.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/input/input_common.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/input/input_common.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/input/sdl/input.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/input/sdl/input.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/input/sdl/input.c: In function 'ProcessInputEvent': src/sc2code/libs/input/sdl/input.c:330:32: warning: comparison of integer expressions of different signedness: 'SDLKey' and 'int' [-Wsign-compare] 330 | if (k < 0 || k > num_keys) | ^ src/sc2code/libs/input/sdl/input.c: In function 'InterrogateInputState': src/sc2code/libs/input/sdl/input.c:393:29: warning: passing argument 1 of 'VControl_StartIter' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 393 | VControl_StartIter (&ImmediateInputState.key[template][control]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sc2code/libs/input/sdl/input.c:25: src/sc2code/libs/input/sdl/vcontrol.h:114:31: note: expected 'int *' but argument is of type 'volatile int *' 114 | void VControl_StartIter (int *target); | ~~~~~^~~~~~ src/sc2code/libs/input/sdl/input.c: In function 'RemoveInputState': src/sc2code/libs/input/sdl/input.c:434:29: warning: passing argument 1 of 'VControl_StartIter' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 434 | VControl_StartIter (&ImmediateInputState.key[template][control]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/libs/input/sdl/vcontrol.h:114:31: note: expected 'int *' but argument is of type 'volatile int *' 114 | void VControl_StartIter (int *target); | ~~~~~^~~~~~ src/sc2code/libs/input/sdl/input.c:442:52: warning: passing argument 2 of 'VControl_RemoveGestureBinding' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 442 | VControl_RemoveGestureBinding (&g, &ImmediateInputState.key[template][control]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/libs/input/sdl/vcontrol.h:54:63: note: expected 'int *' but argument is of type 'volatile int *' 54 | void VControl_RemoveGestureBinding (VCONTROL_GESTURE *g, int *target); | ~~~~~^~~~~~ src/sc2code/libs/input/sdl/input.c: In function 'RebindInputState': src/sc2code/libs/input/sdl/input.c:465:34: warning: passing argument 2 of 'VControl_AddBinding' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 465 | VControl_AddBinding (&e, &ImmediateInputState.key[template][control]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/libs/input/sdl/vcontrol.h:50:46: note: expected 'int *' but argument is of type 'volatile int *' 50 | int VControl_AddBinding (SDL_Event *e, int *target); | ~~~~~^~~~~~ CC obj/debug/src/sc2code/libs/input/sdl/keynames.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/input/sdl/keynames.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/input/sdl/vcontrol.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/input/sdl/vcontrol.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/input/sdl/vcontrol.c: In function 'VControl_AddKeyBinding': src/sc2code/libs/input/sdl/vcontrol.c:523:37: warning: comparison of integer expressions of different signedness: 'SDLKey' and 'int' [-Wsign-compare] 523 | if ((symbol < 0) || (symbol >= num_sdl_keys)) { | ^~ src/sc2code/libs/input/sdl/vcontrol.c: In function 'VControl_RemoveKeyBinding': src/sc2code/libs/input/sdl/vcontrol.c:534:37: warning: comparison of integer expressions of different signedness: 'SDLKey' and 'int' [-Wsign-compare] 534 | if ((symbol < 0) || (symbol >= num_sdl_keys)) { | ^~ src/sc2code/libs/input/sdl/vcontrol.c: In function 'VControl_ProcessKeyDown': src/sc2code/libs/input/sdl/vcontrol.c:772:37: warning: comparison of integer expressions of different signedness: 'SDLKey' and 'int' [-Wsign-compare] 772 | if ((symbol < 0) || (symbol >= num_sdl_keys)) { | ^~ src/sc2code/libs/input/sdl/vcontrol.c: In function 'VControl_ProcessKeyUp': src/sc2code/libs/input/sdl/vcontrol.c:783:37: warning: comparison of integer expressions of different signedness: 'SDLKey' and 'int' [-Wsign-compare] 783 | if ((symbol < 0) || (symbol >= num_sdl_keys)) | ^~ CC obj/debug/src/sc2code/libs/list/list.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/list/list.h:30, from src/sc2code/libs/list/list.c:25: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/math/random.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/mathlib.h:22, from src/sc2code/libs/math/mthintrn.h:22, from src/sc2code/libs/math/random.c:34: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/math/sqrt.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/mathlib.h:22, from src/sc2code/libs/math/mthintrn.h:22, from src/sc2code/libs/math/sqrt.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/memory/w_memlib.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/memory/w_memlib.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/alist.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/resource/alist.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/direct.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/strings/strintrn.h:22, from src/sc2code/libs/resource/direct.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/filecntl.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/resource/filecntl.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/getres.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/resource/getres.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/loadres.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/resource/resintrn.h:22, from src/sc2code/libs/resource/loadres.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/mapres.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/resource/mapres.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/resdata.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/resource/resintrn.h:22, from src/sc2code/libs/resource/resdata.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/resource/resinit.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/resource/resintrn.h:22, from src/sc2code/libs/resource/resinit.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/resource/resinit.c: In function 'loadResourceIndex': src/sc2code/libs/resource/resinit.c:169:91: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 169 | log_add (log_Warning, "Resource index '%s': Invalid line %d.", | ~^ | | | int | %ld 170 | fileName, lineNum); | ~~~~~~~ | | | size_t {aka long unsigned int} src/sc2code/libs/resource/resinit.c:183:83: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 183 | log_add (log_Warning, "Resource index '%s': Invalid line %d.", | ~^ | | | int | %ld 184 | fileName, lineNum); | ~~~~~~~ | | | size_t {aka long unsigned int} src/sc2code/libs/resource/resinit.c:192:45: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 192 | log_add (log_Fatal, "Fatal: resource index '%s' is not sorted " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | "on the resource number, or contains a double entry. " 194 | "Problem encountered on line %d.", fileName, lineNum); | ~~~~~~~ | | | size_t {aka long unsigned int} src/sc2code/libs/resource/resinit.c:194:71: note: format string is defined here 194 | "Problem encountered on line %d.", fileName, lineNum); | ~^ | | | int | %ld CC obj/debug/src/sc2code/libs/resource/stringbank.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/resource/stringbank.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/audiocore.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/audiocore.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/fileinst.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/sndintrn.h:22, from src/sc2code/libs/sound/fileinst.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/resinst.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/sndintrn.h:22, from src/sc2code/libs/sound/resinst.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/sound.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/misc.h:25, from src/sc2code/libs/sound/sound.h:20, from src/sc2code/libs/sound/sound.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/sfx.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/sound/sfx.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/sfx.c: In function '_GetSoundBankData': src/sc2code/libs/sound/sfx.c:183:15: warning: variable 'opos' set but not used [-Wunused-but-set-variable] 183 | DWORD opos; | ^~~~ CC obj/debug/src/sc2code/libs/sound/music.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/file.h:22, from src/sc2code/libs/sound/music.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/music.c: In function 'PLRPlaySong': src/sc2code/libs/sound/music.c:35:52: warning: implicit conversion from 'BOOLEAN' to 'bool' [-Wenum-conversion] 35 | PlayStream ((*pmus), MUSIC_SOURCE, Continuous, | ^~~~~~~~~~ CC obj/debug/src/sc2code/libs/sound/stream.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/sound/stream.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/stream.c: In function 'PlayStream': src/sc2code/libs/sound/stream.c:102:54: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 102 | soundSource[source].stream_should_be_playing = TRUE; | ^ src/sc2code/libs/sound/stream.c: In function 'StopStream': src/sc2code/libs/sound/stream.c:109:54: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 109 | soundSource[source].stream_should_be_playing = FALSE; | ^ src/sc2code/libs/sound/stream.c: In function 'PauseStream': src/sc2code/libs/sound/stream.c:128:54: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 128 | soundSource[source].stream_should_be_playing = FALSE; | ^ src/sc2code/libs/sound/stream.c: In function 'ResumeStream': src/sc2code/libs/sound/stream.c:135:54: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 135 | soundSource[source].stream_should_be_playing = TRUE; | ^ src/sc2code/libs/sound/stream.c: In function 'PlayingStream': src/sc2code/libs/sound/stream.c:159:35: warning: implicit conversion from 'bool' to 'BOOLEAN' [-Wenum-conversion] 159 | return soundSource[source].stream_should_be_playing; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/libs/sound/stream.c: In function 'StreamDecoderTaskFunc': src/sc2code/libs/sound/stream.c:254:89: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 254 | soundSource[i].stream_should_be_playing = FALSE; | ^ src/sc2code/libs/sound/stream.c:354:81: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 354 | soundSource[i].stream_should_be_playing = FALSE; | ^ CC obj/debug/src/sc2code/libs/sound/trackplayer.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/misc.h:25, from src/sc2code/libs/sound/sound.h:20, from src/sc2code/libs/sound/trackplayer.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/trackplayer.c: In function 'GetTimeStamps': src/sc2code/libs/sound/trackplayer.c:308:47: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign] 308 | while (*TimeStamps && (pos = strcspn (TimeStamps, ",\r\n"))) | ^~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/strings/strintrn.h:23, from src/sc2code/libs/sound/sound.h:21: /usr/include/string.h:293:36: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 293 | extern size_t strcspn (const char *__s, const char *__reject) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:313:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 313 | strncpy (valStr, TimeStamps, pos); | ^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:313:34: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 313 | strncpy (valStr, TimeStamps, pos); | ^~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:315:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 315 | val = strtoul (valStr, NULL, 10); | ^~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/misc.h:26: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:323:39: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 323 | TimeStamps += strspn (TimeStamps, ",\r\n"); | ^~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c: In function 'SplitSubPages': src/sc2code/libs/sound/trackplayer.c:350:59: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 350 | strcpy (split_text[page], ".."); | ~~~~~~~~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:351:59: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 351 | strncpy (split_text[page] + ellips, text, pos); | ~~~~~~~~~~~~~~~~~^~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:351:69: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 351 | strncpy (split_text[page] + ellips, text, pos); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:352:67: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 352 | strcpy (split_text[page] + ellips + pos, "..."); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:365:59: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 365 | strcpy (split_text[page], ".."); | ~~~~~~~~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:366:59: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 366 | strncpy (split_text[page] + ellips, text, pos); | ~~~~~~~~~~~~~~~~~^~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:366:69: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 366 | strncpy (split_text[page] + ellips, text, pos); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:391:43: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 391 | strcpy (split_text[page], ".."); | ~~~~~~~~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:392:43: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 392 | strncpy (split_text[page] + ellips, text, pos); | ~~~~~~~~~~~~~~~~~^~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:392:53: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 392 | strncpy (split_text[page] + ellips, text, pos); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c: In function 'SpliceMultiTrack': src/sc2code/libs/sound/trackplayer.c:438:69: warning: pointer targets in passing argument 2 of 'SoundDecoder_Load' differ in signedness [-Wpointer-sign] 438 | track_decs[tracks] = SoundDecoder_Load (contentDir, *TrackNames, | ^~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/sound/sound.h:24: src/sc2code/libs/sound/decoders/decoder.h:117:23: note: expected 'char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 117 | char *filename, uint32 buffer_size, uint32 startTime, sint32 runTime); | ~~~~~~^~~~~~~~ src/sc2code/libs/sound/trackplayer.c:470:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 470 | slen = strlen (TrackText); | ^~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:473:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 473 | int slen1 = strlen ((UNICODE *)cur_text_chain->text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:476:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 476 | strcpy (&((UNICODE *)cur_text_chain->text)[slen1], TrackText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:476:68: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 476 | strcpy (&((UNICODE *)cur_text_chain->text)[slen1], TrackText); | ^~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:481:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 481 | strcpy ((UNICODE *)begin_chain->text, TrackText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:481:55: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 481 | strcpy ((UNICODE *)begin_chain->text, TrackText); | ^~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c: In function 'SpliceTrack': src/sc2code/libs/sound/trackplayer.c:520:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 520 | slen1 = strlen (oTT); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:521:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 521 | slen2 = strlen (split_text[0]); | ~~~~~~~~~~^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:523:41: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 523 | strcpy (&((UNICODE *)last_ts_chain->text)[slen1], split_text[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:523:93: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 523 | strcpy (&((UNICODE *)last_ts_chain->text)[slen1], split_text[0]); | ~~~~~~~~~~^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:558:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 558 | slen1 = strlen (oTT); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:559:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 559 | slen2 = strlen (split_text[0]); | ~~~~~~~~~~^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ src/sc2code/libs/sound/trackplayer.c:561:41: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 561 | strcpy (&((UNICODE *)cur_text_chain->text)[slen1], split_text[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/sound/trackplayer.c:561:94: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 561 | strcpy (&((UNICODE *)cur_text_chain->text)[slen1], split_text[0]); | ~~~~~~~~~~^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/sound/trackplayer.c:595:82: warning: pointer targets in passing argument 2 of 'SoundDecoder_Load' differ in signedness [-Wpointer-sign] 595 | decoder = SoundDecoder_Load (contentDir, TrackName, 4096, | ^~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/libs/sound/decoders/decoder.h:117:23: note: expected 'char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 117 | char *filename, uint32 buffer_size, uint32 startTime, sint32 runTime); | ~~~~~~^~~~~~~~ src/sc2code/libs/sound/trackplayer.c:606:83: warning: pointer targets in passing argument 2 of 'SoundDecoder_Load' differ in signedness [-Wpointer-sign] 606 | decoder = SoundDecoder_Load (contentDir, TrackName, 4096, | ^~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/libs/sound/decoders/decoder.h:117:23: note: expected 'char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 117 | char *filename, uint32 buffer_size, uint32 startTime, sint32 runTime); | ~~~~~~^~~~~~~~ CC obj/debug/src/sc2code/libs/sound/mixer/mixer.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/mixer/mixer.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.h:23, from src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.c: In function 'mixSDL_Init': src/sc2code/libs/sound/mixer/sdl/audiodrv_sdl.c:198:57: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 198 | soundSource[i].stream_should_be_playing = FALSE; | ^ CC obj/debug/src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/misc.h:25, from src/sc2code/libs/sound/sound.h:20, from src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.h:24, from src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.c: In function 'noSound_Init': src/sc2code/libs/sound/mixer/nosound/audiodrv_nosound.c:139:57: warning: implicit conversion from 'enum ' to 'bool' [-Wenum-conversion] 139 | soundSource[i].stream_should_be_playing = FALSE; | ^ CC obj/debug/src/sc2code/libs/sound/decoders/decoder.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/sound/decoders/decoder.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/decoders/wav.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/decoders/wav.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/decoders/dukaud.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/decoders/dukaud.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/decoders/modaud.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/decoders/modaud.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/sound/decoders/oggaud.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/sound/decoders/oggaud.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/strings/getstr.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/strings/getstr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/strings/sfileins.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/strings/sfileins.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/strings/sresins.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/strings/strintrn.h:22, from src/sc2code/libs/strings/sresins.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/strings/strings.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/strings/strintrn.h:22, from src/sc2code/libs/strings/strings.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/strings/unicode.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/strings/unicode.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/strings/unicode.c: In function 'resyncUTF8': src/sc2code/libs/strings/unicode.c:31:17: warning: value computed is not used [-Wunused-value] 31 | *ptr++; | ^~~~~~ src/sc2code/libs/strings/unicode.c: In function 'utf8StringCopy': src/sc2code/libs/strings/unicode.c:270:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 270 | strncpy (dst, src, size); | ^~~ | | | unsigned char * In file included from src/sc2code/libs/strings/unicode.c:22: /usr/include/string.h:144:40: note: expected 'char * restrict' but argument is of type 'unsigned char *' 144 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/strings/unicode.c:270:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 270 | strncpy (dst, src, size); | ^~~ | | | const unsigned char * /usr/include/string.h:145:46: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' 145 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/strings/unicode.c: In function 'utf8StringCompare': src/sc2code/libs/strings/unicode.c:318:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 318 | return strcmp (str1, str2); | ^~~~ | | | const unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/libs/strings/unicode.c:318:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 318 | return strcmp (str1, str2); | ^~~~ | | | const unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/libs/strings/unicode.c: In function 'getStringFromChar': src/sc2code/libs/strings/unicode.c:435:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 435 | ch >>= 6; | ~~~^~~~~ src/sc2code/libs/strings/unicode.c:436:17: note: here 436 | case 4: ptr[4] = (ch & 0x3f) | 0x80; | ^~~~ src/sc2code/libs/strings/unicode.c:437:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 437 | ch >>= 6; | ~~~^~~~~ src/sc2code/libs/strings/unicode.c:438:17: note: here 438 | case 3: ptr[3] = (ch & 0x3f) | 0x80; | ^~~~ src/sc2code/libs/strings/unicode.c:439:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 439 | ch >>= 6; | ~~~^~~~~ src/sc2code/libs/strings/unicode.c:440:17: note: here 440 | case 2: ptr[2] = (ch & 0x3f) | 0x80; | ^~~~ src/sc2code/libs/strings/unicode.c:441:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 441 | ch >>= 6; | ~~~^~~~~ src/sc2code/libs/strings/unicode.c:442:17: note: here 442 | case 1: ptr[1] = (ch & 0x3f) | 0x80; | ^~~~ src/sc2code/libs/strings/unicode.c:443:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 443 | ch >>= 6; | ~~~^~~~~ src/sc2code/libs/strings/unicode.c:444:17: note: here 444 | case 0: ptr[0] = (ch & def->mask) | def->marker; | ^~~~ CC obj/debug/src/sc2code/libs/task/tasklib.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/task/tasklib.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/threads/thrcommon.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/threads/thrcommon.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/threads/sdl/sdlthreads.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/threads/sdl/sdlthreads.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/time/timecommon.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/time/timecommon.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/time/sdl/sdltime.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/time/sdl/sdltime.h:23, from src/sc2code/libs/time/sdl/sdltime.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/charhashtable.c.o In file included from /usr/include/unistd.h:25, from src/sc2code/libs/uio/uioport.h:27, from src/sc2code/libs/uio/hashtable.h:31, from src/sc2code/libs/uio/charhashtable.h:33, from src/sc2code/libs/uio/charhashtable.c:23: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/defaultfs.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/uio/io.h:24, from src/sc2code/libs/uio/iointrn.h:36, from src/sc2code/libs/uio/defaultfs.h:26, from src/sc2code/libs/uio/defaultfs.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/fileblock.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/uio/io.h:24, from src/sc2code/libs/uio/iointrn.h:36, from src/sc2code/libs/uio/fileblock.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/fstypes.c.o In file included from /usr/include/errno.h:25, from src/sc2code/libs/uio/fstypes.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/gphys.c.o In file included from /usr/include/errno.h:25, from src/sc2code/libs/uio/gphys.c:28: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/io.c.o In file included from /usr/include/errno.h:25, from src/sc2code/libs/uio/io.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/ioaux.c.o In file included from /usr/include/errno.h:25, from src/sc2code/libs/uio/ioaux.c:23: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/match.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/sc2code/libs/uio/match.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/mount.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/uio/mount.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/mounttree.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/uio/mounttree.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/paths.c.o In file included from /usr/include/assert.h:35, from src/sc2code/libs/uio/paths.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/physical.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/sc2code/libs/uio/physical.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/uiostream.c.o In file included from /usr/include/unistd.h:25, from src/sc2code/libs/uio/uioport.h:27, from src/sc2code/libs/uio/uiostream.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/uio/uiostream.c: In function 'uio_fopen': src/sc2code/libs/uio/uiostream.c:66:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 66 | openFlags = O_WRONLY| O_CREAT | O_APPEND; | ^ src/sc2code/libs/uio/uiostream.c:67:17: note: here 67 | default: | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/uioutils.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/uio/uioutils.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/utils.c.o In file included from /usr/include/errno.h:25, from src/sc2code/libs/uio/utils.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/uio/utils.c: In function 'uio_getStdioAccess': src/sc2code/libs/uio/utils.c:206:52: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 206 | sprintf(tempDirName, "%08lx", (unsigned long) dirNum + i); | ^ src/sc2code/libs/uio/utils.c:206:25: note: 'sprintf' output between 9 and 10 bytes into a destination of size 9 206 | sprintf(tempDirName, "%08lx", (unsigned long) dirNum + i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC obj/debug/src/sc2code/libs/uio/debug.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/uio/debug.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/uio/stdio/stdio.c.o In file included from /usr/include/unistd.h:25, from src/sc2code/libs/uio/stdio/./../uioport.h:27, from src/sc2code/libs/uio/stdio/./../gphys.h:24, from src/sc2code/libs/uio/stdio/./stdio.h:31, from src/sc2code/libs/uio/stdio/stdio.c:28: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/uio/stdio/stdio.c: In function 'stdio_openEntries': src/sc2code/libs/uio/stdio/stdio.c:521:9: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] 521 | result->status = readdir_r(dirHandle, result->direntBuffer, | ^~~~~~ In file included from src/sc2code/libs/uio/stdio/./stdio.h:39: /usr/include/dirent.h:185:12: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ src/sc2code/libs/uio/stdio/stdio.c: In function 'stdio_readEntries': src/sc2code/libs/uio/stdio/stdio.c:565:25: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] 565 | iterator->status = readdir_r(iterator->dirHandle, | ^~~~~~~~ /usr/include/dirent.h:185:12: note: declared here 185 | extern int readdir_r (DIR *__restrict __dirp, | ^~~~~~~~~ CC obj/debug/src/sc2code/libs/uio/zip/zip.c.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/sc2code/libs/uio/zip/zip.c:31: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/uio/zip/zip.c: In function 'zip_fillDirStructureCentralProcessEntry': src/sc2code/libs/uio/zip/zip.c:684:20: warning: variable 'crc' set but not used [-Wunused-but-set-variable] 684 | uio_uint32 crc; | ^~~ CC obj/debug/src/sc2code/libs/video/vfileins.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/vidlib.h:22, from src/sc2code/libs/video/vfileins.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/video/video.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/video/video.h:20, from src/sc2code/libs/video/video.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/video/video.c: In function 'InitVideo': src/sc2code/libs/video/video.c:38:16: warning: implicit conversion from 'bool' to 'BOOLEAN' [-Wenum-conversion] 38 | return TFB_InitVideoPlayer (); | ^~~~~~~~~~~~~~~~~~~~~~ src/sc2code/libs/video/video.c: In function 'VidPlay': src/sc2code/libs/video/video.c:81:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 81 | TFB_VideoClip* vid = (TFB_VideoClip*) VidRef; | ^ src/sc2code/libs/video/video.c: In function '_init_video_file': src/sc2code/libs/video/video.c:138:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 138 | return (VIDEO_REF) vid; | ^ src/sc2code/libs/video/video.c: In function 'DestroyVideo': src/sc2code/libs/video/video.c:144:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 144 | TFB_VideoClip* vid = (TFB_VideoClip*) VideoRef; | ^ CC obj/debug/src/sc2code/libs/video/videodec.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/video/video.h:20, from src/sc2code/libs/video/videodec.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/video/vidplayer.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/video/video.h:20, from src/sc2code/libs/video/vidplayer.h:20, from src/sc2code/libs/video/vidplayer.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/video/vidplayer.c: In function 'TFB_PlayVideo': src/sc2code/libs/video/vidplayer.c:277:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 277 | TFB_VideoClip* vid = (TFB_VideoClip*) VidRef; | ^ src/sc2code/libs/video/vidplayer.c: In function 'TFB_StopVideo': src/sc2code/libs/video/vidplayer.c:367:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 367 | TFB_VideoClip* vid = (TFB_VideoClip*) VidRef; | ^ src/sc2code/libs/video/vidplayer.c: In function 'TFB_VideoPlaying': src/sc2code/libs/video/vidplayer.c:392:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 392 | TFB_VideoClip* vid = (TFB_VideoClip*) VidRef; | ^ src/sc2code/libs/video/vidplayer.c: In function 'TFB_DoVideoInput': src/sc2code/libs/video/vidplayer.c:404:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 404 | TFB_VideoClip* vid = (TFB_VideoClip*) pVIS->CurVideo; | ^ CC obj/debug/src/sc2code/libs/video/dukvid.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/options.h:25, from src/sc2code/libs/video/video.h:20, from src/sc2code/libs/video/dukvid.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/log/uqmlog.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/log/uqmlog.h:20, from src/sc2code/libs/log/uqmlog.c:17: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/libs/log/uqmlog.c: In function 'displayBox': src/sc2code/libs/log/uqmlog.c:357:25: warning: unused parameter 'title' [-Wunused-parameter] 357 | displayBox (const char *title, bool isError, const char *msg) | ~~~~~~~~~~~~^~~~~ src/sc2code/libs/log/uqmlog.c:357:37: warning: unused parameter 'isError' [-Wunused-parameter] 357 | displayBox (const char *title, bool isError, const char *msg) | ~~~~~^~~~~~~ src/sc2code/libs/log/uqmlog.c:357:58: warning: unused parameter 'msg' [-Wunused-parameter] 357 | displayBox (const char *title, bool isError, const char *msg) | ~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/libs/network/netport.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/netport.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/network_bsd.c.o CC obj/debug/src/sc2code/libs/network/connect/connect.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/connect/connect.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/connect/listen.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/connect/listen.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/connect/resolve.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/connect/resolve.h:31, from src/sc2code/libs/network/connect/resolve.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/netmanager/ndesc.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/network/netmanager/ndesc.h:22, from src/sc2code/libs/network/netmanager/ndesc.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/netmanager/netmanager_bsd.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/network/netmanager/ndesc.h:22, from src/sc2code/libs/network/netmanager/netmanager_bsd.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/socket/socket.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/socket/socket.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/libs/network/socket/socket_bsd.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/libs/network/socket/socket.h:25, from src/sc2code/libs/network/socket/socket_bsd.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/calc.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/calc.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/cargo.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/planets/cargo.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/cargo.c: In function 'ShowRemainingCapacity': src/sc2code/planets/cargo.c:39:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 39 | sprintf (rt_amount_buf, "%u", | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c: In function 'DrawCargoStrings': src/sc2code/planets/cargo.c:158:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 158 | sprintf (rt_amount_buf, "%u", | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:166:42: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 166 | sprintf (rt_amount_buf, "%u", | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:190:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 190 | sprintf (rt_amount_buf, "%u", GLOBAL_SIS (TotalBioMass)); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:234:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 234 | sprintf (rt_amount_buf, "%u", GLOBAL_SIS (TotalBioMass)); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:240:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 240 | sprintf (rt_amount_buf, "%u", GLOBAL (ElementWorth[OldElement])); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:243:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 243 | sprintf (rt_amount_buf, "%u", GLOBAL_SIS (ElementAmounts[OldElement])); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:267:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 267 | sprintf (rt_amount_buf, "%u", GLOBAL_SIS (TotalBioMass)); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:273:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 273 | sprintf (rt_amount_buf, "%u", GLOBAL (ElementWorth[NewElement])); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/cargo.c:276:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 276 | sprintf (rt_amount_buf, "%u", GLOBAL_SIS (ElementAmounts[NewElement])); | ^~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/planets/devices.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/devices.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genburv.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/planets/genburv.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genchmmr.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genchmmr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genchmmr.c: In function 'GenerateChmmr': src/sc2code/planets/genchmmr.c:62:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 62 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[1]) | ^ src/sc2code/planets/genchmmr.c:139:17: note: here 139 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gencol.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/gencol.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gencol.c: In function 'GenerateColony': src/sc2code/planets/gencol.c:83:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 83 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/gencol.c:98:17: note: here 98 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gendru.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/gendru.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gendru.c: In function 'GenerateDruuge': src/sc2code/planets/gendru.c:112:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 112 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/gendru.c:155:17: note: here 155 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genilw.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genilw.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genmel.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genmel.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genmyc.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genmyc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genmyc.c: In function 'GenerateMycon': src/sc2code/planets/genmyc.c:127:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 127 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genmyc.c:231:17: note: here 231 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genorz.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genorz.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genorz.c: In function 'GenerateAndrosynth': src/sc2code/planets/genorz.c:78:82: warning: variable 'pPSD' set but not used [-Wunused-but-set-variable] 78 | PPLANETSIDE_DESC pPSD; | ^~~~ src/sc2code/planets/genorz.c: In function 'GenerateOrz': src/sc2code/planets/genorz.c:293:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 291 | if ((CurStarDescPtr->Index == ORZ_DEFINED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | && pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 293 | || (CurStarDescPtr->Index == TAALO_PROTECTOR_DEFINED | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | && pSolarSysState->pOrbitalDesc->pPrevDesc == &pSolarSysState->PlanetDesc[1] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | && pSolarSysState->pOrbitalDesc == &pSolarSysState->MoonDesc[2] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 296 | && !GET_GAME_STATE (TAALO_PROTECTOR))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sc2code/planets/genorz.c:375:17: note: here 375 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genpet.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genpet.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genpku.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genpku.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genpku.c: In function 'GeneratePkunk': src/sc2code/planets/genpku.c:104:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 104 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genpku.c:148:17: note: here 148 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genrain.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/genrain.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genrain.c: In function 'GenerateRainbow': src/sc2code/planets/genrain.c:52:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 52 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genrain.c:75:17: note: here 75 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gensam.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/gensam.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gensam.c: In function 'GenerateSamatra': src/sc2code/planets/gensam.c:234:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 234 | if (pSolarSysState->pOrbitalDesc->pPrevDesc == &pSolarSysState->PlanetDesc[4] | ^ src/sc2code/planets/gensam.c:293:17: note: here 293 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genshof.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genshof.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genshof.c: In function 'GenerateShofixti': src/sc2code/planets/genshof.c:55:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 55 | if (!GET_GAME_STATE (SHOFIXTI_RECRUITED) | ^ src/sc2code/planets/genshof.c:76:17: note: here 76 | case REINIT_NPCS: | ^~~~ CC obj/debug/src/sc2code/planets/gensly.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/gensly.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gensly.c: In function 'GenerateSlylandro': src/sc2code/planets/gensly.c:35:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 35 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[3]) | ^ src/sc2code/planets/gensly.c:42:17: note: here 42 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gensol.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/gensol.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genspa.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genspa.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genspa.c: In function 'GenerateSpathi': src/sc2code/planets/genspa.c:214:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 214 | else if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genspa.c:238:17: note: here 238 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gensup.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/gensup.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gensup.c: In function 'GenerateSupox': src/sc2code/planets/gensup.c:102:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 102 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/gensup.c:146:17: note: here 146 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gensyr.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/gensyr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/gensyr.c: In function 'GenerateSyreen': src/sc2code/planets/gensyr.c:106:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | else if (pSolarSysState->pOrbitalDesc->pPrevDesc == &pSolarSysState->PlanetDesc[0] | ^ src/sc2code/planets/gensyr.c:114:17: note: here 114 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genthrad.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genthrad.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genthrad.c: In function 'GenerateThradd': src/sc2code/planets/genthrad.c:140:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 140 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genthrad.c:209:17: note: here 209 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/gentopo.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/planets/gentopo.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genutw.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genutw.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/genvault.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/genvault.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genvault.c: In function 'GenerateShipVault': src/sc2code/planets/genvault.c:81:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | if (pSolarSysState->pOrbitalDesc->pPrevDesc == &pSolarSysState->PlanetDesc[0] | ^ src/sc2code/planets/genvault.c:106:17: note: here 106 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genvux.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genvux.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genvux.c: In function 'GenerateVUX': src/sc2code/planets/genvux.c:282:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 282 | else if (CurStarDescPtr->Index == VUX_BEAST_DEFINED | ^ src/sc2code/planets/genvux.c:332:17: note: here 332 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genwreck.c.o In file included from /usr/include/sys/types.h:25, from src/sc2code/libs/threadlib.h:47, from src/sc2code/libs/tasklib.h:27, from src/sc2code/clock.h:22, from src/sc2code/globdata.h:22, from src/sc2code/planets/genwreck.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genwreck.c: In function 'GenerateUrquanWreck': src/sc2code/planets/genwreck.c:73:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 73 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[6]) | ^ src/sc2code/planets/genwreck.c:91:17: note: here 91 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genyeh.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genyeh.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genyeh.c: In function 'GenerateYehat': src/sc2code/planets/genyeh.c:86:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 86 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genyeh.c:124:17: note: here 124 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/genzoq.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/genzoq.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/genzoq.c: In function 'GenerateZoqFotPik': src/sc2code/planets/genzoq.c:156:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 156 | if (pSolarSysState->pOrbitalDesc == &pSolarSysState->PlanetDesc[0]) | ^ src/sc2code/planets/genzoq.c:215:17: note: here 215 | default: | ^~~~~~~ CC obj/debug/src/sc2code/planets/lander.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/planets/lander.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/lander.c: In function 'RepairTopography': src/sc2code/planets/lander.c:179:15: warning: variable 's' set but not used [-Wunused-but-set-variable] 179 | STAMP s; | ^ src/sc2code/planets/lander.c: In function 'CheckObjectCollision': src/sc2code/planets/lander.c:777:86: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 777 | sprintf (pPSD->AmountBuf, "%u", NumRetrieved); | ~~~~^~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/planets/orbits.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/encount.h:22, from src/sc2code/planets/orbits.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/oval.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/planets/oval.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/pl_stuff.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/menustat.h:22, from src/sc2code/planets/planets.h:22, from src/sc2code/planets/pl_stuff.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/planets.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/planets/planets.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/planets/plangen.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/displist.h:22, from src/sc2code/setup.h:20, from src/sc2code/planets/plangen.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/plangen.c: In function 'RenderLevelMasks': src/sc2code/planets/plangen.c:775:15: warning: pointer targets in assignment from 'PBYTE' {aka 'unsigned char *'} to 'SBYTE *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 775 | elevs = pSolarSysState->Orbit.lpTopoData; | ^ src/sc2code/planets/plangen.c: In function 'TopoScale4x': src/sc2code/planets/plangen.c:1465:14: warning: pointer targets in assignment from 'PBYTE' {aka 'unsigned char *'} to 'PSBYTE' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 1465 | pSrc = pSrcTopo; | ^ src/sc2code/planets/plangen.c:1490:14: warning: pointer targets in assignment from 'PBYTE' {aka 'unsigned char *'} to 'PSBYTE' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 1490 | pSrc = pSrcTopo; | ^ src/sc2code/planets/plangen.c:1491:14: warning: pointer targets in assignment from 'PBYTE' {aka 'unsigned char *'} to 'PSBYTE' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 1491 | pDst = pDstTopo; | ^ src/sc2code/planets/plangen.c: In function 'GeneratePlanetMask': src/sc2code/planets/plangen.c:1862:62: warning: pointer targets in passing argument 2 of 'MakeGasGiant' differ in signedness [-Wpointer-sign] 1862 | Orbit->lpTopoData, &r, PlanDataPtr->fault_depth); | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} src/sc2code/planets/plangen.c:1230:39: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 1230 | MakeGasGiant (COUNT num_bands, PSBYTE DepthArray, PRECT pRect, SIZE | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/plangen.c:1868:70: warning: pointer targets in passing argument 2 of 'DeltaTopography' differ in signedness [-Wpointer-sign] 1868 | Orbit->lpTopoData, &r, | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} In file included from src/sc2code/sis.h:4, from src/sc2code/globdata.h:24, from src/sc2code/setup.h:21: src/sc2code/planets/planets.h:251:59: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 251 | extern void DeltaTopography (COUNT num_iterations, PSBYTE DepthArray, | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/plangen.c:1905:77: warning: pointer targets in passing argument 2 of 'MakeCrater' differ in signedness [-Wpointer-sign] 1905 | MakeCrater (&crater_r, Orbit->lpTopoData, | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} src/sc2code/planets/plangen.c:912:33: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 912 | MakeCrater (PRECT pRect, PSBYTE DepthArray, SIZE rim_delta, SIZE | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/plangen.c:1912:65: warning: pointer targets in passing argument 1 of 'DitherMap' differ in signedness [-Wpointer-sign] 1912 | DitherMap (Orbit->lpTopoData); | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} src/sc2code/planets/plangen.c:884:19: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 884 | DitherMap (PSBYTE DepthArray) | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/plangen.c:1913:59: warning: pointer targets in passing argument 1 of 'ValidateMap' differ in signedness [-Wpointer-sign] 1913 | ValidateMap (Orbit->lpTopoData); | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} src/sc2code/planets/plangen.c:1300:21: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 1300 | ValidateMap (PSBYTE DepthArray) | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/plangen.c:1979:40: warning: pointer targets in passing argument 1 of 'GenerateLightMap' differ in signedness [-Wpointer-sign] 1979 | GenerateLightMap (Orbit->lpTopoData, MAP_WIDTH, MAP_HEIGHT); | ~~~~~^~~~~~~~~~~~ | | | PBYTE {aka unsigned char *} src/sc2code/planets/plangen.c:1663:26: note: expected 'PSBYTE' {aka 'signed char *'} but argument is of type 'PBYTE' {aka 'unsigned char *'} 1663 | GenerateLightMap (PSBYTE pTopo, int w, int h) | ~~~~~~~^~~~~ CC obj/debug/src/sc2code/planets/pstarmap.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/planets/pstarmap.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/pstarmap.c: In function 'UpdateCursorInfo': src/sc2code/planets/pstarmap.c:752:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 752 | if (strcmp (buf, prevbuf) != 0) | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/velocity.h:22, from src/sc2code/element.h:25, from src/sc2code/races.h:23: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/planets/pstarmap.c:752:26: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 752 | if (strcmp (buf, prevbuf) != 0) | ^~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/planets/pstarmap.c:754:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 754 | strcpy (prevbuf, buf); | ^~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/planets/pstarmap.c:754:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 754 | strcpy (prevbuf, buf); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/pstarmap.c: In function 'UpdateFuelRequirement': src/sc2code/planets/pstarmap.c:784:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 784 | sprintf (buf, "%s %u.%u", | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/pstarmap.c: In function 'DrawMatchedStarName': src/sc2code/planets/pstarmap.c:1025:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1025 | strcpy (pstr, pSS->Text); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/planets/pstarmap.c:1025:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1025 | strcpy (pstr, pSS->Text); | ~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/pstarmap.c:1029:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1029 | strcpy (pstr, GAME_STRING (SDPtr->Postfix)); | ^~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ In file included from src/sc2code/planets/pstarmap.c:23: src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/pstarmap.c:1029:31: note: in expansion of macro 'GAME_STRING' 1029 | strcpy (pstr, GAME_STRING (SDPtr->Postfix)); | ^~~~~~~~~~~ /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/pstarmap.c: In function 'MatchNextStar': src/sc2code/planets/pstarmap.c:1056:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1056 | strcpy (pSS->Buffer, pSS->Text); | ~~~^~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/planets/pstarmap.c:1056:41: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1056 | strcpy (pSS->Buffer, pSS->Text); | ~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/pstarmap.c: In function 'OnStarNameChange': src/sc2code/planets/pstarmap.c:1095:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1095 | if (strcmp (pSS->Text, pSS->LastText) != 0) | ~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/planets/pstarmap.c:1095:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1095 | if (strcmp (pSS->Text, pSS->LastText) != 0) | ~~~^~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/sc2code/planets/pstarmap.c:1098:28: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1098 | strcpy (pSS->LastText, pSS->Text); | ~~~^~~~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/planets/pstarmap.c:1098:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1098 | strcpy (pSS->LastText, pSS->Text); | ~~~^~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:70: note: expected 'const char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/pstarmap.c: In function 'DoStarSearch': src/sc2code/planets/pstarmap.c:1174:27: warning: pointer targets in passing argument 1 of 'DrawSISMessageEx' differ in signedness [-Wpointer-sign] 1174 | DrawSISMessageEx ("", 0, 0, DSME_SETFR); | ^~ | | | char * In file included from src/sc2code/globdata.h:24, from src/sc2code/planets/pstarmap.c:24: src/sc2code/sis.h:261:49: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 261 | extern BOOLEAN DrawSISMessageEx (const UNICODE *pStr, SIZE CurPos, | ~~~~~~~~~~~~~~~^~~~ src/sc2code/planets/pstarmap.c: In function 'DoMoveCursor': src/sc2code/planets/pstarmap.c:1285:33: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1285 | strcpy (last_buf, " "); | ^~~~~~~~ | | | UNICODE * {aka unsigned char *} /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/planets/pstarmap.c: In function 'DoFlagshipCommands': src/sc2code/planets/pstarmap.c:1749:49: warning: this statement may fall through [-Wimplicit-fallthrough=] 1749 | { | ^ src/sc2code/planets/pstarmap.c:1785:49: note: here 1785 | case NAVIGATION: | ^~~~ CC obj/debug/src/sc2code/planets/report.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/planets/report.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/report.c: In function 'MakeReport': src/sc2code/planets/report.c:96:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 96 | sprintf (end_page_buf, "%s\n", GAME_STRING (SCAN_STRING_BASE + NUM_SCAN_TYPES)); | ^~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/report.c:201:48: warning: dangling pointer to 'pNextStr' may be used [-Wdangling-pointer=] 201 | t.pStr = pNextStr; | ~~~~~~~^~~~~~~~~~ src/sc2code/planets/report.c:116:32: note: 'pNextStr' declared here 116 | const UNICODE *pNextStr; | ^~~~~~~~ src/sc2code/planets/report.c:148:38: warning: dangling pointer 'pStr_238' to 'pNextStr' may be used [-Wdangling-pointer=] 148 | pStr = pNextStr; | ~~~~~^~~~~~~~~~ src/sc2code/planets/report.c:116:32: note: 'pNextStr' declared here 116 | const UNICODE *pNextStr; | ^~~~~~~~ CC obj/debug/src/sc2code/planets/roster.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/roster.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from src/sc2code/battle.h:20, from src/sc2code/element.h:22, from src/sc2code/races.h:23: src/sc2code/planets/roster.c: In function 'flash_ship_task': src/sc2code/planets/roster.c:49:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 49 | &GLOBAL (built_ship_q), (HSTARSHIP)pMenuState->CurFrame); | ^ src/sc2code/displist.h:64:44: note: in definition of macro 'LockLink' 64 | #define LockLink(pq, h) (LINKPTR)mem_lock (h) | ^ src/sc2code/planets/roster.c:48:49: note: in expansion of macro 'LockStarShip' 48 | StarShipPtr = (SHIP_FRAGMENTPTR)LockStarShip ( | ^~~~~~~~~~~~ src/sc2code/planets/roster.c:52:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 52 | (HSTARSHIP)pMenuState->CurFrame); | ^ src/sc2code/displist.h:65:39: note: in definition of macro 'UnlockLink' 65 | #define UnlockLink(pq, h) mem_unlock (h) | ^ src/sc2code/planets/roster.c:51:17: note: in expansion of macro 'UnlockStarShip' 51 | UnlockStarShip (&GLOBAL (built_ship_q), | ^~~~~~~~~~~~~~ src/sc2code/planets/roster.c: In function 'DeltaSupportCrew': src/sc2code/planets/roster.c:108:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 108 | &GLOBAL (built_ship_q), (HSTARSHIP)pMenuState->CurFrame); | ^ src/sc2code/displist.h:64:44: note: in definition of macro 'LockLink' 64 | #define LockLink(pq, h) (LINKPTR)mem_lock (h) | ^ src/sc2code/planets/roster.c:107:41: note: in expansion of macro 'LockStarShip' 107 | StarShipPtr = (SHIP_FRAGMENTPTR)LockStarShip ( | ^~~~~~~~~~~~ src/sc2code/planets/roster.c:126:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 126 | sprintf (buf, "%u", StarShipPtr->ShipInfo.crew_level); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/roster.c:128:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 128 | sprintf (buf, "%u/%u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/roster.c:149:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 149 | UnlockStarShip (&GLOBAL (built_ship_q), (HSTARSHIP)pMenuState->CurFrame); | ^ src/sc2code/displist.h:65:39: note: in definition of macro 'UnlockLink' 65 | #define UnlockLink(pq, h) mem_unlock (h) | ^ src/sc2code/planets/roster.c:149:9: note: in expansion of macro 'UnlockStarShip' 149 | UnlockStarShip (&GLOBAL (built_ship_q), (HSTARSHIP)pMenuState->CurFrame); | ^~~~~~~~~~~~~~ src/sc2code/planets/roster.c: In function 'RosterCleanup': src/sc2code/planets/roster.c:175:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 175 | &GLOBAL (built_ship_q), (HSTARSHIP)pMS->CurFrame); | ^ src/sc2code/displist.h:64:44: note: in definition of macro 'LockLink' 64 | #define LockLink(pq, h) (LINKPTR)mem_lock (h) | ^ src/sc2code/planets/roster.c:174:49: note: in expansion of macro 'LockStarShip' 174 | StarShipPtr = (SHIP_FRAGMENTPTR)LockStarShip ( | ^~~~~~~~~~~~ src/sc2code/planets/roster.c:177:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 177 | UnlockStarShip (&GLOBAL (built_ship_q), (HSTARSHIP)pMS->CurFrame); | ^ src/sc2code/displist.h:65:39: note: in definition of macro 'UnlockLink' 65 | #define UnlockLink(pq, h) mem_unlock (h) | ^ src/sc2code/planets/roster.c:177:17: note: in expansion of macro 'UnlockStarShip' 177 | UnlockStarShip (&GLOBAL (built_ship_q), (HSTARSHIP)pMS->CurFrame); | ^~~~~~~~~~~~~~ src/sc2code/planets/roster.c: In function 'DoModifyRoster': src/sc2code/planets/roster.c:349:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 349 | (HSTARSHIP)pMS->CurFrame | ^ src/sc2code/displist.h:64:44: note: in definition of macro 'LockLink' 64 | #define LockLink(pq, h) (LINKPTR)mem_lock (h) | ^ src/sc2code/planets/roster.c:347:57: note: in expansion of macro 'LockStarShip' 347 | StarShipPtr = (SHIP_FRAGMENTPTR)LockStarShip ( | ^~~~~~~~~~~~ src/sc2code/planets/roster.c:354:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 354 | (HSTARSHIP)pMS->CurFrame | ^ src/sc2code/displist.h:65:39: note: in definition of macro 'UnlockLink' 65 | #define UnlockLink(pq, h) mem_unlock (h) | ^ src/sc2code/planets/roster.c:352:25: note: in expansion of macro 'UnlockStarShip' 352 | UnlockStarShip ( | ^~~~~~~~~~~~~~ src/sc2code/planets/roster.c:360:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 360 | pMS->CurFrame = (FRAME)MatchSupportShip (pMS); | ^ src/sc2code/planets/roster.c:192:19: warning: variable 'sy' set but not used [-Wunused-but-set-variable] 192 | SBYTE sx, sy; | ^~ CC obj/debug/src/sc2code/planets/scan.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/build.h:22, from src/sc2code/planets/scan.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/scan.c: In function 'PrintScanTitlePC': src/sc2code/planets/scan.c:105:17: warning: pointer targets in assignment from 'const char *' to 'const UNICODE *' {aka 'const unsigned char *'} differ in signedness [-Wpointer-sign] 105 | t->pStr = txt; | ^ src/sc2code/planets/scan.c: In function 'MakeScanValue': src/sc2code/planets/scan.c:119:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 119 | sprintf (buf, "%ld.%ld%s", val / 100, (val / 10) % 10, extra); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/libs/uio/mounttree.h:24, from src/sc2code/libs/uio/io.h:42, from src/sc2code/libs/uio.h:24, from src/sc2code/libs/strlib.h:24, from src/sc2code/libs/gfxlib.h:124: /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:123:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 123 | sprintf (buf, "%ld.%02ld%s", val / 100, val % 100, extra); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c: In function 'PrintCoarseScanPC': src/sc2code/planets/scan.c:190:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 190 | sprintf (buf, "%s", GAME_STRING (SCAN_STRING_BASE + 4 + 51)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:192:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 192 | sprintf (buf, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ In file included from src/sc2code/planets/scan.c:22: src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:219:35: note: in expansion of macro 'GAME_STRING' 219 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:232:35: note: in expansion of macro 'GAME_STRING' 232 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 2), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:254:35: note: in expansion of macro 'GAME_STRING' 254 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 6), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:256:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 256 | sprintf (buf, "%d" STR_DEGREE_SIGN " c", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:265:35: note: in expansion of macro 'GAME_STRING' 265 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 7), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:271:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 271 | sprintf (buf, "%s %u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:282:35: note: in expansion of macro 'GAME_STRING' 282 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 10), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:289:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 289 | sprintf (buf, "%s %u", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:301:35: note: in expansion of macro 'GAME_STRING' 301 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 11), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:318:35: note: in expansion of macro 'GAME_STRING' 318 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 13), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:330:35: note: in expansion of macro 'GAME_STRING' 330 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 14), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:344:35: note: in expansion of macro 'GAME_STRING' 344 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 16), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/gamestr.h:79:25: warning: pointer targets in passing argument 3 of 'PrintScanTitlePC' differ in signedness [-Wpointer-sign] 79 | #define GAME_STRING(i) ((UNICODE *)GetStringAddress (SetAbsStringTableIndex (GameStrings, (i)))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | UNICODE * {aka unsigned char *} src/sc2code/planets/scan.c:357:35: note: in expansion of macro 'GAME_STRING' 357 | PrintScanTitlePC (&t, &r, GAME_STRING (ORBITSCAN_STRING_BASE + 18), | ^~~~~~~~~~~ src/sc2code/planets/scan.c:100:49: note: expected 'const char *' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 100 | PrintScanTitlePC (TEXT *t, RECT *r, const char *txt, int xpos) | ~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:363:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 363 | sprintf (buf, "%d" STR_DEGREE_SIGN, val); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c: In function 'PrintCoarseScan3DO': src/sc2code/planets/scan.c:431:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 431 | sprintf (buf, "%s", GAME_STRING (SCAN_STRING_BASE + 4 + 51)); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:433:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 433 | sprintf (buf, "%s %s", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:468:34: note: in expansion of macro 'STR_EARTH_SIGN' 468 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/scan.c:477:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 477 | strcpy (buf, STR_INFINITY_SIGN); | ^~~ | | | UNICODE * {aka unsigned char *} In file included from src/sc2code/velocity.h:22, from src/sc2code/element.h:25, from src/sc2code/races.h:23: /usr/include/string.h:141:39: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 141 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:482:42: note: in expansion of macro 'STR_EARTH_SIGN' 482 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/scan.c:491:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 491 | sprintf (buf, "%d" STR_DEGREE_SIGN, | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:500:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 500 | sprintf (buf, "<%u>", pSolarSysState->SysInfo.PlanetInfo.AtmoDensity == 0 | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/planets/scan.c:509:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 509 | sprintf (buf, "<%u>", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:530:34: note: in expansion of macro 'STR_EARTH_SIGN' 530 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:539:34: note: in expansion of macro 'STR_EARTH_SIGN' 539 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:551:34: note: in expansion of macro 'STR_EARTH_SIGN' 551 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/scan.c:562:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 562 | sprintf (buf, "%d" STR_DEGREE_SIGN, val); | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ src/sc2code/libs/strlib.h:86:29: warning: pointer targets in passing argument 3 of 'MakeScanValue' differ in signedness [-Wpointer-sign] 86 | #define STR_EARTH_SIGN "\xE2\x99\x81" | ^~~~~~~~~~~~~~ | | | char * src/sc2code/planets/scan.c:572:34: note: in expansion of macro 'STR_EARTH_SIGN' 572 | MakeScanValue (buf, val, STR_EARTH_SIGN); | ^~~~~~~~~~~~~~ src/sc2code/planets/scan.c:115:55: note: expected 'const UNICODE *' {aka 'const unsigned char *'} but argument is of type 'char *' 115 | MakeScanValue (UNICODE *buf, long val, const UNICODE *extra) | ~~~~~~~~~~~~~~~^~~~~ src/sc2code/planets/scan.c: In function 'DoScan': src/sc2code/planets/scan.c:1014:34: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1014 | sprintf (buf, "%s%1.1f", | ^~~ | | | UNICODE * {aka unsigned char *} /usr/include/stdio.h:358:38: note: expected 'char * restrict' but argument is of type 'UNICODE *' {aka 'unsigned char *'} 358 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ CC obj/debug/src/sc2code/planets/solarsys.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/libs/memlib.h:22, from src/sc2code/libs/gfxlib.h:22, from src/sc2code/units.h:22, from src/sc2code/races.h:22, from src/sc2code/controls.h:22, from src/sc2code/planets/solarsys.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/solarsys.c: In function 'GenerateMoons': src/sc2code/planets/solarsys.c:120:18: warning: variable 'facing' set but not used [-Wunused-but-set-variable] 120 | COUNT i, facing; | ^~~~~~ src/sc2code/planets/solarsys.c: In function 'LoadSolarSys': src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/libs/compiler.h:72:40: note: in definition of macro 'HIBYTE' 72 | #define HIBYTE(x) ((BYTE) ((UWORD) (x) >> 8)) | ^ src/sc2code/planets/solarsys.c:230:33: note: in expansion of macro 'HIWORD' 230 | HIBYTE (HIWORD (GLOBAL (ShipStamp.frame))); | ^~~~~~ src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/libs/compiler.h:73:40: note: in definition of macro 'MAKE_DWORD' 73 | #define MAKE_DWORD(lo, hi) (((DWORD) (hi) << 16) | (UWORD) (lo)) | ^~ src/sc2code/planets/solarsys.c:235:33: note: in expansion of macro 'LOBYTE' 235 | LOBYTE (HIWORD (GLOBAL (ShipStamp.frame)))); | ^~~~~~ src/sc2code/planets/solarsys.c:235:41: note: in expansion of macro 'HIWORD' 235 | LOBYTE (HIWORD (GLOBAL (ShipStamp.frame)))); | ^~~~~~ src/sc2code/libs/compiler.h:74:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define LOWORD(x) ((UWORD) ((DWORD) (x))) | ^ src/sc2code/libs/compiler.h:73:62: note: in definition of macro 'MAKE_DWORD' 73 | #define MAKE_DWORD(lo, hi) (((DWORD) (hi) << 16) | (UWORD) (lo)) | ^~ src/sc2code/planets/solarsys.c:234:33: note: in expansion of macro 'LOWORD' 234 | LOWORD (GLOBAL (ShipStamp.frame)), | ^~~~~~ src/sc2code/planets/solarsys.c:233:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 233 | GLOBAL (ShipStamp.frame) = (FRAME)MAKE_DWORD ( | ^ src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/libs/compiler.h:71:40: note: in definition of macro 'LOBYTE' 71 | #define LOBYTE(x) ((BYTE) ((UWORD) (x))) | ^ src/sc2code/planets/solarsys.c:329:21: note: in expansion of macro 'HIWORD' 329 | i = LOBYTE (HIWORD (GLOBAL (ShipStamp.frame))); | ^~~~~~ src/sc2code/libs/compiler.h:74:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define LOWORD(x) ((UWORD) ((DWORD) (x))) | ^ src/sc2code/planets/solarsys.c:377:21: note: in expansion of macro 'LOWORD' 377 | i = LOWORD (GLOBAL (ShipStamp.frame)); | ^~~~~~ src/sc2code/planets/solarsys.c: In function 'DrawOrbit': src/sc2code/planets/solarsys.c:604:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 604 | if (!(draw_sys_flags & (DRAW_ORBITS | DRAW_PLANETS))) | ^~ src/sc2code/planets/solarsys.c:607:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 607 | cx = pPlanetDesc->radius; | ^~ src/sc2code/planets/solarsys.c:625:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 625 | if (!(draw_sys_flags & DRAW_PLANETS)) | ^~ src/sc2code/planets/solarsys.c:628:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 628 | r.corner.x += (r.extent.width >> 1); | ^ src/sc2code/planets/solarsys.c: In function 'UninitSolarSys': src/sc2code/libs/compiler.h:75:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define HIWORD(x) ((UWORD) ((DWORD) (x) >> 16)) | ^ src/sc2code/planets/solarsys.c:1543:21: note: in expansion of macro 'HIWORD' 1543 | if (HIWORD (GLOBAL (ShipStamp.frame)) == 0) | ^~~~~~ CC obj/debug/src/sc2code/planets/surface.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/planets/lifeform.h:22, from src/sc2code/planets/surface.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/planets/surface.c: In function 'CalcMineralDeposits': src/sc2code/planets/surface.c:51:39: warning: variable 'hiword' set but not used [-Wunused-but-set-variable] 51 | UWORD loword, hiword; | ^~~~~~ CC obj/debug/src/sc2code/ships/androsyn/androsyn.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/androsyn/androsyn.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/arilou/arilou.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/arilou/arilou.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/blackurq/blackurq.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/blackurq/blackurq.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/chenjesu/chenjesu.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/chenjesu/chenjesu.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/chmmr/chmmr.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/chmmr/chmmr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/druuge/druuge.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/druuge/druuge.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/human/human.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/human/human.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/human/human.c: In function 'nuke_preprocess': src/sc2code/ships/human/human.c:142:54: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 142 | /*speed = MAX_MISSILE_SPEED*/; | ^ CC obj/debug/src/sc2code/ships/ilwrath/ilwrath.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/ilwrath/ilwrath.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/ilwrath/ilwrath.c: In function 'nothing_collision': src/sc2code/ships/ilwrath/ilwrath.c:199:29: warning: unused parameter 'ElementPtr0' [-Wunused-parameter] 199 | nothing_collision (PELEMENT ElementPtr0, PPOINT pPt0, PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~~~^~~~~~~~~~~ src/sc2code/ships/ilwrath/ilwrath.c:199:49: warning: unused parameter 'pPt0' [-Wunused-parameter] 199 | nothing_collision (PELEMENT ElementPtr0, PPOINT pPt0, PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~^~~~ src/sc2code/ships/ilwrath/ilwrath.c:199:64: warning: unused parameter 'ElementPtr1' [-Wunused-parameter] 199 | nothing_collision (PELEMENT ElementPtr0, PPOINT pPt0, PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~~~^~~~~~~~~~~ src/sc2code/ships/ilwrath/ilwrath.c:199:84: warning: unused parameter 'pPt1' [-Wunused-parameter] 199 | nothing_collision (PELEMENT ElementPtr0, PPOINT pPt0, PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~^~~~ src/sc2code/ships/ilwrath/ilwrath.c: In function 'spawn_sticky_fire': src/sc2code/ships/ilwrath/ilwrath.c:280:25: warning: implicit declaration of function 'TFB_Random' [-Wimplicit-function-declaration] 280 | angle = TFB_Random() & 63; | ^~~~~~~~~~ src/sc2code/ships/ilwrath/ilwrath.c: In function 'ilwrath_trying_to_decloak': src/sc2code/ships/ilwrath/ilwrath.c:370:37: warning: unused parameter 'ElementPtr' [-Wunused-parameter] 370 | ilwrath_trying_to_decloak (PELEMENT ElementPtr) | ~~~~~~~~~^~~~~~~~~~ CC obj/debug/src/sc2code/ships/lastbat/lastbat.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/lastbat/lastbat.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/melnorme/melnorme.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/melnorme/melnorme.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/melnorme/melnorme.c: In function 'spawn_confusion': src/sc2code/ships/melnorme/melnorme.c:532:24: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 532 | return true; | ^~~~ src/sc2code/ships/melnorme/melnorme.c:534:21: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 534 | else return false; | ^~~~~ CC obj/debug/src/sc2code/ships/mmrnmhrm/mmrnmhrm.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/mmrnmhrm/mmrnmhrm.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/mmrnmhrm/mmrnmhrm.c: In function 'mmrnmhrm_intelligence': src/sc2code/ships/mmrnmhrm/mmrnmhrm.c:144:81: warning: unused parameter 'ConcernCounter' [-Wunused-parameter] 144 | mmrnmhrm_intelligence (PELEMENT ShipPtr, PEVALUATE_DESC ObjectsOfConcern, COUNT ConcernCounter) | ~~~~~~^~~~~~~~~~~~~~ src/sc2code/ships/mmrnmhrm/mmrnmhrm.c: In function 'initialize_nothing': src/sc2code/ships/mmrnmhrm/mmrnmhrm.c:671:30: warning: unused parameter 'ShipPtr' [-Wunused-parameter] 671 | initialize_nothing (PELEMENT ShipPtr, HELEMENT NothingArray[]) | ~~~~~~~~~^~~~~~~ src/sc2code/ships/mmrnmhrm/mmrnmhrm.c:671:48: warning: unused parameter 'NothingArray' [-Wunused-parameter] 671 | initialize_nothing (PELEMENT ShipPtr, HELEMENT NothingArray[]) | ~~~~~~~~~^~~~~~~~~~~~~~ CC obj/debug/src/sc2code/ships/mycon/mycon.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/mycon/mycon.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/orz/orz.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/orz/orz.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/pkunk/pkunk.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/pkunk/pkunk.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/pkunk/pkunk.c: In function 'initialize_bug_missile': src/sc2code/ships/pkunk/pkunk.c:131:17: warning: unused variable 'j' [-Wunused-variable] 131 | COUNT i,j; | ^ src/sc2code/ships/pkunk/pkunk.c: In function 'charge_intelligence': src/sc2code/ships/pkunk/pkunk.c:184:55: warning: unused parameter 'ObjectsOfConcern' [-Wunused-parameter] 184 | charge_intelligence (PELEMENT ShipPtr, PEVALUATE_DESC ObjectsOfConcern, COUNT ConcernCounter) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/sc2code/ships/pkunk/pkunk.c:184:79: warning: unused parameter 'ConcernCounter' [-Wunused-parameter] 184 | charge_intelligence (PELEMENT ShipPtr, PEVALUATE_DESC ObjectsOfConcern, COUNT ConcernCounter) | ~~~~~~^~~~~~~~~~~~~~ src/sc2code/ships/pkunk/pkunk.c: In function 'new_pkunk': src/sc2code/ships/pkunk/pkunk.c:265:33: warning: cast between incompatible function types from 'COUNT (*)(ELEMENT *, HELEMENT *)' {aka 'short unsigned int (*)(struct element *, short int *)'} to 'void (*)(ELEMENT *)' {aka 'void (*)(struct element *)'} [-Wcast-function-type] 265 | (void (*) (PELEMENT ElementPtr)) | ^ src/sc2code/ships/pkunk/pkunk.c: In function 'intercept_pkunk_death': src/sc2code/ships/pkunk/pkunk.c:336:41: warning: cast between incompatible function types from 'void (*)(struct element *)' to 'COUNT (*)(ELEMENT *, HELEMENT *)' {aka 'short unsigned int (*)(struct element *, short int *)'} [-Wcast-function-type] 336 | (COUNT (*) (PELEMENT ElementPtr, | ^ src/sc2code/ships/pkunk/pkunk.c: In function 'spawn_tongue': src/sc2code/ships/pkunk/pkunk.c:520:15: warning: unused variable 'real_facing' [-Wunused-variable] 520 | COUNT real_facing; | ^~~~~~~~~~~ CC obj/debug/src/sc2code/ships/probe/probe.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/probe/probe.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/shofixti/shofixti.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/shofixti/shofixti.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/shofixti/shofixti.c: In function 'shofixti_fighter_preprocess': src/sc2code/ships/shofixti/shofixti.c:241:91: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 241 | thrust_hack(ElementPtr, SCOUT_THRUST_INCREMENT, SCOUT_MAX_THRUST, true); | ^~~~ src/sc2code/ships/shofixti/shofixti.c: In function 'shofixti_dispose_graphics': src/sc2code/ships/shofixti/shofixti.c:642:41: warning: unused parameter 'RaceDescPtr' [-Wunused-parameter] 642 | shofixti_dispose_graphics (RACE_DESCPTR RaceDescPtr) CC obj/debug/src/sc2code/ships/sis_ship/sis_ship.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/sis_ship/sis_ship.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/slylandr/slylandr.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/slylandr/slylandr.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/spathi/spathi.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/spathi/spathi.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/supox/supox.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/supox/supox.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/syreen/syreen.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/syreen/syreen.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/syreen/syreen.c: In function 'compel_enemy': src/sc2code/ships/syreen/syreen.c:254:42: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 254 | BOOLEAN found_an_enemy = false; | ^~~~~ src/sc2code/ships/syreen/syreen.c:266:48: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 266 | found_an_enemy = true; | ^ src/sc2code/ships/syreen/syreen.c: In function 'mace_collision': src/sc2code/ships/syreen/syreen.c:479:46: warning: unused parameter 'pPt0' [-Wunused-parameter] 479 | mace_collision (PELEMENT ElementPtr0, PPOINT pPt0, | ~~~~~~~^~~~ src/sc2code/ships/syreen/syreen.c:480:46: warning: unused parameter 'pPt1' [-Wunused-parameter] 480 | PELEMENT ElementPtr1, PPOINT pPt1) | ~~~~~~~^~~~ CC obj/debug/src/sc2code/ships/thradd/thradd.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/thradd/thradd.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/thradd/thradd.c: In function 'initialize_horn': src/sc2code/ships/thradd/thradd.c:305:57: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 305 | return sub_initialize_horn (ShipPtr, HornArray, false); | ^~~~~ src/sc2code/ships/thradd/thradd.c: In function 'afterburner_preprocess': src/sc2code/ships/thradd/thradd.c:326:87: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 326 | thrust_hack(ElementPtr, SPECIAL_THRUST_INCREMENT, SPECIAL_MAX_THRUST, false); | ^~~~~ src/sc2code/ships/thradd/thradd.c: In function 'thraddash_postprocess': src/sc2code/ships/thradd/thradd.c:408:57: warning: implicit conversion from 'enum ' to 'BOOLEAN' [-Wenum-conversion] 408 | sub_initialize_horn (ElementPtr, &Horn, true); | ^~~~ CC obj/debug/src/sc2code/ships/umgah/umgah.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/umgah/umgah.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/urquan/urquan.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/urquan/urquan.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/utwig/utwig.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/utwig/utwig.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/vux/vux.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/vux/vux.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/vux/vux.c: In function 'vux_postprocess': src/sc2code/ships/vux/vux.c:338:27: warning: unused parameter 'ElementPtr' [-Wunused-parameter] 338 | vux_postprocess (PELEMENT ElementPtr) | ~~~~~~~~~^~~~~~~~~~ CC obj/debug/src/sc2code/ships/yehat/yehat.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/yehat/yehat.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/ships/zoqfot/zoqfot.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/libs/compiler.h:22, from src/sc2code/battle.h:19, from src/sc2code/element.h:22, from src/sc2code/collide.h:22, from src/sc2code/ships/ship.h:24, from src/sc2code/ships/zoqfot/zoqfot.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/ships/zoqfot/zoqfot.c: In function 'recontrol_zoqfotpik': src/sc2code/ships/zoqfot/zoqfot.c:820:41: warning: cast between incompatible function types from 'COUNT (*)(ELEMENT *, HELEMENT *)' {aka 'short unsigned int (*)(struct element *, short int *)'} to 'void (*)(ELEMENT *)' {aka 'void (*)(struct element *)'} [-Wcast-function-type] 820 | (void (*) (PELEMENT ElementPtr)) | ^ src/sc2code/ships/zoqfot/zoqfot.c:844:33: warning: cast between incompatible function types from 'COUNT (*)(ELEMENT *, HELEMENT *)' {aka 'short unsigned int (*)(struct element *, short int *)'} to 'void (*)(ELEMENT *)' {aka 'void (*)(struct element *)'} [-Wcast-function-type] 844 | (void (*) (PELEMENT ElementPtr)) | ^ src/sc2code/ships/zoqfot/zoqfot.c: In function 'intercept_zoqfotpik_death': src/sc2code/ships/zoqfot/zoqfot.c:913:49: warning: cast between incompatible function types from 'void (*)(struct element *)' to 'COUNT (*)(ELEMENT *, HELEMENT *)' {aka 'short unsigned int (*)(struct element *, short int *)'} [-Wcast-function-type] 913 | (COUNT (*) (PELEMENT ElementPtr, | ^ CC obj/debug/src/sc2code/netplay/checkbuf.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/checkbuf.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/checksum.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/netplay/checksum.h:23, from src/sc2code/netplay/checksum.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/crc.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/netplay/crc.h:22, from src/sc2code/netplay/crc.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netconnection.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netconnection.h:41, from src/sc2code/netplay/netconnection.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netinput.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netinput.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netmelee.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/netplay/../libs/compiler.h:22, from src/sc2code/netplay/../libs/memlib.h:22, from src/sc2code/netplay/../libs/gfxlib.h:22, from src/sc2code/netplay/../units.h:22, from src/sc2code/netplay/../races.h:22, from src/sc2code/netplay/../controls.h:22, from src/sc2code/netplay/netinput.h:22, from src/sc2code/netplay/netmelee.h:23, from src/sc2code/netplay/netmelee.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netmisc.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netconnection.h:41, from src/sc2code/netplay/netmisc.h:24, from src/sc2code/netplay/netmisc.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netoptions.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/netplay/netoptions.h:22, from src/sc2code/netplay/netoptions.c:19: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netrcv.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netrcv.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netsend.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netsend.c:22: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/netstate.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netstate.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/notify.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netconnection.h:41, from src/sc2code/netplay/notify.h:24, from src/sc2code/netplay/notify.c:24: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/packet.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netconnection.h:41, from src/sc2code/netplay/packet.h:64, from src/sc2code/netplay/packet.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/packethandlers.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/packethandlers.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ src/sc2code/netplay/packethandlers.c: In function 'PacketHandler_Fleet': src/sc2code/netplay/packethandlers.c:251:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 251 | log_add(log_Warning, "Invalid fleet size. Specified size is %d, " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 252 | "actual size = %d\n", 253 | numShips, (len - sizeof packet) / sizeof(packet->ships[0])); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int src/sc2code/netplay/packethandlers.c:252:49: note: format string is defined here 252 | "actual size = %d\n", | ~^ | | | int | %ld src/sc2code/netplay/packethandlers.c: In function 'PacketHandler_TeamName': src/sc2code/netplay/packethandlers.c:315:65: warning: pointer targets in passing argument 3 of 'updateTeamName' differ in signedness [-Wpointer-sign] 315 | updateTeamName(battleStateData->meleeState, side, packet->name, nameLen); | ~~~~~~^~~~~~ | | | const uint8 * {aka const unsigned char *} In file included from src/sc2code/netplay/packethandlers.c:40: src/sc2code/melee.h:124:64: note: expected 'const char *' but argument is of type 'const uint8 *' {aka 'const unsigned char *'} 124 | void updateTeamName (PMELEE_STATE pMS, COUNT side, const char *name, | ~~~~~~~~~~~~^~~~ src/sc2code/netplay/packethandlers.c: In function 'PacketHandler_InputDelay': src/sc2code/netplay/packethandlers.c:474:26: warning: variable 'battleStateData' set but not used [-Wunused-but-set-variable] 474 | BattleStateData *battleStateData; | ^~~~~~~~~~~~~~~ src/sc2code/netplay/packethandlers.c: In function 'PacketHandler_Checksum': src/sc2code/netplay/packethandlers.c:613:38: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 613 | log_add(log_Warning, "NETPLAY: [%d] <== Received checksum " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 616 | (unsigned int) frameNr, interval); | ~~~~~~~~ | | | size_t {aka long unsigned int} src/sc2code/netplay/packethandlers.c:615:48: note: format string is defined here 615 | "divisable by %u -- discarding.\n", conn->player, | ~^ | | | unsigned int | %lu src/sc2code/netplay/packethandlers.c:628:38: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 628 | log_add(log_Warning, "NETPLAY: [%d] <== Received checksum " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 631 | (unsigned int) frameNr, battleFrameCount, delay); | ~~~~~ | | | size_t {aka long unsigned int} src/sc2code/netplay/packethandlers.c:630:57: note: format string is defined here 630 | "is %u, input delay is %u) -- discarding.\n", conn->player, | ~^ | | | unsigned int | %lu src/sc2code/netplay/packethandlers.c:645:38: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 645 | log_add(log_Warning, "NETPLAY: [%d] <== Received checksum " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 648 | (unsigned int) frameNr, battleFrameCount, delay); | ~~~~~ | | | size_t {aka long unsigned int} src/sc2code/netplay/packethandlers.c:647:57: note: format string is defined here 647 | "is %u, input delay is %u) -- discarding.\n", conn->player, | ~^ | | | unsigned int | %lu CC obj/debug/src/sc2code/netplay/packetsenders.c.o In file included from /usr/include/inttypes.h:25, from src/types.h:38, from src/sc2code/netplay/packetsenders.h:22, from src/sc2code/netplay/packetsenders.c:20: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/packetq.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/netstate.h:22, from src/sc2code/netplay/netconnection.h:41, from src/sc2code/netplay/packetq.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/proto/npconfirm.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/proto/../netstate.h:22, from src/sc2code/netplay/proto/../netconnection.h:41, from src/sc2code/netplay/proto/npconfirm.h:23, from src/sc2code/netplay/proto/npconfirm.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/proto/ready.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/proto/../netstate.h:22, from src/sc2code/netplay/proto/../netconnection.h:41, from src/sc2code/netplay/proto/ready.h:22, from src/sc2code/netplay/proto/ready.c:21: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/sc2code/netplay/proto/reset.c.o In file included from /usr/include/unistd.h:25, from src/port.h:45, from src/sc2code/netplay/proto/../netstate.h:22, from src/sc2code/netplay/proto/../netconnection.h:41, from src/sc2code/netplay/proto/reset.h:22, from src/sc2code/netplay/proto/reset.c:23: /usr/include/features.h:413:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 413 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ CC obj/debug/src/getopt/getopt.c.o CC obj/debug/src/getopt/getopt1.c.o LINK uqm-debug + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wZ5XhR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd uqm-0.6.2/sc2 + install -dm 755 /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/opt/uqm + strip uqm-debug + install -Dpm 755 uqm-debug /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/opt/uqm/uqm-elvish-mod + cp /builddir/build/SOURCES/uqm-0.6.0-content.uqm /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/opt/uqm/content-0.6.uqm + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: uqm-elvish-mod-1.4.3-2.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eySNfd + umask 022 + cd /builddir/build/BUILD + cd uqm-0.6.2/sc2 + DOCDIR=/builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr AUTHORS /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr ChangeLog /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr Contributing /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr README /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr WhatsNew /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + cp -pr doc/users/manual.txt /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/doc/uqm-elvish-mod + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2NvC8N + umask 022 + cd /builddir/build/BUILD + cd uqm-0.6.2/sc2 + LICENSEDIR=/builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/licenses/uqm-elvish-mod + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/licenses/uqm-elvish-mod + cp -pr COPYING /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64/usr/share/licenses/uqm-elvish-mod + RPM_EC=0 ++ jobs -p + exit 0 Provides: uqm-elvish-mod = 1.4.3-2.fc38 uqm-elvish-mod(x86-64) = 1.4.3-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libmikmod.so.3()(64bit) libvorbisfile.so.3()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 Wrote: /builddir/build/RPMS/uqm-elvish-mod-1.4.3-2.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m7cq53 + umask 022 + cd /builddir/build/BUILD + cd uqm-0.6.2/sc2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/uqm-elvish-mod-1.4.3-2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.zKXJVw + umask 022 + cd /builddir/build/BUILD + rm -rf uqm-0.6.2/sc2 uqm-0.6.2/sc2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0