=>> Building games/zhlt build started at Tue Apr 2 23:35:14 BST 2024 port directory: /usr/ports/games/zhlt package name: zhlt-3.4 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1111 Mar 8 2023 /usr/ports/games/zhlt/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 16 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/zhlt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/zhlt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/zhlt/work/.cache HOME=/wrkdirs/usr/ports/games/zhlt/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/zhlt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/zhlt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/zhlt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/zhlt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/zhlt/work/.cache HOME=/wrkdirs/usr/ports/games/zhlt/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/zhlt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/zhlt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zhlt" EXAMPLESDIR="share/examples/zhlt" DATADIR="share/zhlt" WWWDIR="www/zhlt" ETCDIR="etc/zhlt" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/zhlt DOCSDIR=/usr/local/share/doc/zhlt EXAMPLESDIR=/usr/local/share/examples/zhlt WWWDIR=/usr/local/www/zhlt ETCDIR=/usr/local/etc/zhlt --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> zhlt-3.4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> zhlt-3.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of zhlt-3.4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by zhlt-3.4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by zhlt-3.4 for building => SHA256 Checksum OK for zhlt34f-src.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by zhlt-3.4 for building ===> Extracting for zhlt-3.4 => SHA256 Checksum OK for zhlt34f-src.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for zhlt-3.4 ===> Converting DOS text files to UNIX text files ===> Applying FreeBSD patches for zhlt-3.4 from /usr/ports/games/zhlt/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for zhlt-3.4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for zhlt-3.4 c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/blockmem.o -c common/blockmem.cpp -Icommon -Itemplate In file included from common/blockmem.cpp:113: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/bspfile.o -c common/bspfile.cpp -Icommon -Itemplate In file included from common/bspfile.cpp:6: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/cmdlib.o -c common/cmdlib.cpp -Icommon -Itemplate common/cmdlib.cpp:146:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(*directory_position == strlen(path) - 1) ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ common/cmdlib.cpp:162:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ptr = strchr(ptr,'/')) ~~~~^~~~~~~~~~~~~~~~~ common/cmdlib.cpp:162:13: note: place parentheses around the assignment to silence this warning while(ptr = strchr(ptr,'/')) ^ ( ) common/cmdlib.cpp:162:13: note: use '==' to turn this assignment into an equality comparison while(ptr = strchr(ptr,'/')) ^ == common/cmdlib.cpp:167:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(ptr = strchr(ptr,'\\')) ~~~~^~~~~~~~~~~~~~~~~~ common/cmdlib.cpp:167:13: note: place parentheses around the assignment to silence this warning while(ptr = strchr(ptr,'\\')) ^ ( ) common/cmdlib.cpp:167:13: note: use '==' to turn this assignment into an equality comparison while(ptr = strchr(ptr,'\\')) ^ == 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/filelib.o -c common/filelib.cpp -Icommon -Itemplate In file included from common/filelib.cpp:29: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/files.o -c common/files.cpp -Icommon -Itemplate c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/log.o -c common/log.cpp -Icommon -Itemplate In file included from common/log.cpp:26: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ common/log.cpp:32:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char* g_Program = "Uninitialized variable ::g_Program"; ^ common/log.cpp:151:35: warning: unused parameter 'clientid' [-Wunused-parameter] void CDECL OpenLog(const int clientid) ^ common/log.cpp:250:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(CompileLog, message); ^~~~~~~ common/log.cpp:250:29: note: treat the string as an argument to avoid this fprintf(CompileLog, message); ^ "%s", common/log.cpp:257:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stdout, message); ^~~~~~~ common/log.cpp:257:21: note: treat the string as an argument to avoid this fprintf(stdout, message); ^ "%s", 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/mathlib.o -c common/mathlib.cpp -Icommon -Itemplate In file included from common/mathlib.cpp:6: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/messages.o -c common/messages.cpp -Icommon -Itemplate c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/resourcelock.o -c common/resourcelock.cpp -Icommon -Itemplate c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/scriplib.o -c common/scriplib.cpp -Icommon -Itemplate c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/threads.o -c common/threads.cpp -Icommon -Itemplate common/threads.cpp:183:47: warning: unused parameter 'unused' [-Wunused-parameter] static void ThreadWorkerFunction(intptr_t unused) ^ common/threads.cpp:577:72: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if (pthread_create(&work_threads[i], &attrib, ThreadEntryStub, (void*)i) == -1) ^~~~~~~~ 2 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o common/winding.o -c common/winding.cpp -Icommon -Itemplate common/winding.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from common/winding.cpp:3: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from common/winding.cpp:3: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from common/winding.cpp:5: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from common/winding.cpp:7: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ common/winding.cpp:382:19: warning: comparison of integers of different signs: 'unsigned int' and 'const short' [-Wsign-compare] for (i = 0; i < face.numedges; i++) ~ ^ ~~~~~~~~~~~~~ common/winding.cpp:780:19: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~ ^ ~~~~~~~~~~~ common/winding.cpp:825:19: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~ ^ ~~~~~~~~~~~ common/winding.cpp:914:19: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~ ^ ~~~~~~~~~~~ common/winding.cpp:961:19: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~ ^ ~~~~~~~~~~~ common/winding.cpp:1023:51: warning: comparison of integers of different signs: 'UINT32' (aka 'unsigned int') and 'int' [-Wsign-compare] if (f->m_NumPoints > maxpts || b->m_NumPoints > maxpts) ~~~~~~~~~~~~~~ ^ ~~~~~~ common/winding.cpp:1023:24: warning: comparison of integers of different signs: 'UINT32' (aka 'unsigned int') and 'int' [-Wsign-compare] if (f->m_NumPoints > maxpts || b->m_NumPoints > maxpts) ~~~~~~~~~~~~~~ ^ ~~~~~~ 12 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/merge.o -c hlbsp/merge.cpp -Icommon -Itemplate In file included from hlbsp/merge.cpp:1: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/merge.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/merge.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/outside.o -c hlbsp/outside.cpp -Icommon -Itemplate hlbsp/outside.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4267) // 'size_t' to 'unsigned int', possible loss of data ^ In file included from hlbsp/outside.cpp:3: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/outside.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/outside.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 4 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/portals.o -c hlbsp/portals.cpp -Icommon -Itemplate hlbsp/portals.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch ^ In file included from hlbsp/portals.cpp:3: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/portals.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/portals.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlbsp/portals.cpp:203:31: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < w->m_NumPoints; i++) ~ ^ ~~~~~~~~~~~~~~ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/qbsp.o -c hlbsp/qbsp.cpp -Icommon -Itemplate In file included from hlbsp/qbsp.cpp:16: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/qbsp.cpp:16: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/qbsp.cpp:16: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlbsp/qbsp.cpp:1083:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Normal"; ^ hlbsp/qbsp.cpp:1086:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Low"; ^ hlbsp/qbsp.cpp:1089:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "High"; ^ hlbsp/qbsp.cpp:1174:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Program = "hlbsp"; ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/solidbsp.o -c hlbsp/solidbsp.cpp -Icommon -Itemplate hlbsp/solidbsp.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch ^ In file included from hlbsp/solidbsp.cpp:3: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/solidbsp.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/solidbsp.cpp:3: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlbsp/solidbsp.cpp:786:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((f->contents == CONTENTS_HINT)) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ hlbsp/solidbsp.cpp:786:30: note: remove extraneous parentheses around the comparison to silence this warning if ((f->contents == CONTENTS_HINT)) ~ ^ ~ hlbsp/solidbsp.cpp:786:30: note: use '=' to turn this equality comparison into an assignment if ((f->contents == CONTENTS_HINT)) ^~ = hlbsp/solidbsp.cpp:1003:23: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for (i = 0; i < p->winding->m_NumPoints; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/surfaces.o -c hlbsp/surfaces.cpp -Icommon -Itemplate In file included from hlbsp/surfaces.cpp:1: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/surfaces.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/surfaces.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/tjunc.o -c hlbsp/tjunc.cpp -Icommon -Itemplate In file included from hlbsp/tjunc.cpp:1: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/tjunc.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/tjunc.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlbsp/writebsp.o -c hlbsp/writebsp.cpp -Icommon -Itemplate In file included from hlbsp/writebsp.cpp:1: In file included from hlbsp/bsp5.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/writebsp.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlbsp/writebsp.cpp:1: In file included from hlbsp/bsp5.h:18: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -fstack-protector-strong -o hlbsp/hlbsp common/blockmem.o common/bspfile.o common/cmdlib.o common/filelib.o common/files.o common/log.o common/mathlib.o common/messages.o common/resourcelock.o common/scriplib.o common/threads.o common/winding.o hlbsp/merge.o hlbsp/outside.o hlbsp/portals.o hlbsp/qbsp.o hlbsp/solidbsp.o hlbsp/surfaces.o hlbsp/tjunc.o hlbsp/writebsp.o -lpthread c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/autowad.o -c hlcsg/autowad.cpp -Icommon -Itemplate In file included from hlcsg/autowad.cpp:2: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/autowad.cpp:2: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/autowad.cpp:2: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/autowad.cpp:2: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/autowad.cpp:2: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/brush.o -c hlcsg/brush.cpp -Icommon -Itemplate In file included from hlcsg/brush.cpp:1: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/brush.cpp:1: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/brush.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/brush.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/brush.cpp:1: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlcsg/brush.cpp:319:12: warning: enumeration values 'plane_anyx', 'plane_anyy', and 'plane_anyz' not handled in switch [-Wswitch] switch(current_plane->type) ^~~~~~~~~~~~~~~~~~~ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/brushunion.o -c hlcsg/brushunion.cpp -Icommon -Itemplate In file included from hlcsg/brushunion.cpp:1: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/brushunion.cpp:1: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/brushunion.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/brushunion.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/brushunion.cpp:1: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/hullfile.o -c hlcsg/hullfile.cpp -Icommon -Itemplate In file included from hlcsg/hullfile.cpp:1: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/hullfile.cpp:1: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/hullfile.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/hullfile.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/hullfile.cpp:1: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/map.o -c hlcsg/map.cpp -Icommon -Itemplate hlcsg/map.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch ^ In file included from hlcsg/map.cpp:3: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/map.cpp:3: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/map.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/map.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/map.cpp:3: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlcsg/map.cpp:579:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (x=0; xw->m_NumPoints / 2; i++) // add points backwards ~ ^ ~~~~~~~~~~~~~~~~~~~~~ hlcsg/qcsg.cpp:752:13: warning: variable 'newtexlight' set but not used [-Wunused-but-set-variable] bool newtexlight = false; ^ hlcsg/qcsg.cpp:1262:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Normal"; ^ hlcsg/qcsg.cpp:1265:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Low"; ^ hlcsg/qcsg.cpp:1268:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "High"; ^ hlcsg/qcsg.cpp:1354:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Program = "hlcsg"; ^ hlcsg/qcsg.cpp:1501:21: warning: array index 32 is past the end of the array (which contains 32 elements) [-Warray-bounds] wadconfigname[MAX_WAD_CFG_NAME] = 0; ^ ~~~~~~~~~~~~~~~~ hlcsg/qcsg.cpp:32:1: note: array 'wadconfigname' declared here char wadconfigname[MAX_WAD_CFG_NAME]; ^ hlcsg/qcsg.cpp:867:17: warning: unused function 'CopyGenerictoCLIP' [-Wunused-function] static void CopyGenerictoCLIP(const brush_t* const b) ^ 14 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/textures.o -c hlcsg/textures.cpp -Icommon -Itemplate In file included from hlcsg/textures.cpp:1: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/textures.cpp:1: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/textures.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/textures.cpp:1: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/textures.cpp:1: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlcsg/textures.cpp:305:46: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (lumpinfo[nTexLumps].disksize > MAX_TEXTURE_SIZE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/wadcfg.o -c hlcsg/wadcfg.cpp -Icommon -Itemplate In file included from hlcsg/wadcfg.cpp:3: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/wadcfg.cpp:3: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadcfg.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadcfg.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/wadcfg.cpp:3: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlcsg/wadcfg.cpp:100:29: warning: illegal character encoding in character literal [-Winvalid-source-encoding] if (ThinkChar[0] == '') ^ hlcsg/wadcfg.cpp:85:5: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] ThinkChar[1] = '\0'; ^ ~ hlcsg/wadcfg.cpp:77:5: note: array 'ThinkChar' declared here char ThinkChar[1]; // 2 char array = thinkchar and null terminator ^ hlcsg/wadcfg.cpp:202:54: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] WadCfgParseError(TokenBuffer, g_wadcfglinecount, "(eof)"); ^ hlcsg/wadcfg.cpp:370:10: warning: address of array 'wadconfigname' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!wadconfigname) ~^~~~~~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/wadinclude.o -c hlcsg/wadinclude.cpp -Icommon -Itemplate hlcsg/wadinclude.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4267) // 'size_t' to 'unsigned int', possible loss of data ^ In file included from hlcsg/wadinclude.cpp:3: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/wadinclude.cpp:3: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadinclude.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadinclude.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/wadinclude.cpp:3: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlcsg/wadpath.o -c hlcsg/wadpath.cpp -Icommon -Itemplate In file included from hlcsg/wadpath.cpp:3: In file included from hlcsg/csg.h:12: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlcsg/wadpath.cpp:3: In file included from hlcsg/csg.h:17: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadpath.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlcsg/wadpath.cpp:3: In file included from hlcsg/csg.h:19: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlcsg/wadpath.cpp:3: In file included from hlcsg/csg.h:24: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 5 warnings generated. c++ -fstack-protector-strong -o hlcsg/hlcsg common/blockmem.o common/bspfile.o common/cmdlib.o common/filelib.o common/files.o common/log.o common/mathlib.o common/messages.o common/resourcelock.o common/scriplib.o common/threads.o common/winding.o hlcsg/autowad.o hlcsg/brush.o hlcsg/brushunion.o hlcsg/hullfile.o hlcsg/map.o hlcsg/netvis_in_vis.o hlcsg/properties.o hlcsg/qcsg.o hlcsg/textures.o hlcsg/wadcfg.o hlcsg/wadinclude.o hlcsg/wadpath.o -lpthread c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/lerp.o -c hlrad/lerp.cpp -Icommon -Itemplate hlrad/lerp.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlrad/lerp.cpp:3: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/lerp.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/lerp.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/lerp.cpp:26:19: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] for (x = 0; x < trian->numwalls; x++, wall++) ~ ^ ~~~~~~~~~~~~~~~ hlrad/lerp.cpp:63:19: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] for (x = 0; x < trian->numwalls; x++, wall++) ~ ^ ~~~~~~~~~~~~~~~ hlrad/lerp.cpp:199:31: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if (patch->faceNumber == trian->facenum) ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ hlrad/lerp.cpp:444:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (pnum >= trian->maxpoints) ~~~~ ^ ~~~~~~~~~~~~~~~~ hlrad/lerp.cpp:605:19: warning: comparison of integers of different signs: 'unsigned int' and 'const short' [-Wsign-compare] for (j = 0; j < f->numedges; j++) ~ ^ ~~~~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/lightmap.o -c hlrad/lightmap.cpp -Icommon -Itemplate In file included from hlrad/lightmap.cpp:1: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/lightmap.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/lightmap.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/lightmap.cpp:1347:41: warning: variable 'denominator' set but not used [-Wunused-but-set-variable] float denominator; ^ hlrad/lightmap.cpp:2367:67: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] lb[i] += g_colour_jitter_hack[i] * ((float)rand() / RAND_MAX - 0.5); ~ ^~~~~~~~ /usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ hlrad/lightmap.cpp:2381:39: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] temp_rand = (float)rand() / RAND_MAX - 0.5; ~ ^~~~~~~~ /usr/include/stdlib.h:80:18: note: expanded from macro 'RAND_MAX' #define RAND_MAX 0x7fffffff ^~~~~~~~~~ 6 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/mathutil.o -c hlrad/mathutil.cpp -Icommon -Itemplate In file included from hlrad/mathutil.cpp:1: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/mathutil.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/mathutil.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/mathutil.cpp:192:21: warning: variable 'plane' set but not used [-Wunused-but-set-variable] const dplane_t* plane; ^ hlrad/mathutil.cpp:193:21: warning: variable 'winding' set but not used [-Wunused-but-set-variable] const Winding* winding; ^ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/nomatrix.o -c hlrad/nomatrix.cpp -Icommon -Itemplate In file included from hlrad/nomatrix.cpp:1: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/nomatrix.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/nomatrix.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/qrad.o -c hlrad/qrad.cpp -Icommon -Itemplate In file included from hlrad/qrad.cpp:19: In file included from hlrad/qrad.h:8: common/cmdlib.h:19:9: warning: 'alloca' macro redefined [-Wmacro-redefined] #define alloca __builtin_alloca ^ /usr/include/stdlib.h:258:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ In file included from hlrad/qrad.cpp:19: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/qrad.cpp:19: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/qrad.cpp:19: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/qrad.cpp:517:67: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] argCnt = sscanf/*_s*/(scan, "%s %f %f %f %f", szTexlight, &r, &g, &b, &i); ~~ ^~ %lf hlrad/qrad.cpp:517:71: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] argCnt = sscanf/*_s*/(scan, "%s %f %f %f %f", szTexlight, &r, &g, &b, &i); ~~ ^~ %lf hlrad/qrad.cpp:517:75: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] argCnt = sscanf/*_s*/(scan, "%s %f %f %f %f", szTexlight, &r, &g, &b, &i); ~~ ^~ %lf hlrad/qrad.cpp:517:79: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] argCnt = sscanf/*_s*/(scan, "%s %f %f %f %f", szTexlight, &r, &g, &b, &i); ~~ ^~ %lf hlrad/qrad.cpp:1509:38: warning: unused parameter 'threadnum' [-Wunused-parameter] static void GatherLight(intptr_t threadnum) ^ hlrad/qrad.cpp:1631:41: warning: unused parameter 'threadnum' [-Wunused-parameter] static void GatherRGBLight(intptr_t threadnum) ^ hlrad/qrad.cpp:2055:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Normal"; ^ hlrad/qrad.cpp:2058:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Low"; ^ hlrad/qrad.cpp:2061:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "High"; ^ hlrad/qrad.cpp:2071:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Unknown"; ^ hlrad/qrad.cpp:2074:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Original"; ^ hlrad/qrad.cpp:2077:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Sparse"; ^ hlrad/qrad.cpp:2080:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "NoMatrix"; ^ hlrad/qrad.cpp:2400:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Program = "hlrad"; ^ 18 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/qradutil.o -c hlrad/qradutil.cpp -Icommon -Itemplate In file included from hlrad/qradutil.cpp:1: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/qradutil.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/qradutil.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 3 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/sparse.o -c hlrad/sparse.cpp -Icommon -Itemplate hlrad/sparse.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlrad/sparse.cpp:3: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/sparse.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/sparse.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/sparse.cpp:86:18: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while (count < column->count) ~~~~~ ^ ~~~~~~~~~~~~~ hlrad/sparse.cpp:240:87: warning: unused parameter 'head' [-Wunused-parameter] static void TestPatchToFace(const unsigned patchnum, const int facenum, const int head) ^ hlrad/sparse.cpp:342:40: warning: unused parameter 'threadnum' [-Wunused-parameter] static void BuildVisLeafs(intptr_t threadnum) ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/trace.o -c hlrad/trace.cpp -Icommon -Itemplate In file included from hlrad/trace.cpp:2: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ 1 warning generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/transfers.o -c hlrad/transfers.cpp -Icommon -Itemplate hlrad/transfers.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4267) // amckern - 64bit - 'size_t' to 'unsigned int' // identifier was truncated to '255' characters in the browser information ^ In file included from hlrad/transfers.cpp:3: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/transfers.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/transfers.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ 4 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/transparency.o -c hlrad/transparency.cpp -Icommon -Itemplate hlrad/transparency.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlrad/transparency.cpp:6: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/transparency.cpp:6: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/transparency.cpp:6: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/transparency.cpp:38:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(int i = 0; i < s_trans_count; i++) ~ ^ ~~~~~~~~~~~~~ 5 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/vismatrix.o -c hlrad/vismatrix.cpp -Icommon -Itemplate In file included from hlrad/vismatrix.cpp:1: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/vismatrix.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/vismatrix.cpp:1: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/vismatrix.cpp:53:87: warning: unused parameter 'head' [-Wunused-parameter] static void TestPatchToFace(const unsigned patchnum, const int facenum, const int head, const unsigned int bitpos) ^ hlrad/vismatrix.cpp:154:40: warning: unused parameter 'threadnum' [-Wunused-parameter] static void BuildVisLeafs(intptr_t threadnum) ^ hlrad/vismatrix.cpp:32:22: warning: unused variable 's_max_transparency_count' [-Wunused-variable] static unsigned long s_max_transparency_count=0; ^ hlrad/vismatrix.cpp:34:13: warning: unused function 'FindOpacity' [-Wunused-function] static void FindOpacity(const unsigned bitpos, vec3_t &out) ^ 7 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlrad/vismatrixutil.o -c hlrad/vismatrixutil.cpp -Icommon -Itemplate hlrad/vismatrixutil.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlrad/vismatrixutil.cpp:3: In file included from hlrad/qrad.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/vismatrixutil.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlrad/vismatrixutil.cpp:3: In file included from hlrad/qrad.h:15: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlrad/vismatrixutil.cpp:46:27: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (x = 0; x < offset; x++, pIndex++) ~ ^ ~~~~~~ hlrad/vismatrixutil.cpp:193:43: warning: unused parameter 'threadnum' [-Wunused-parameter] void MakeScales(const intptr_t threadnum) ^ hlrad/vismatrixutil.cpp:264:74: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (!g_CheckVisBit(i, j, transparency, fastfind_index) || (i == j)) ~ ^ ~ hlrad/vismatrixutil.cpp:459:46: warning: unused parameter 'threadnum' [-Wunused-parameter] void MakeRGBScales(const intptr_t threadnum) ^ hlrad/vismatrixutil.cpp:527:74: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (!g_CheckVisBit(i, j, transparency, fastfind_index) || (i == j)) ~ ^ ~ 9 warnings generated. c++ -fstack-protector-strong -o hlrad/hlrad common/blockmem.o common/bspfile.o common/cmdlib.o common/filelib.o common/files.o common/log.o common/mathlib.o common/messages.o common/resourcelock.o common/scriplib.o common/threads.o common/winding.o hlrad/lerp.o hlrad/lightmap.o hlrad/mathutil.o hlrad/nomatrix.o hlrad/qrad.o hlrad/qradutil.o hlrad/sparse.o hlrad/trace.o hlrad/transfers.o hlrad/transparency.o hlrad/vismatrix.o hlrad/vismatrixutil.o -lpthread c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlvis/flow.o -c hlvis/flow.cpp -Icommon -Itemplate hlvis/flow.cpp:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlvis/flow.cpp:3: In file included from hlvis/vis.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/flow.cpp:3: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/flow.cpp:3: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlvis/flow.cpp:3: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:14: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlvis/flow.cpp:74:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (in->numpoints > (sizeof(sides) / sizeof(*sides))) ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:156:21: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (tmp >= in->numpoints) ~~~ ^ ~~~~~~~~~~~~~ hlvis/flow.cpp:251:22: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] for (i=0, l=1; i < numpoints; i++, l++) ~ ^ ~~~~~~~~~ hlvis/flow.cpp:253:15: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if (l == numpoints) ~ ^ ~~~~~~~~~ hlvis/flow.cpp:276:27: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] for (k = 0; k < numpoints; k++) ~ ^ ~~~~~~~~~ hlvis/flow.cpp:296:19: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare] if (k == numpoints) ~ ^ ~~~~~~~~~ hlvis/flow.cpp:461:35: warning: comparison of integers of different signs: 'unsigned int' and 'const int' [-Wsign-compare] for (j = 0; j < bitlongs; j++, test++, might++, prevmight++) ~ ^ ~~~~~~~~ hlvis/flow.cpp:471:35: warning: comparison of integers of different signs: 'unsigned int' and 'const int' [-Wsign-compare] for (j = 0; j < bitlongs; j++, might++, vis++) ~ ^ ~~~~~~~~ hlvis/flow.cpp:543:27: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (j = 0; j < stack.clipPlaneCount && stack.pass != NULL; j++) ~ ^ ~~~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:681:26: warning: unused parameter 'unused' [-Wunused-parameter] void BlockVis(intptr_t unused) ^ hlvis/flow.cpp:709:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(l = 0; l < leaf->numportals; l++) ~ ^ ~~~~~~~~~~~~~~~~ hlvis/flow.cpp:741:39: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0, p1 = leaf1->portals[0]; i < leaf1->numportals; i++, p1++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:746:39: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(k = 0, t = leaf2->portals[0]; k < leaf2->numportals; k++, t++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:760:8: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(k < leaf2->numportals) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:794:39: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0, p1 = leaf1->portals[0]; i < leaf1->numportals; i++, p1++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:799:39: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(k = 0, t = leaf2->portals[0]; k < leaf2->numportals; k++, t++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:813:8: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(k < leaf2->numportals) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:849:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(int k = 0; k < l->numportals; k++) ~ ^ ~~~~~~~~~~~~~ hlvis/flow.cpp:851:20: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(int m = 0; m < tl->numportals; m++) ~ ^ ~~~~~~~~~~~~~~ hlvis/flow.cpp:939:16: warning: relational comparison result unused [-Wunused-comparison] for(i = 0; i < numbounds, wind.Valid(); i++) ~~^~~~~~~~~~~ hlvis/flow.cpp:978:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf->numportals; i++) ~ ^ ~~~~~~~~~~~~~~~~ hlvis/flow.cpp:1021:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf1->numportals; i++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:1041:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf2->numportals; i++) ~ ^ ~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:1099:16: warning: comparison of integers of different signs: 'int' and 'UINT32' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < wind.m_NumPoints; i++) ~ ^ ~~~~~~~~~~~~~~~~ hlvis/flow.cpp:1159:40: warning: unused parameter 'unused' [-Wunused-parameter] void BasePortalVis(intptr_t unused) ^ hlvis/flow.cpp:1245:26: warning: unused parameter 'unused' [-Wunused-parameter] void MaxDistVis(intptr_t unused) ^ hlvis/flow.cpp:1270:38: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(j = i + 1, tl = g_leafs + j; j < g_portalleafs; j++, tl++) ~ ^ ~~~~~~~~~~~~~ hlvis/flow.cpp:1348:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(a = 0; a < l->numportals; a++) ~ ^ ~~~~~~~~~~~~~ hlvis/flow.cpp:1350:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(b = 0; b < tl->numportals; b++) ~ ^ ~~~~~~~~~~~~~~ hlvis/flow.cpp:1371:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(k = 0; k < l->numportals; k++) ~ ^ ~~~~~~~~~~~~~ hlvis/flow.cpp:1373:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(m = 0; m < tl->numportals; m++) ~ ^ ~~~~~~~~~~~~~~ hlvis/flow.cpp:732:18: warning: unused function 'GetSplitPortal' [-Wunused-function] static portal_t *GetSplitPortal(leaf_t *leaf1, leaf_t *leaf2) ^ hlvis/flow.cpp:1068:15: warning: unused function 'CalcSplitsAndDotProducts' [-Wunused-function] static float CalcSplitsAndDotProducts(plane_t *org_split_plane, leaf_t *leaf1, leaf_t *leaf2, plane_t *bounds, int num_bounds) ^ 38 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlvis/vis.o -c hlvis/vis.cpp -Icommon -Itemplate hlvis/vis.cpp:12:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlvis/vis.cpp:14: In file included from hlvis/vis.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/vis.cpp:14: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/vis.cpp:14: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlvis/vis.cpp:14: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:14: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlvis/vis.cpp:347:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (tp->nummightsee < min && tp->status == stat_none) ~~~~~~~~~~~~~~~ ^ ~~~ hlvis/vis.cpp:411:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < g_portalleafs; i++) ~ ^ ~~~~~~~~~~~~~ hlvis/vis.cpp:432:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < g_portalleafs; i++) ~ ^ ~~~~~~~~~~~~~ hlvis/vis.cpp:466:37: warning: unused parameter 'unused' [-Wunused-parameter] static void LeafThread(intptr_t unused) ^ hlvis/vis.cpp:811:34: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] fscanf_s(fp, "%f %f %f %f\n", &g_visblockers[x].planes[i].normal[0], ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lf hlvis/vis.cpp:812:11: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] &g_visblockers[x].planes[i].normal[1], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlvis/vis.cpp:813:11: warning: format specifies type 'float *' but the argument has type 'vec_t *' (aka 'double *') [-Wformat] &g_visblockers[x].planes[i].normal[2], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlvis/vis.cpp:842:36: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(j = 0, leaf = &g_leafs[0]; j < g_portalleafs; j++, leaf++) ~ ^ ~~~~~~~~~~~~~ hlvis/vis.cpp:844:39: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(q = 0, p = leaf->portals[0]; q < leaf->numportals; q++, p++) ~ ^ ~~~~~~~~~~~~~~~~ hlvis/vis.cpp:859:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(q != leaf->numportals) ~ ^ ~~~~~~~~~~~~~~~~ hlvis/vis.cpp:1309:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Normal"; ^ hlvis/vis.cpp:1312:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Low"; ^ hlvis/vis.cpp:1315:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "High"; ^ hlvis/vis.cpp:1355:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Program = "hlvis"; ^ hlvis/vis.cpp:775:13: warning: unused function 'InitVisBlock' [-Wunused-function] static void InitVisBlock(void) ^ hlvis/vis.cpp:831:14: warning: unused function 'SetupVisBlockLeafs' [-Wunused-function] static void SetupVisBlockLeafs(void) ^ 21 warnings generated. c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o hlvis/zones.o -c hlvis/zones.cpp -Icommon -Itemplate hlvis/zones.cpp:5:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch ^ In file included from hlvis/zones.cpp:7: In file included from hlvis/vis.h:13: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/zones.cpp:7: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from hlvis/zones.cpp:7: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:13: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ In file included from hlvis/zones.cpp:7: In file included from hlvis/vis.h:18: In file included from hlvis/zones.h:14: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ hlvis/zones.cpp:83:16: warning: comparison of integers of different signs: 'UINT32' (aka 'unsigned int') and 'int' [-Wsign-compare] for (x=0; xnumfaces; j++, f++) ~ ^ ~~~~~~~~~~~~~ 8 warnings generated. c++ -fstack-protector-strong -o hlvis/hlvis common/blockmem.o common/bspfile.o common/cmdlib.o common/filelib.o common/files.o common/log.o common/mathlib.o common/messages.o common/resourcelock.o common/scriplib.o common/threads.o common/winding.o hlvis/flow.o hlvis/vis.o hlvis/zones.o -lpthread c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -DSYSTEM_POSIX -DSTDC_HEADERS -DHAVE_SYS_RESOURCE_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TIME_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DDOUBLEVEC_T -DSIZEOF_CHARP=8 -o ripent/ripent.o -c ripent/ripent.cpp -Icommon -Itemplate In file included from ripent/ripent.cpp:13: In file included from ripent/ripent.h:6: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from ripent/ripent.cpp:13: In file included from ripent/ripent.h:8: In file included from common/winding.h:11: common/mathlib.h:1:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t ^ In file included from ripent/ripent.cpp:13: In file included from ripent/ripent.h:8: In file included from common/winding.h:13: common/boundingbox.h:6:9: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' ^ ripent/ripent.cpp:243:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] assume(iNewLength < sizeof(g_dentdata), "Entity data size exceedes dentdata limit."); ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ common/hlassert.h:34:37: note: expanded from macro 'assume' #define assume(exp, message) {if (!(exp)) {Error("\nAssume '%s' failed\n\n", #exp, __FILE__, __LINE__, message);}} ^~~ ripent/ripent.cpp:422:30: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] assume(g_entdatasize < sizeof(g_dentdata), "Entity data size exceedes dentdata limit."); ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ common/hlassert.h:34:37: note: expanded from macro 'assume' #define assume(exp, message) {if (!(exp)) {Error("\nAssume '%s' failed\n\n", #exp, __FILE__, __LINE__, message);}} ^~~ ripent/ripent.cpp:499:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Import"; ^ ripent/ripent.cpp:502:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tmp = "Export"; ^ ripent/ripent.cpp:525:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g_Program = "ripent"; ^ ripent/ripent.cpp:604:64: warning: data argument not used by format string [-Wformat-extra-args] fprintf(stderr, "%s", "bspfile '%s' does not exist\n", g_Mapname); ~~~~ ^ ripent/ripent.cpp:619:13: warning: enumeration value 'hl_undefined' not handled in switch [-Wswitch] switch (g_mode) ^~~~~~ ripent/ripent.cpp:643:33: warning: unused parameter 'mapent' [-Wunused-parameter] void GetParamsFromEnt(entity_t* mapent) {} ^ 11 warnings generated. c++ -fstack-protector-strong -o ripent/ripent common/blockmem.o common/bspfile.o common/cmdlib.o common/filelib.o common/files.o common/log.o common/mathlib.o common/messages.o common/resourcelock.o common/scriplib.o common/threads.o common/winding.o ripent/ripent.o -lpthread =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for zhlt-3.4 ===> Generating temporary packing list install -s -m 555 hlbsp/hlbsp hlcsg/hlcsg hlrad/hlrad hlvis/hlvis ripent/ripent /wrkdirs/usr/ports/games/zhlt/work/stage/usr/local/bin ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-02T22:35:14+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for zhlt-3.4 ===> Building zhlt-3.4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for zhlt-3.4 build of games/zhlt | zhlt-3.4 ended at Tue Apr 2 23:36:08 BST 2024 build time: 00:00:54