=> Building games/searchandrescue Started : Thursday, 19 APR 2018 at 16:05:01 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-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=gcc50 -------------------------------------------------- -- 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=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 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=Release-5.0 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of SearchAndRescue-1.4.0_6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by SearchAndRescue-1.4.0_6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by SearchAndRescue-1.4.0_6 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_6 for building ===> Extracting for SearchAndRescue-1.4.0_6 => SHA256 Checksum OK for SearchAndRescue-1.4.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for SearchAndRescue-1.4.0_6 ===> Applying ports patches for SearchAndRescue-1.4.0_6 ===> Applying dragonfly patches for SearchAndRescue-1.4.0_6 /usr/bin/sed -i.bak -e 's,%%LOCALBASE%%,/usr/local,g' -e 's,%%PREFIX%%,/usr/local,g' /construction/games/searchandrescue/searchandrescue_1.4.0/sar/config.h /usr/bin/sed -i.bak -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 '/^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_6 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz Installing sdl-1.2.15_10,2... `-- Installing aalib-1.4.r5_11... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done | `-- Installing ncurses-6.0.0s20171223_1... | `-- Extracting ncurses-6.0.0s20171223_1: .......... done `-- Extracting aalib-1.4.r5_11: .......... done `-- Installing libGLU-9.0.0_3... | `-- Installing mesa-libs-17.3.1... | | `-- Installing expat-2.2.5... | | `-- Extracting expat-2.2.5: .......... done | | `-- Installing libX11-1.6.5,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXau-1.0.8_3... | | | `-- Installing xproto-7.0.31... | | | `-- Extracting xproto-7.0.31: .......... done | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.12_2... | | | `-- Installing libpthread-stubs-0.4... | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Installing libxml2-2.9.7... | | | `-- Extracting libxml2-2.9.7: .......... done | | `-- Extracting libxcb-1.12_2: .......... done | | `-- Extracting libX11-1.6.5,1: .......... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Installing libXfixes-5.0.3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.3: .......... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | | `-- Extracting libXext-1.3.3_1,1: .......... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.89,1... | | `-- Installing libpciaccess-0.13.5... | | | `-- Installing pciids-20180219... | | | `-- Extracting pciids-20180219: ..... done | | `-- Extracting libpciaccess-0.13.5: ...... done | | `-- Extracting libdrm-2.4.89,1: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.2_2... | | `-- Extracting libxshmfence-1.2_2: ......... done | `-- Extracting mesa-libs-17.3.1: .......... done `-- Extracting libGLU-9.0.0_3: ...... done `-- Installing libXrandr-1.5.1... | `-- Installing libXrender-0.9.10... | | `-- Installing renderproto-0.11.1... | | `-- Extracting renderproto-0.11.1: .... done | `-- Extracting libXrender-0.9.10: .......... done | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: ....... done `-- Extracting libXrandr-1.5.1: .......... done Extracting sdl-1.2.15_10,2: .......... done Message from aalib-1.4.r5_11: ===> 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_10,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_6 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found ===> Installing existing package /packages/All/glproto-1.4.17.txz Installing glproto-1.4.17... Extracting glproto-1.4.17: ...... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - not found ===> Installing existing package /packages/All/dri2proto-2.8.txz Installing dri2proto-2.8... Extracting dri2proto-2.8: .... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - not found ===> Installing existing package /packages/All/dri3proto-1.0.txz Installing dri3proto-1.0... Extracting dri3proto-1.0: ...... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/dri3proto.pc - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.2_3,1.txz Installing libXmu-1.1.2_3,1... `-- Installing libXt-1.1.5,1... | `-- Installing libSM-1.2.2_3,1... | | `-- Installing libICE-1.0.9_1,1... | | `-- Extracting libICE-1.0.9_1,1: .......... done | `-- Extracting libSM-1.2.2_3,1: .......... done `-- Extracting libXt-1.1.5,1: .......... done Extracting libXmu-1.1.2_3,1: .......... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.12.txz Installing libXpm-3.5.12... Extracting libXpm-3.5.12: .......... done ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_6 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> SearchAndRescue-1.4.0_6 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.2... | `-- Installing libogg-1.3.3,4... | `-- Extracting libogg-1.3.3,4: .......... done `-- Extracting flac-1.3.2: .......... done `-- Installing libmikmod-3.3.11.1... `-- Extracting libmikmod-3.3.11.1: .......... done `-- Installing libvorbis-1.3.6,3... `-- Extracting libvorbis-1.3.6,3: .......... done `-- Installing smpeg-0.4.4_14... `-- Extracting smpeg-0.4.4_14: .......... 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_6 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for SearchAndRescue-1.4.0_6 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for SearchAndRescue-1.4.0_6 --- all --- Build done. To install, type "su" (to gain root privileges) and then type "make install". Building program "SearchAndRescue"... Compiling module cmdclean.o Compiling module cmd.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 cpinsbearing.c: In function 'CPInsBearingValuesChanged': cpinsbearing.c:116:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] int cstate; ^ cpins.c: In function 'CPInsNew': cpins.c:544:1: 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", ^ cpins.c:544:1: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] Compiling module explosion.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 fire.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; ^ Compiling module gctl.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 gwx.o Compiling module gwx_dialog.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:0: /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:0: /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 '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; ^ 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.c: In function 'GWCursorNew': gwx.c:351:10: warning: the comparison will always evaluate as 'true' for the address of 'fg_c' will never be NULL [-Waddress] { if((p) != NULL) { \ ^ gwx.c:4969:2: note: in expansion of macro 'XCOLOR_SET_RGB_COEFF' XCOLOR_SET_RGB_COEFF(&fg_c, 1.0, 1.0, 1.0); ^ gwx.c:351:10: warning: the comparison will always evaluate as 'true' for the address of 'bg_c' will never be NULL [-Waddress] { if((p) != NULL) { \ ^ gwx.c:4971:2: note: in expansion of macro 'XCOLOR_SET_RGB_COEFF' XCOLOR_SET_RGB_COEFF(&bg_c, 0.0, 0.0, 0.0); ^ 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 */ ^ gwx_dialog.c: In function 'GWXPixelNew': gwx_dialog.c:208:10: warning: the comparison will always evaluate as 'true' for the address of 'c' will never be NULL [-Waddress] { if((p) != NULL) { \ ^ gwx_dialog.c:282:2: note: in expansion of macro 'XCOLOR_SET_RGB_COEFF' XCOLOR_SET_RGB_COEFF( ^ 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: At top level: gwx.c:898:13: warning: 'GWGrabPointer' defined but not used [-Wunused-function] static void GWGrabPointer( ^ Compiling module horizon.o Compiling module human.o Compiling module humanio.o Compiling module image.o Compiling module main.o Compiling module matrixmath.o Compiling module menu.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; ^ 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': 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; ^ 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; ^ Compiling module menumap.o 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; ^ Compiling module menuobjview.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; ^ Compiling module messages.o Compiling module mission.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; ^ Compiling module missionio.o Compiling module musiclistio.o Compiling module objio.o 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; ^ 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; ^ 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 objiopremodeled.o Compiling module objsound.o Compiling module objutils.o 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 optionio.o Compiling module playerstatio.o Compiling module sarcamp.o Compiling module sardraw.o 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 */ ^ sardraw.c: In function 'SARDrawSceneHorizon': sardraw.c:5225:12: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] float n_theta; ^ Compiling module sardrawhuman.o Compiling module sardrawmessages.o Compiling module sardrawpm.o 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; ^ 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 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 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 '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 sarmenumanage.o Compiling module sarmenuop.o Compiling module sarmenuoptions.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 sarmusic.o 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; ^ 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 sarsplash.o Compiling module sartime.o Compiling module sarutils.o Compiling module sceneio.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 scenesound.o Compiling module sfm.o Compiling module sfmmath.o Compiling module sfmmodel.o 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 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 simmanage.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 simop.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; ^ 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 simsurface.o Compiling module simutils.o Compiling module smoke.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 sound.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 stategl.o Compiling module text3d.o Compiling module textinput.o 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 texturelistio.o Compiling module v3dfio.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; ^ 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 v3dgl.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 v3dhf.o Compiling module v3dmh.o Compiling module v3dmodel.o Compiling module v3dmp.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; ^ Compiling module v3dtex.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 weather.o Compiling module weatherio.o Compiling module x3d.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 disk.o Compiling module fio.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': disk.cpp:1020:16: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return("/"); ^ Compiling module gww.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition Compiling module string.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition 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: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1437:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': string.cpp:1460:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1462:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1468:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return(""); ^ Compiling module strexp.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition Compiling module tga.o :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition 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; ^ Compiling module tgadither.o 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; ^ :0:0: warning: "__cplusplus" redefined : note: this is the location of the previous definition Linking modules... 2032 SearchAndRescue -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> SearchAndRescue-1.4.0_6 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_6 depends on file: /usr/local/share/searchandrescue/human.ini - found ===> Returning to build of SearchAndRescue-1.4.0_6 ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xau.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xdmcp.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> SearchAndRescue-1.4.0_6 depends on file: /usr/local/libdata/pkgconfig/xxf86vm.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for SearchAndRescue-1.4.0_6 ===> 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) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for SearchAndRescue-1.4.0_6 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 19 APR 2018 at 16:05:52 UTC Duration: 00:00:51