------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.2.20200831.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== 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 Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.3_1.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/wayland-1.18.0.txz Installing /packages/All/pciids-20200819.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.101.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.12,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/mesa-libs-19.0.8_2.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/sdl-1.2.15_15,2.txz ===== Message from sdl-1.2.15_15,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". Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/gettext-runtime-0.21.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/libogg-1.3.4,4.txz Installing /packages/All/flac-1.3.3.txz Installing /packages/All/libmikmod-3.3.11.1_1.txz Installing /packages/All/smpeg-0.4.4_15.txz Installing /packages/All/libvorbis-1.3.7_2,3.txz Installing /packages/All/timidity-0.2i_1.txz ===== 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 Installing /packages/All/sdl_mixer-1.2.12_12.txz Installing /packages/All/SearchAndRescue-data-1.3.0.txz ===== 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 SUCCEEDED 00:00:17 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by SearchAndRescue-1.4.0_8 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by SearchAndRescue-1.4.0_8 for building => SHA256 Checksum OK for SearchAndRescue-1.4.0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 6.46M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for SearchAndRescue-1.4.0_8 ===> Applying ports patches for SearchAndRescue-1.4.0_8 from /xports/games/searchandrescue/files ===> Applying dragonfly patches for SearchAndRescue-1.4.0_8 from /xports/games/searchandrescue/dragonfly /usr/bin/env WRKSRC=/construction/games/searchandrescue/searchandrescue_1.4.0 REWARNFILE=/construction/games/searchandrescue/reinplace_warnings.txt /xports/Mk/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/Mk/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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/bin/sdl-config - found ===> 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 - 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 - found (/usr/local/lib/libSDL_mixer.so) ===> SearchAndRescue-1.4.0_8 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/bin/sdl-config - found ===> 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 - 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 ===> 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 - found (/usr/local/lib/libSDL_mixer.so) ===> SearchAndRescue-1.4.0_8 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> Configuring for SearchAndRescue-1.4.0_8 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for SearchAndRescue-1.4.0_8 --- all --- Compiling module cmdfire.o Compiling module cmdmemory.o Building program "SearchAndRescue"... Compiling module cmdset.o Compiling module cmdsmoke.o Compiling module cmdtime.o Build done. To install, type "su" (to gain root privileges) and then type "make install". Compiling module cmd.o Compiling module cmdclean.o Compiling module cmdoption.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 Compiling module fire.o Compiling module gctl.o cpinsbearing.c: In function 'CPInsBearingValuesChanged': cpinsbearing.c:116:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] int cstate; ^~~~~~ 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; ^~~~~~ Compiling module gwx.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 gwx_dialog.o Compiling module horizon.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 human.o Compiling module humanio.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; ^~~~~~~~ Compiling module image.o 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.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 main.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 ^ 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; ^~~~~~ Compiling module matrixmath.o Compiling module menu.o Compiling module menumap.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 */ ^~~~~~~~~~~~ At top level: gwx.c:898:13: warning: 'GWGrabPointer' defined but not used [-Wunused-function] static void GWGrabPointer( ^~~~~~~~~~~~~ Compiling module menuobjview.o Compiling module messages.o Compiling module mission.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; ^~~~~~~~~~~~~~ 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; ^~~~~~~~~~ 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 'SARMenuObjectDelete': menu.c:2395:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] GLuint list = (GLuint)objview->obj_list; ^ menu.c: In function 'SARMenuDoDrawObject': Compiling module missionio.o 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; ^~~~~ menu.c:3394:36: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] lines_visable, columns_visable, scroll_width; ^~~~~~~~~~~~ Compiling module musiclistio.o 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; ^ 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; ^~~~~~~~~~~~ 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; ^~~~~~~~~~~~ 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; ^~~~~~~~~~~~~~ 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; ^~~~~~~ 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; ^~~~~~~~~~~~~~~~~~~~~~~~ Compiling module objio.o Compiling module objiopremodeled.o Compiling module objsound.o Compiling module objutils.o Compiling module optionio.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 */ ^ 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); ^ 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; ^~~~~~~~~~ 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 ~~~~~~~~~~~~~~~~ ); ~ 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; ^~~ Compiling module playerstatio.o Compiling module sarcamp.o 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) ^~~~~~ Compiling module sardraw.o Compiling module sardrawhelipad.o Compiling module sardrawhuman.o Compiling module sardrawmessages.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 sardrawpm.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 */ ^~~~ sardraw.c: In function 'SARDrawSceneHorizon': sardraw.c:5225:12: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] float n_theta; ^~~~~~~ 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_building.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_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 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 sarfioopen.o Compiling module sarfiosave.o Compiling module sarinstall.o Compiling module sarkey.o Compiling module sarmemory.o Compiling module sarmenubuild.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 sarmenucb.o Compiling module sarmenumanage.o Compiling module sarmenuop.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)) ^~~~~~~~~~ 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 sarmenuoptions.o Compiling module sarmusic.o Compiling module sarscreenshot.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; ^~~~~~~ Compiling module sarsimbegin.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 sarsimend.o sarscreenshot.c: In function 'SARScreenShotRect': sarscreenshot.c:260:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] int status; ^~~~~~ sarsimbegin.c: In function 'SARSimBeginMission': sarsimbegin.c:229:4: warning: '%s' directive argument is null [-Wformat-overflow=] "%s took off at %s", ^~ Compiling module sarsplash.o Compiling module sartime.o 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; ^~~~ Compiling module sarutils.o Compiling module sceneio.o Compiling module scenesound.o Compiling module sfm.o Compiling module sfmmath.o Compiling module sfmmodel.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 sfmsimforce.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 simcb.o Compiling module simcontact.o Compiling module simmanage.o Compiling module simop.o Compiling module simsurface.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; ^~~~~~~~~~~~~ Compiling module simutils.o 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; ^~~~~~~~~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~ simop.c: In function 'SARSimApplyGCTL': simop.c:2920:3: warning: variable 'throttle_output' set but not used [-Wunused-but-set-variable] throttle_output = 0.0f, ^~~~~~~~~~~~~~~ simop.c:2908:35: warning: variable 'cb' set but not used [-Wunused-but-set-variable] const sar_contact_bounds_struct *cb; ^~ Compiling module smoke.o Compiling module sound.o 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; ^~~~~~~~ simutils.c:607:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] sar_grad_anim_t prev_pos; ^~~~~~~~ simutils.c:666:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] sar_grad_anim_t prev_pos; ^~~~~~~~ Compiling module stategl.o Compiling module text3d.o Compiling module textinput.o 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); ^ Compiling module v3dfio.o 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); ^ 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; ^~~~~~~~~~~~~~ textinput.c: In function 'SARTextInputHandleKey': textinput.c:278:10: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] Boolean ctrl, shift; ^~~~ Compiling module v3dgl.o Compiling module v3dhf.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; ^~~~~~~~~~~~~~ Compiling module v3dmh.o 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 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; ^ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 Compiling module disk.o 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 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; ^~~~~~~~~~ Compiling module gww.o Compiling module string.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 strexp.o 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; ^~~~~~~~~ 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); ^~~~~~ 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)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking modules... 1984 SearchAndRescue SUCCEEDED 00:00:16 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/share/searchandrescue/human.ini - found ===> 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for SearchAndRescue-1.4.0_8 ===> SearchAndRescue-1.4.0_8 depends on file: /usr/local/share/searchandrescue/human.ini - found ===> 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 ===> 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: - - REINPLACE_CMD ran, but did not modify file contents: sar/config.h SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for SearchAndRescue-1.4.0_8 file sizes/checksums [3]: 0% file sizes/checksums [3]: 100% packing files [3]: 0% packing files [3]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:37