=> Building games/searchandrescue Started : Saturday, 15 FEB 2020 at 13:50:12 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/searchandrescue XDG_CONFIG_HOME=/construction/games/searchandrescue HOME=/construction/games/searchandrescue TMPDIR="/tmp" PATH=/construction/games/searchandrescue/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/searchandrescue XDG_CONFIG_HOME=/construction/games/searchandrescue HOME=/construction/games/searchandrescue TMPDIR="/tmp" PATH=/construction/games/searchandrescue/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/searchandrescue/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/SearchAndRescue" EXAMPLESDIR="share/examples/SearchAndRescue" DATADIR="share/SearchAndRescue" WWWDIR="www/SearchAndRescue" ETCDIR="etc/SearchAndRescue" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/SearchAndRescue DOCSDIR=/usr/local/share/doc/SearchAndRescue EXAMPLESDIR=/usr/local/share/examples/SearchAndRescue WWWDIR=/usr/local/www/SearchAndRescue ETCDIR=/usr/local/etc/SearchAndRescue -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of SearchAndRescue-1.4.0_8 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => SearchAndRescue-1.4.0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://downloads.sourceforge.net/project/searchandrescue/Program/SearchAndRescue-1.4.0.tar.gz SearchAndRescue-1.4.0.tar.gz 1438 kB 4895 kBps 00s ===> Fetching all distfiles required by SearchAndRescue-1.4.0_8 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by SearchAndRescue-1.4.0_8 for building => SHA256 Checksum OK for SearchAndRescue-1.4.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by SearchAndRescue-1.4.0_8 for building ===> Extracting for SearchAndRescue-1.4.0_8 => SHA256 Checksum OK for SearchAndRescue-1.4.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for SearchAndRescue-1.4.0_8 ===> Applying ports patches for SearchAndRescue-1.4.0_8 ===> Applying dragonfly patches for SearchAndRescue-1.4.0_8 /usr/bin/env WRKSRC=/construction/games/searchandrescue/searchandrescue_1.4.0 REWARNFILE=/construction/games/searchandrescue/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's,%%LOCALBASE%%,/usr/local,g' -e 's,%%PREFIX%%,/usr/local,g' /construction/games/searchandrescue/searchandrescue_1.4.0/sar/config.h /usr/bin/env WRKSRC=/construction/games/searchandrescue/searchandrescue_1.4.0 REWARNFILE=/construction/games/searchandrescue/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's,%%PREFIX%%,/usr/local,g' -e 's,/usr/local,/usr/local,g' -e 's,/usr/X11R6,/usr/local,g' -e '/^CFLAGS = /s,=,= -pipe -O2 -fno-strict-aliasing ,g' -e '/^CPPFLAGS = /s, = .*, = ,g' -e '/^CC = /s, = .*, = cc,' -e '/^CPP = /s, = .*, = c++,' -e 's,-O6,,' /construction/games/searchandrescue/searchandrescue_1.4.0/sar/Makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_14,2.txz Installing sdl-1.2.15_14,2... `-- Installing aalib-1.4.r5_13... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: . done | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting aalib-1.4.r5_13: .......... done `-- Installing libGLU-9.0.1... | `-- Installing mesa-libs-18.3.2_3... | | `-- Installing expat-2.2.8... | | `-- Extracting expat-2.2.8: .......... done | | `-- Installing libX11-1.6.9,1... | | `-- Installing libXau-1.0.9... | | `-- Extracting libXau-1.0.9: .......... done | | `-- Installing libXdmcp-1.1.3... | | | `-- Installing xorgproto-2019.2... | | | `-- Extracting xorgproto-2019.2: .......... done | | `-- Extracting libXdmcp-1.1.3: ...... done | | `-- Installing libxcb-1.13.1... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.10... | | | `-- Extracting libxml2-2.9.10: .......... done | | `-- Extracting libxcb-1.13.1: .......... done | | `-- Extracting libX11-1.6.9,1: .......... done | | `-- Installing libXdamage-1.1.5... | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: ....... done | | `-- Extracting libXdamage-1.1.5: ...... done | | `-- Installing libXext-1.3.4,1... | | `-- Extracting libXext-1.3.4,1: .......... done | | `-- Installing libXrandr-1.5.2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: ....... done | | `-- Extracting libXrandr-1.5.2: .......... done | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.100... | | `-- Installing libpciaccess-0.16... | | | `-- Installing pciids-20200125... | | | `-- Extracting pciids-20200125: ..... done | | `-- Extracting libpciaccess-0.16: ...... done | | `-- Extracting libdrm-2.4.100: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Installing gettext-runtime-0.20.1... | | `-- Extracting gettext-runtime-0.20.1: .......... done | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.3... | | `-- Extracting libxshmfence-1.3: ...... done | | `-- Installing wayland-1.16.0... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Extracting wayland-1.16.0: .......... done | `-- Extracting mesa-libs-18.3.2_3: .......... done `-- Extracting libGLU-9.0.1: ...... done Extracting sdl-1.2.15_14,2: .......... done ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===== Message from sdl-1.2.15_14,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on package: xorgproto>=0 - found ===> SearchAndRescue-1.4.0_8 depends on package: xorgproto>=0 - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.0.10,1.txz Installing libICE-1.0.10,1... Extracting libICE-1.0.10,1: .......... done ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.3,1.txz Installing libSM-1.2.3,1... Extracting libSM-1.2.3,1: ........ done ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.3,1.txz Installing libXmu-1.1.3,1... `-- Installing libXt-1.2.0,1... `-- Extracting libXt-1.2.0,1: .......... done Extracting libXmu-1.1.3,1: .......... done ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.12_2.txz Installing libXpm-3.5.12_2... Extracting libXpm-3.5.12_2: .......... done ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> SearchAndRescue-1.4.0_8 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> SearchAndRescue-1.4.0_8 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz Installing sdl_mixer-1.2.12_12... `-- Installing flac-1.3.3... | `-- Installing libogg-1.3.4,4... | `-- Extracting libogg-1.3.4,4: .......... done `-- Extracting flac-1.3.3: .......... done `-- Installing libmikmod-3.3.11.1_1... `-- Extracting libmikmod-3.3.11.1_1: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done `-- Installing smpeg-0.4.4_15... `-- Extracting smpeg-0.4.4_15: .......... done `-- Installing timidity-0.2i_1... `-- Extracting timidity-0.2i_1: .......... done Extracting sdl_mixer-1.2.12_12: ...... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> SearchAndRescue-1.4.0_8 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for SearchAndRescue-1.4.0_8 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for SearchAndRescue-1.4.0_8 --- all --- Build done. To install, type "su" (to gain root privileges) and then type "make install". Building program "SearchAndRescue"... Compiling module cmd.o Compiling module cmdclean.o Compiling module cmdfire.o Compiling module cmdmemory.o Compiling module cmdoption.o Compiling module cmdset.o Compiling module cmdsmoke.o Compiling module cmdtime.o Compiling module cp.o Compiling module cpfio.o Compiling module cpins.o Compiling module cpinsaltimeter.o Compiling module cpinsbearing.o Compiling module cpinshorizon.o Compiling module explosion.o cpinsaltimeter.c: In function 'CPInsAltimeterNew': cpinsaltimeter.c:75:18: warning: variable 'insv' set but not used [-Wunused-but-set-variable] CPInsAltimeter *insv; ^~~~ cpinsaltimeter.c: In function 'CPInsAltimeterValuesChanged': cpinsaltimeter.c:112:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] int cstate; ^~~~~~ cpinsbearing.c: In function 'CPInsBearingValuesChanged': cpinsbearing.c:116:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] int cstate; ^~~~~~ Compiling module fire.o cpinshorizon.c: In function 'CPInsHorizonValuesChanged': cpinshorizon.c:331:26: warning: variable 'tex_bg' set but not used [-Wunused-but-set-variable] v3d_texture_ref_struct *tex_bg, *tex_fg; ^~~~~~ Compiling module gctl.o Compiling module gwx.o Compiling module gwx_dialog.o cpins.c: In function 'CPInsNew': cpins.c:544:45: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", ~^ %li name, s, sizeof(CPIns) ~ cpins.c:544:75: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", ~^ %li name, s, sizeof(CPIns) ~~~~~~~~~~~~~ Compiling module horizon.o Compiling module human.o Compiling module humanio.o Compiling module image.o Compiling module main.o Compiling module matrixmath.o gctl.c: In function 'GCtlNew': gctl.c:116:18: warning: variable 'device' set but not used [-Wunused-but-set-variable] const char *device; ^~~~~~ gctl.c: In function 'GCtlUpdate': gctl.c:327:10: warning: variable 'btn_kb_last' set but not used [-Wunused-but-set-variable] time_t *btn_kb_last; ^~~~~~~~~~~ gctl.c:314:29: warning: variable 'dms' set but not used [-Wunused-but-set-variable] time_t gc_last_updated_ms, dms; ^~~ gctl.c:313:15: warning: variable 'options' set but not used [-Wunused-but-set-variable] gctl_options options; ^~~~~~~ gctl.c: In function 'GCtlDelete': gctl.c:1090:18: warning: variable 'joystick' set but not used [-Wunused-but-set-variable] gctl_js_struct *joystick; ^~~~~~~~ gwx.c: In function 'GWGetCharacterFromKeyCode': gwx.c:780:2: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym( ^~~~~~ In file included from gwx.c:9: /usr/local/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gwx.c:794:6: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym( ^~~~~~ In file included from gwx.c:9: /usr/local/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^~~~~~~~~~~~~~~~ gwx.c:811:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return((int)(keytable[i + 1])); ^ gwx.c: In function 'GWCreateWindow': gwx.c:318:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^~ gwx.c:1305:10: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx.c:318:41: note: did you mean to dereference the pointer? #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^ gwx.c:1305:10: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx_dialog.c: In function 'GWXDialogCreate': gwx_dialog.c:988:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ gwx_dialog.c: In function 'GWXDialogLoadIcon': gwx_dialog.c:1192:15: warning: variable 'btn_height' set but not used [-Wunused-but-set-variable] unsigned int btn_height = 0; ^~~~~~~~~~ gwx_dialog.c: In function 'GWXDialogDraw': gwx_dialog.c:1506:30: warning: variable 'margin' set but not used [-Wunused-but-set-variable] unsigned int width, height, margin; ^~~~~~ gwx.c: In function 'GWInit': gwx.c:1374:14: warning: variable 'pointer_color' set but not used [-Wunused-but-set-variable] const char *pointer_color = NULL; ^~~~~~~~~~~~~ gwx.c:1368:14: warning: variable 'foreground_color' set but not used [-Wunused-but-set-variable] const char *foreground_color = NULL; ^~~~~~~~~~~~~~~~ gwx.c:1367:14: warning: variable 'background_color' set but not used [-Wunused-but-set-variable] const char *background_color = NULL; ^~~~~~~~~~~~~~~~ Compiling module menu.o Compiling module menumap.o gwx.c: In function 'GWContextNew': gwx.c:318:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^~ gwx.c:3736:11: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx.c:318:41: note: did you mean to dereference the pointer? #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^ gwx.c:3736:11: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx.c:318:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^~ gwx.c:3757:11: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx.c:318:41: note: did you mean to dereference the pointer? #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^ gwx.c:3757:11: note: in expansion of macro 'STRISEMPTY' if(!STRISEMPTY(title)) ^~~~~~~~~~ gwx.c: In function 'GWContextDelete': gwx.c:3931:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u_int32_t)glx_context ^ Compiling module menuobjview.o Compiling module messages.o Compiling module mission.o Compiling module missionio.o gwx.c: In function 'GWDrawCharacter': gwx.c:5589:21: warning: variable 'line_spacing' set but not used [-Wunused-but-set-variable] int width_spacing, line_spacing; /* In pixels */ ^~~~~~~~~~~~ Compiling module musiclistio.o Compiling module objio.o At top level: gwx.c:898:13: warning: 'GWGrabPointer' defined but not used [-Wunused-function] static void GWGrabPointer( ^~~~~~~~~~~~~ Compiling module objiopremodeled.o Compiling module objsound.o main.c: In function 'SARKeyBoardCB': main.c:774:41: warning: variable 'shift_key_state' set but not used [-Wunused-but-set-variable] Boolean alt_key_state, ctrl_key_state, shift_key_state; ^~~~~~~~~~~~~~~ main.c:774:10: warning: variable 'alt_key_state' set but not used [-Wunused-but-set-variable] Boolean alt_key_state, ctrl_key_state, shift_key_state; ^~~~~~~~~~~~~ main.c: In function 'SARResetTimmersCB': main.c:1093:27: warning: variable 'obj_human_ptr' set but not used [-Wunused-but-set-variable] sar_object_human_struct *obj_human_ptr; ^~~~~~~~~~~~~ main.c:1092:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] sar_object_ground_struct *obj_ground_ptr; ^~~~~~~~~~~~~~ menuobjview.c: In function 'SARMenuObjViewLoad': menuobjview.c:897:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)ov_ptr->obj_list; ^ menuobjview.c:996:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ov_ptr->obj_list = (void *)list; ^ menuobjview.c: In function 'SARMenuObjViewRebufferImage': menuobjview.c:1101:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)ov_ptr->obj_list; ^ Compiling module objutils.o Compiling module optionio.o mission.c: In function 'SARMissionDoObjectiveSuccess': mission.c:454:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] int player_obj_num; ^~~~~~~~~~~~~~ mission.c: In function 'SARMissionDestroyNotify': mission.c:628:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] int player_obj_num; ^~~~~~~~~~~~~~ mission.c: In function 'SARMissionObjectiveManage': mission.c:1122:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] int player_obj_num; ^~~~~~~~~~~~~~ menu.c: In function 'SARMenuObjectDelete': Compiling module playerstatio.o menu.c:2395:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)objview->obj_list; ^ missionio.c: In function 'SARMissionGetInterceptNameFromScene': missionio.c:115:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] sar_parm_rotate_struct *p_rotate; ^~~~~~~~ missionio.c: In function 'SARMissionLoadSceneMapToMenuMapMarkings': missionio.c:396:31: warning: variable 'p_object_name' set but not used [-Wunused-but-set-variable] sar_parm_object_name_struct *p_object_name; ^~~~~~~~~~~~~ missionio.c:395:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] sar_parm_rotate_struct *p_rotate; ^~~~~~~~ missionio.c:393:34: warning: variable 'p_new_premodeled' set but not used [-Wunused-but-set-variable] sar_parm_new_premodeled_struct *p_new_premodeled; ^~~~~~~~~~~~~~~~ missionio.c:392:29: warning: variable 'p_new_human' set but not used [-Wunused-but-set-variable] sar_parm_new_human_struct *p_new_human; ^~~~~~~~~~~ missionio.c:391:30: warning: variable 'p_new_runway' set but not used [-Wunused-but-set-variable] sar_parm_new_runway_struct *p_new_runway; ^~~~~~~~~~~~ missionio.c:390:31: warning: variable 'p_new_helipad' set but not used [-Wunused-but-set-variable] sar_parm_new_helipad_struct *p_new_helipad; ^~~~~~~~~~~~~ missionio.c:389:30: warning: variable 'p_new_object' set but not used [-Wunused-but-set-variable] sar_parm_new_object_struct *p_new_object; ^~~~~~~~~~~~ missionio.c: In function 'SARMissionLoadSceneToMenuMap': missionio.c:723:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] int map_num = -1; ^~~~~~~ missionio.c: In function 'SARMissionLoadMissionLogToMenuMap': missionio.c:1135:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] int map_num = -1; ^~~~~~~ menu.c: In function 'SARMenuDoDrawObject': menu.c:3242:28: warning: variable 'y_max' set but not used [-Wunused-but-set-variable] int x_min, x_max, y_min, y_max; ^~~~~ menu.c:3242:14: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] int x_min, x_max, y_min, y_max; ^~~~~ menumap.c: In function 'SARMenuMapMatchMarkingPosition': menumap.c:128:15: warning: variable 'map_yp_max' set but not used [-Wunused-but-set-variable] map_xp_max, map_yp_max; ^~~~~~~~~~ menumap.c:128:3: warning: variable 'map_xp_max' set but not used [-Wunused-but-set-variable] map_xp_max, map_yp_max; ^~~~~~~~~~ missionio.c: In function 'SARMissionLoadFromFile': missionio.c:1481:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] sar_object_fire_struct *obj_fire_ptr = NULL; ^~~~~~~~~~~~ missionio.c:1480:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] sar_object_smoke_struct *obj_smoke_ptr = NULL; ^~~~~~~~~~~~~ missionio.c:1477:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] sar_object_helipad_struct *obj_helipad_ptr = NULL; ^~~~~~~~~~~~~~~ missionio.c:1476:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] sar_object_ground_struct *obj_ground_ptr = NULL; ^~~~~~~~~~~~~~ missionio.c:1455:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] sar_parm_no_depth_test_struct *p_no_depth_test; ^~~~~~~~~~~~~~~ missionio.c:1432:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] sar_parm_texture_base_directory_struct *p_texture_base_directory; ^~~~~~~~~~~~~~~~~~~~~~~~ menu.c:3394:36: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] lines_visable, columns_visable, scroll_width; ^~~~~~~~~~~~ menumap.c: In function 'SARMenuMapManagePointer': menumap.c:880:52: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; ^~~~~~~~~~~~ menumap.c:880:38: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; ^~~~~~~~~~~~ menumap.c:880:24: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; ^~~~~~~~~~~~ menumap.c:880:10: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; ^~~~~~~~~~~~ menu.c: In function 'SARMenuManagePointer': menu.c:4641:17: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] total_lines, scroll_width; ^~~~~~~~~~~~ Compiling module sarcamp.o menu.c: In function 'SARMenuManageKey': menu.c:5717:19: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] lines_visable, scroll_width; ^~~~~~~~~~~~ sarcamp.c: In function 'Get_Location_Name': sarcamp.c:333:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (! my_string) ^~ sarcamp.c:336:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' switch (location) ^~~~~~ objutils.c: In function 'SARVisualModelNewList': objutils.c:827:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)vmodel->data; ^ objutils.c:844:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] vmodel->data = (void *)list; ^ objutils.c:846:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return((void *)list); ^ objutils.c: In function 'SARVisualModelCallList': objutils.c:944:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (vmodel != NULL) ? (GLuint)vmodel->data : 0; ^ objutils.c: In function 'SARVisualModelDelete': objutils.c:972:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)vmodel->data; ^ objutils.c: In function 'SARCloudLayerNew': objutils.c:1052:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)SARVisualModelNewList(*vmodel); ^ Compiling module sardraw.o objio.c: In function 'SARObjLoadPostLoadCheck': objio.c:605:28: warning: variable 'ground' set but not used [-Wunused-but-set-variable] sar_object_ground_struct *ground; ^~~~~~ objio.c: In function 'SARObjLoadX3DDataVisualModel': objio.c:733:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)SARVisualModelNewList(vmodel); ^ objio.c: In function 'SARObjLoadTextVisualModel': objio.c:778:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)SARVisualModelNewList(vmodel); ^ objio.c: In function 'SARObjLoadHeightField': objio.c:1787:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)list, /* GL display list */ ^ objio.c: In function 'SARObjLoadProcessVisualModel': objio.c:2189:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)vmodel->data; ^ objio.c:2247:37: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] const mp_heightfield_load_struct *mp_heightfield_load; ^~~~~~~~~~~~~~~~~~~ objio.c:2241:35: warning: variable 'mp_comment' set but not used [-Wunused-but-set-variable] const mp_comment_struct *mp_comment; ^~~~~~~~~~ Compiling module sardrawhelipad.o sardraw.c: In function 'SARDrawSceneFoundations': sardraw.c:4735:8: warning: variable 'fovx' set but not used [-Wunused-but-set-variable] float fovx, fovz; /* Field of view x and z, in radians */ ^~~~ Compiling module sardrawhuman.o Compiling module sardrawmessages.o sardraw.c: In function 'SARDrawSceneHorizon': sardraw.c:5225:12: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] float n_theta; ^~~~~~~ objio.c: In function 'SARObjLoadFromFile': objio.c:4867:40: warning: variable 'mh_color_spec' set but not used [-Wunused-but-set-variable] const mh_color_specification_struct *mh_color_spec; ^~~~~~~~~~~~~ objio.c:4865:43: warning: variable 'mh_tbd' set but not used [-Wunused-but-set-variable] const mh_texture_base_directory_struct *mh_tbd; ^~~~~~ objio.c:4864:28: warning: variable 'mh_comment' set but not used [-Wunused-but-set-variable] const mh_comment_struct *mh_comment; ^~~~~~~~~~ objio.c:5369:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)SARVisualModelNewList(vmodel); ^ objio.c:5416:38: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] const mp_heightfield_load_struct *mp_heightfield_load; ^~~~~~~~~~~~~~~~~~~ objio.c:5459:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)SARVisualModelNewList(vmodel); ^ objio.c:4688:23: warning: variable 'pos' set but not used [-Wunused-but-set-variable] sar_position_struct *pos; ^~~ objio.c:4687:24: warning: variable 'dir' set but not used [-Wunused-but-set-variable] sar_direction_struct *dir; ^~~ main.c: In function 'SARInit': main.c:2287:64: warning: '%s' directive writing up to 1023 bytes into a region of size 965 [-Wformat-overflow=] "Local data files for this program have been\ninstalled in:\n\n%s", ^~ dname.local_data ~~~~~~~~~~~~~~~~ main.c:2286:6: note: 'sprintf' output between 60 and 1083 bytes into a destination of size 1024 sprintf(mesg, ^~~~~~~~~~~~~ "Local data files for this program have been\ninstalled in:\n\n%s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dname.local_data ~~~~~~~~~~~~~~~~ ); ~ main.c:2269:39: warning: '%s' directive writing up to 1023 bytes into a region of size 988 [-Wformat-overflow=] "Cannot install local data files to:\n%s", ^~ dname.local_data ~~~~~~~~~~~~~~~~ main.c:2268:6: note: 'sprintf' output between 37 and 1060 bytes into a destination of size 1024 sprintf(mesg, ^~~~~~~~~~~~~ "Cannot install local data files to:\n%s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dname.local_data ~~~~~~~~~~~~~~~~ ); ~ Compiling module sardrawpm.o sardraw.c: In function 'SARDraw': sardraw.c:5760:23: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] sar_object_struct ***ptr, *obj_ptr; ^~~ sardraw.c:5753:13: warning: variable 'total' set but not used [-Wunused-but-set-variable] int i, n, *total; ^~~~~ Compiling module sardrawpm_building.o sardrawmessages.c: In function 'SARDrawHelp': sardrawmessages.c:53:32: warning: variable 'xmax' set but not used [-Wunused-but-set-variable] int line_num, xc, yc, x0, y0, xmax, ymax, fw, fh; ^~~~ Compiling module sardrawpm_controltower.o Compiling module sardrawpm_ptt.o Compiling module sardrawpm_radiotower.o Compiling module sardrawpm_tower.o Compiling module sardrawrunway.o Compiling module sardrawselect.o Compiling module sardrawutils.o Compiling module sarfio.o Compiling module sarfioopen.o Compiling module sarfiosave.o Compiling module sarinstall.o sarfio.c: In function 'SARParmDelete': sarfio.c:325:50: warning: variable 'p_runway_approach_lighting_south' set but not used [-Wunused-but-set-variable] sar_parm_runway_approach_lighting_south_struct *p_runway_approach_lighting_south; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarfio.c:324:50: warning: variable 'p_runway_approach_lighting_north' set but not used [-Wunused-but-set-variable] sar_parm_runway_approach_lighting_north_struct *p_runway_approach_lighting_north; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarfio.c:318:29: warning: variable 'p_new_smoke' set but not used [-Wunused-but-set-variable] sar_parm_new_smoke_struct *p_new_smoke; ^~~~~~~~~~~ sarfio.c:317:28: warning: variable 'p_new_fire' set but not used [-Wunused-but-set-variable] sar_parm_new_fire_struct *p_new_fire; ^~~~~~~~~~ sarfio.c:307:40: warning: variable 'p_mission_begin_at_pos' set but not used [-Wunused-but-set-variable] sar_parm_mission_begin_at_pos_struct *p_mission_begin_at_pos; ^~~~~~~~~~~~~~~~~~~~~~ sarfio.c:305:41: warning: variable 'p_mission_new_objective' set but not used [-Wunused-but-set-variable] sar_parm_mission_new_objective_struct *p_mission_new_objective; ^~~~~~~~~~~~~~~~~~~~~~~ Compiling module sarkey.o Compiling module sarmemory.o Compiling module sarmenubuild.o Compiling module sarmenucb.o menu.c: In function 'SARMenuDoDrawObject': menu.c:3611:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(item_name, item->name, item_name_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling module sarmenumanage.o sarmenubuild.c: In function 'SARBuildMenus': sarmenubuild.c:763:15: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] slider_num, map_num; ^~~~~~~ sarmenubuild.c:762:36: warning: variable 'switch_num' set but not used [-Wunused-but-set-variable] int label_num, btn_num, list_num, switch_num, spin_num, ^~~~~~~~~~ sarmenubuild.c:762:17: warning: variable 'btn_num' set but not used [-Wunused-but-set-variable] int label_num, btn_num, list_num, switch_num, spin_num, ^~~~~~~ Compiling module sarmenuop.o Compiling module sarmenuoptions.o sarmenucb.c: In function 'SARMenuCBBeginFreeFlight': sarmenucb.c:234:24: warning: variable 'spin_ptr' set but not used [-Wunused-but-set-variable] sar_menu_spin_struct *spin_ptr; ^~~~~~~~ sarmenucb.c: In function 'SARMenuCBMapOp': sarmenucb.c:405:17: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] scroll_y_min, scroll_y_max; ^~~~~~~~~~~~ sarmenucb.c:405:3: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] scroll_y_min, scroll_y_max; ^~~~~~~~~~~~ sarmenucb.c:404:17: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] scroll_x_min, scroll_x_max, ^~~~~~~~~~~~ sarmenucb.c:404:3: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] scroll_x_min, scroll_x_max, ^~~~~~~~~~~~ sarmenucb.c: In function 'SARMenuCBPlayerEditCB': sarmenucb.c:63:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^~ sarmenucb.c:669:6: note: in expansion of macro 'ISSTREMPTY' if(!ISSTREMPTY(v)) ^~~~~~~~~~ sarmenucb.c:63:41: note: did you mean to dereference the pointer? #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) ^ sarmenucb.c:669:6: note: in expansion of macro 'ISSTREMPTY' if(!ISSTREMPTY(v)) ^~~~~~~~~~ Compiling module sarmusic.o sarmenucb.c: In function 'SARMenuListActivateCB': sarmenucb.c:1267:21: warning: variable 'opt' set but not used [-Wunused-but-set-variable] sar_option_struct *opt; ^~~ sarmenucb.c:1262:21: warning: variable 'display' set but not used [-Wunused-but-set-variable] gw_display_struct *display; ^~~~~~~ Compiling module sarscreenshot.o Compiling module sarsimbegin.o Compiling module sarsimend.o sarscreenshot.c: In function 'SARScreenShotRect': sarscreenshot.c:260:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status; ^~~~~~ Compiling module sarsplash.o sarmusic.c: In function 'SARMusicUpdate': sarmusic.c:237:4: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarmusic.c:383:7: note: in expansion of macro 'GET_MUSIC_REF_FILE' GET_MUSIC_REF_FILE ^~~~~~~~~~~~~~~~~~ sarmusic.c:248:5: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarmusic.c:383:7: note: in expansion of macro 'GET_MUSIC_REF_FILE' GET_MUSIC_REF_FILE ^~~~~~~~~~~~~~~~~~ sarmusic.c:237:4: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarmusic.c:282:3: note: in expansion of macro 'GET_MUSIC_REF_FILE' GET_MUSIC_REF_FILE ^~~~~~~~~~~~~~~~~~ sarmusic.c:248:5: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sarmusic.c:282:3: note: in expansion of macro 'GET_MUSIC_REF_FILE' GET_MUSIC_REF_FILE ^~~~~~~~~~~~~~~~~~ Compiling module sartime.o Compiling module sarutils.o sarmenuoptions.c: In function 'SARMenuOptionsSwitchCB': sarmenuoptions.c:2258:21: warning: variable 'display' set but not used [-Wunused-but-set-variable] gw_display_struct *display; ^~~~~~~ sarmenuoptions.c: In function 'SARMenuOptionsSliderCB': sarmenuoptions.c:2967:21: warning: variable 'display' set but not used [-Wunused-but-set-variable] gw_display_struct *display; ^~~~~~~ sarsimend.c: In function 'SARSimEndMissionTabulate': sarsimend.c:52:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] int player_obj_num; ^~~~~~~~~~~~~~ sarsimend.c:48:14: warning: variable 'name' set but not used [-Wunused-but-set-variable] const char *name; ^~~~ sarsimbegin.c: In function 'SARSimBeginMission': sarsimbegin.c:229:4: warning: '%s' directive argument is null [-Wformat-overflow=] "%s took off at %s", ^~ Compiling module sceneio.o Compiling module scenesound.o Compiling module sfm.o Compiling module sfmmath.o Compiling module sfmmodel.o Compiling module sfmsimforce.o sceneio.c: In function 'SARSceneLoadFromFile': sceneio.c:1144:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)SARVisualModelNewList(*vmodel); ^ sceneio.c:1191:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)SARVisualModelNewList(*vmodel); ^ sceneio.c:489:30: warning: variable 'p_passengers' set but not used [-Wunused-but-set-variable] sar_parm_passengers_struct *p_passengers; ^~~~~~~~~~~~ sceneio.c:488:32: warning: variable 'p_engine_state' set but not used [-Wunused-but-set-variable] sar_parm_engine_state_struct *p_engine_state; ^~~~~~~~~~~~~~ sceneio.c:485:42: warning: variable 'p_object_map_description' set but not used [-Wunused-but-set-variable] sar_parm_object_map_description_struct *p_object_map_description; ^~~~~~~~~~~~~~~~~~~~~~~~ sceneio.c:478:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] sar_parm_no_depth_test_struct *p_no_depth_test; ^~~~~~~~~~~~~~~ sceneio.c:476:36: warning: variable 'p_translate_random' set but not used [-Wunused-but-set-variable] sar_parm_translate_random_struct *p_translate_random; ^~~~~~~~~~~~~~~~~~ sceneio.c:463:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] sar_parm_texture_base_directory_struct *p_texture_base_directory; ^~~~~~~~~~~~~~~~~~~~~~~~ sceneio.c:458:29: warning: variable 'p_scene_map' set but not used [-Wunused-but-set-variable] sar_parm_scene_map_struct *p_scene_map; ^~~~~~~~~~~ sceneio.c:456:37: warning: variable 'p_register_location' set but not used [-Wunused-but-set-variable] sar_parm_register_location_struct *p_register_location; ^~~~~~~~~~~~~~~~~~~ sceneio.c:455:27: warning: variable 'p_weather' set but not used [-Wunused-but-set-variable] sar_parm_weather_struct *p_weather; ^~~~~~~~~ sceneio.c:454:37: warning: variable 'p_player_model_file' set but not used [-Wunused-but-set-variable] sar_parm_player_model_file_struct *p_player_model_file; ^~~~~~~~~~~~~~~~~~~ sceneio.c:453:31: warning: variable 'p_description' set but not used [-Wunused-but-set-variable] sar_parm_description_struct *p_description; ^~~~~~~~~~~~~ sceneio.c:447:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] sar_object_fire_struct *obj_fire_ptr = NULL; ^~~~~~~~~~~~ sceneio.c:446:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] sar_object_smoke_struct *obj_smoke_ptr = NULL; ^~~~~~~~~~~~~ sceneio.c:443:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] sar_object_helipad_struct *obj_helipad_ptr = NULL; ^~~~~~~~~~~~~~~ Compiling module simcb.o sfmsimforce.c: In function 'SFMForceApplyNatural': sfmsimforce.c:648:10: warning: variable 'prev_angle' set but not used [-Wunused-but-set-variable] double prev_angle; ^~~~~~~~~~ sfmsimforce.c: In function 'SFMForceApplyArtificial': sfmsimforce.c:1100:42: warning: variable 'cos_bank' set but not used [-Wunused-but-set-variable] double sin_pitch, cos_pitch, sin_bank, cos_bank; ^~~~~~~~ sfmsimforce.c:974:20: warning: variable 'djc' set but not used [-Wunused-but-set-variable] double dic = 0.0, djc = 0.0, dkc = 0.0; ^~~ sfmsimforce.c:974:9: warning: variable 'dic' set but not used [-Wunused-but-set-variable] double dic = 0.0, djc = 0.0, dkc = 0.0; ^~~ Compiling module simcontact.o Compiling module simmanage.o Compiling module simop.o Compiling module simsurface.o Compiling module simutils.o simmanage.c: In function 'SARSimUpdateScene': simmanage.c:142:6: warning: variable 'prev_tod_code' set but not used [-Wunused-but-set-variable] int prev_tod_code, new_tod_code; ^~~~~~~~~~~~~ simcb.c: In function 'SARSimTouchDownCB': simcb.c:806:22: warning: variable 'explosion_obj_ptr' set but not used [-Wunused-but-set-variable] sar_object_struct *explosion_obj_ptr = NULL; ^~~~~~~~~~~~~~~~~ simcb.c:213:18: warning: variable 'crash_flags' set but not used [-Wunused-but-set-variable] sar_obj_flags_t crash_flags = 0; ^~~~~~~~~~~ simcb.c:211:8: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] float distance_to_camera, ^~~~~~~~~~~~~~~~~~ simcb.c: In function 'SARSimObjectCollisionCB': simcb.c:1145:11: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] float r, distance_to_camera; ^~~~~~~~~~~~~~~~~~ Compiling module smoke.o Compiling module sound.o Compiling module stategl.o Compiling module text3d.o simop.c: In function 'SARSimApplyArtificialForce': simop.c:1948:29: warning: variable 'vel' set but not used [-Wunused-but-set-variable] sar_position_struct *pos, *vel; ^~~ simop.c:1946:23: warning: variable 'is_player' set but not used [-Wunused-but-set-variable] char ear_in_cockpit, is_player; ^~~~~~~~~ simop.c:1943:9: warning: variable 'air_worthy_state' set but not used [-Wunused-but-set-variable] int i, air_worthy_state; ^~~~~~~~~~~~~~~~ Compiling module textinput.o simop.c: In function 'SARSimApplyGCTL': simutils.c: In function 'SARSimUpdatePart': simutils.c:587:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] sar_grad_anim_t prev_pos; ^~~~~~~~ simop.c:2920:3: warning: variable 'throttle_output' set but not used [-Wunused-but-set-variable] throttle_output = 0.0f, ^~~~~~~~~~~~~~~ simutils.c:607:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] sar_grad_anim_t prev_pos; ^~~~~~~~ simop.c:2908:35: warning: variable 'cb' set but not used [-Wunused-but-set-variable] const sar_contact_bounds_struct *cb; ^~ simutils.c:666:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] sar_grad_anim_t prev_pos; ^~~~~~~~ Compiling module texturelistio.o sound.c: In function 'SoundInit': sound.c:121:27: warning: variable 'opt' set but not used [-Wunused-but-set-variable] const sar_option_struct *opt; ^~~ sound.c: In function 'SoundStartPlay': sound.c:602:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] snd_play->data = (void *)Mix_PlayChannel(-1, sound, repeat); ^ sound.c: In function 'SoundChangePlayVolume': sound.c:761:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Mix_Volume((int) snd_play->data, my_volume); ^ sound.c: In function 'SoundStopPlay': sound.c:858:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Mix_HaltChannel((int) snd_play->data); ^ sound.c: In function 'SoundMusicStartPlay': sound.c:958:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] snd_play->data = (void *) Mix_PlayChannel(-1, sound, 0); ^ Compiling module v3dfio.o Compiling module v3dgl.o Compiling module v3dhf.o v3dfio.c: In function 'V3DLoadModel': v3dfio.c:482:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] mp_texture_off_struct *mp_texture_off = NULL; ^~~~~~~~~~~~~~ v3dfio.c:466:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] mp_unrotate_struct *mp_unrotate = NULL; ^~~~~~~~~~~ v3dfio.c:464:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] mp_untranslate_struct *mp_untranslate = NULL; ^~~~~~~~~~~~~~ Compiling module v3dmh.o v3dfio.c: In function 'V3DSaveModel': v3dfio.c:3147:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] mp_texture_off_struct *mp_texture_off = NULL; ^~~~~~~~~~~~~~ v3dfio.c:3131:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] mp_unrotate_struct *mp_unrotate = NULL; ^~~~~~~~~~~ v3dfio.c:3129:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] mp_untranslate_struct *mp_untranslate = NULL; ^~~~~~~~~~~~~~ textinput.c: In function 'SARTextInputHandleKey': textinput.c:278:10: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] Boolean ctrl, shift; ^~~~ v3dgl.c: In function 'V3DGLProcessModelStandard': v3dgl.c:1313:11: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status, widthp, heightp; ^~~~~~ v3dgl.c:728:25: warning: variable 'p_texture_off' set but not used [-Wunused-but-set-variable] mp_texture_off_struct *p_texture_off; ^~~~~~~~~~~~~ v3dgl.c:727:31: warning: variable 'p_texture_orient_xz' set but not used [-Wunused-but-set-variable] mp_texture_orient_xz_struct *p_texture_orient_xz; ^~~~~~~~~~~~~~~~~~~ v3dgl.c:726:31: warning: variable 'p_texture_orient_yz' set but not used [-Wunused-but-set-variable] mp_texture_orient_yz_struct *p_texture_orient_yz; ^~~~~~~~~~~~~~~~~~~ v3dgl.c:725:31: warning: variable 'p_texture_orient_xy' set but not used [-Wunused-but-set-variable] mp_texture_orient_xy_struct *p_texture_orient_xy; ^~~~~~~~~~~~~~~~~~~ v3dgl.c:712:22: warning: variable 'p_unrotate' set but not used [-Wunused-but-set-variable] mp_unrotate_struct *p_unrotate; ^~~~~~~~~~ v3dgl.c:710:25: warning: variable 'p_untranslate' set but not used [-Wunused-but-set-variable] mp_untranslate_struct *p_untranslate; ^~~~~~~~~~~~~ v3dgl.c:704:14: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] const char *texture_base_dir = NULL; ^~~~~~~~~~~~~~~~ v3dgl.c:695:6: warning: variable 'unitlize_normals' set but not used [-Wunused-but-set-variable] int unitlize_normals = TRUE; ^~~~~~~~~~~~~~~~ Compiling module v3dmodel.o Compiling module v3dmp.o Compiling module v3dtex.o Compiling module weather.o Compiling module weatherio.o v3dtex.c: In function 'V3DTextureSelectFrame': v3dtex.c:292:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gl_texture_id = (GLuint)(t->data[frame_num]); ^ v3dtex.c: In function 'V3DTextureLoadFromFile2D': v3dtex.c:748:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] t->data[i] = (void *)gl_texture_id; ^ v3dtex.c:362:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] u_int8_t *ptr8, *ptrend8; ^~~~~~~ v3dtex.c: In function 'V3DTextureLoadFromFile2DPreempt': v3dtex.c:1139:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] t->data[i] = (void *)gl_texture_id; ^ v3dtex.c:794:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] u_int8_t *ptr8, *ptrend8; ^~~~~~~ v3dtex.c: In function 'V3DTextureLoadFromData1D': v3dtex.c:1195:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)data ^ v3dtex.c:1231:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)data ^ v3dtex.c:1311:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] t->data[i] = (void *)gl_texture_id; ^ v3dtex.c: In function 'V3DTextureLoadFromData2D': v3dtex.c:1368:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)data ^ v3dtex.c:1373:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)data ^ v3dtex.c:1477:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned int)cur_data_ptr ^ v3dtex.c:1620:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] t->data[i] = (void *)gl_texture_id; ^ v3dtex.c: In function 'V3DTexturePriority': v3dtex.c:1675:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tex_id_list[0] = (GLuint)t->data[i]; ^ v3dtex.c: In function 'V3DTextureDestroy': v3dtex.c:1704:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gl_texture_id = (GLuint)(t->data[i]); ^ Compiling module x3d.o v3dgl.c: In function 'V3DGLProcessModelStandard.isra.2': v3dgl.c:1336:4: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, p_heightfield_load->path, PATH_MAX + NAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v3dgl.c:1328:4: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy( ^~~~~~~~ tmp_path, ~~~~~~~~~ (cstrptr == NULL) ? p_heightfield_load->path : cstrptr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PATH_MAX + NAME_MAX ~~~~~~~~~~~~~~~~~~~ ); ~ v3dgl.c:1321:4: warning: 'strncpy' specified bound 1279 equals destination size [-Wstringop-truncation] strncpy(tmp_path, p_heightfield_load->path, PATH_MAX + NAME_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v3dmp.c: In function 'V3DMPDestroy': v3dmp.c:828:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] list = (GLuint)heightfield_load->gl_list; ^ Compiling module disk.o x3d.c: In function 'X3DOpenDataGLOutput': x3d.c:267:12: warning: variable 'texture_on' set but not used [-Wunused-but-set-variable] GLboolean texture_on = GL_FALSE; ^~~~~~~~~~ disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': disk.cpp:1020:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("/"); ^ Compiling module fio.o Compiling module gww.o Compiling module string.o Compiling module strexp.o string.cpp: In function 'void straddflag(char*, const char*, char, int)': string.cpp:698:13: warning: variable 'flag_len' set but not used [-Wunused-but-set-variable] int s_len, flag_len; ^~~~~~~~ string.cpp: In function 'char* StringGetNetArgument(const char*)': string.cpp:1423:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1437:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': string.cpp:1460:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1462:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1468:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ Compiling module tga.o tga.cpp: In function 'int TgaReadHeaderFromData(const u_int8_t*, tga_data_struct*)': tga.cpp:478:48: warning: variable 'data_colormap' set but not used [-Wunused-but-set-variable] const u_int8_t *data_header, *data_id_field, *data_colormap, ^~~~~~~~~~~~~ tga.cpp: In function 'int TgaReadFromFile(const char*, tga_data_struct*, unsigned int)': tga.cpp:714:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] int pix_total, colum_count, row_count; ^~~~~~~~~ tga.cpp: In function 'int TgaReadFromData(const u_int8_t*, tga_data_struct*, unsigned int)': tga.cpp:1314:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] int pix_total, colum_count, row_count; ^~~~~~~~~ tga.cpp: In function 'int TgaReadPartialFromFile(tga_data_struct*, unsigned int, unsigned int)': tga.cpp:2013:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] int pix_total; ^~~~~~~~~ Compiling module tgadither.o In function 'int TgaReadHeaderFromFile(const char*, tga_data_struct*)', inlined from 'int TgaReadHeaderFromFile(const char*, tga_data_struct*)' at tga.cpp:195:5: tga.cpp:235:13: warning: 'int __builtin_memcmp_eq(const void*, const void*, long unsigned int)' reading 16 bytes from a region of size 8 [-Wstringop-overflow=] if(!memcmp(buf + 8, "TRUEVISION-XFILE", 16)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disk.cpp: In function 'char* ChangeDirRel(const char*, const char*)': disk.cpp:870:9: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(rtn_str, strptr, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ disk.cpp:81:47: note: length computed here #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) ~~~~~~^~~ disk.cpp:865:8: note: in expansion of macro 'STRLEN' len = STRLEN(strptr); ^~~~~~ disk.cpp:850:13: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(rtn_str, npath, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ disk.cpp:81:47: note: length computed here #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) ~~~~~~^~~ disk.cpp:845:12: note: in expansion of macro 'STRLEN' len = STRLEN(npath); ^~~~~~ disk.cpp:836:13: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(rtn_str, cpath, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ disk.cpp:81:47: note: length computed here #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) ~~~~~~^~~ disk.cpp:831:12: note: in expansion of macro 'STRLEN' len = STRLEN(cpath); ^~~~~~ disk.cpp:782:13: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(rtn_str, cpath, len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ disk.cpp:81:47: note: length computed here #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) ~~~~~~^~~ disk.cpp:777:12: note: in expansion of macro 'STRLEN' len = STRLEN(cpath); ^~~~~~ Linking modules... 1968 SearchAndRescue -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/share/searchandrescue/human.ini - not found ===> Installing existing package /packages/All/SearchAndRescue-data-1.3.0.txz Installing SearchAndRescue-data-1.3.0... Extracting SearchAndRescue-data-1.3.0: .......... done ===== Message from SearchAndRescue-data-1.3.0: -- ===> NOTICE: The SearchAndRescue-data port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/share/searchandrescue/human.ini - found ===> Returning to build of SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for SearchAndRescue-1.4.0_8 ===> Generating temporary packing list install -s -m 555 /construction/games/searchandrescue/searchandrescue_1.4.0/sar/SearchAndRescue /construction/games/searchandrescue/stage/usr/local/bin install -m 0644 /construction/games/searchandrescue/searchandrescue_1.4.0/SearchAndRescue.desktop /construction/games/searchandrescue/stage/usr/local/share/applications install -m 0644 /construction/games/searchandrescue/searchandrescue_1.4.0/sar/icons/SearchAndRescue.xpm /construction/games/searchandrescue/stage/usr/local/share/pixmaps ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: Possible REINPLACE_CMD issues sed failed: file content unchanged from backup: sar/config.h -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for SearchAndRescue-1.4.0_8 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 13:50:42 UTC Duration: 00:00:29