=> Building games/zhlt Started : Friday, 8 MAR 2019 at 10:03:11 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-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 -------------------------------------------------- XDG_DATA_HOME=/construction/games/zhlt XDG_CONFIG_HOME=/construction/games/zhlt HOME=/construction/games/zhlt TMPDIR="/tmp" PATH=/construction/games/zhlt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/games/zhlt XDG_CONFIG_HOME=/construction/games/zhlt HOME=/construction/games/zhlt TMPDIR="/tmp" PATH=/construction/games/zhlt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/zhlt/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/zhlt" EXAMPLESDIR="share/examples/zhlt" DATADIR="share/zhlt" WWWDIR="www/zhlt" ETCDIR="etc/zhlt" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> zhlt-3.4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> zhlt-3.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of zhlt-3.4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by zhlt-3.4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by zhlt-3.4 for building => SHA256 Checksum OK for zhlt34f-src.zip. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by zhlt-3.4 for building ===> Extracting for zhlt-3.4 => SHA256 Checksum OK for zhlt34f-src.zip. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for zhlt-3.4 ===> Converting DOS text files to UNIX text files ===> Applying ports patches for zhlt-3.4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for zhlt-3.4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for zhlt-3.4 --- common/blockmem.o --- --- common/bspfile.o --- --- common/cmdlib.o --- --- common/filelib.o --- --- common/files.o --- --- common/blockmem.o --- c++ -pipe -O2 -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 --- common/bspfile.o --- c++ -pipe -O2 -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 --- common/cmdlib.o --- c++ -pipe -O2 -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/filelib.o --- c++ -pipe -O2 -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 --- common/files.o --- c++ -pipe -O2 -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 --- common/blockmem.o --- In file included from common/blockmem.cpp:113: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from common/blockmem.cpp:111: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) --- common/filelib.o --- In file included from common/filelib.cpp:29: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- common/log.o --- c++ -pipe -O2 -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 --- common/bspfile.o --- In file included from common/bspfile.cpp:6: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- common/log.o --- In file included from common/log.cpp:26: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from common/log.cpp:14: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) --- common/mathlib.o --- c++ -pipe -O2 -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 --- common/log.o --- common/log.cpp:32:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* g_Program = "Uninitialized variable ::g_Program"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- common/mathlib.o --- In file included from common/mathlib.cpp:6: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- common/log.o --- common/log.cpp: In function 'void OpenLog(int)': common/log.cpp:151:35: warning: unused parameter 'clientid' [-Wunused-parameter] void CDECL OpenLog(const int clientid) ~~~~~~~~~~^~~~~~~~ --- common/cmdlib.o --- common/cmdlib.cpp: In function 'void getFilePositions(char*, int*, int*)': common/cmdlib.cpp:146:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if(*directory_position == strlen(path) - 1) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ common/cmdlib.cpp: In function 'char* FlipSlashes(char*)': common/cmdlib.cpp:162:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(ptr = strchr(ptr,'/')) ~~~~^~~~~~~~~~~~~~~~~ common/cmdlib.cpp:167:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(ptr = strchr(ptr,'\\')) ~~~~^~~~~~~~~~~~~~~~~~ --- common/messages.o --- c++ -pipe -O2 -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 --- common/resourcelock.o --- c++ -pipe -O2 -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 --- common/scriplib.o --- c++ -pipe -O2 -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 --- common/threads.o --- c++ -pipe -O2 -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/bspfile.o --- common/bspfile.cpp: In function 'void SwapBSPFile(bool)': common/bspfile.cpp:261:50: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] g_texinfo[i].vecs[0][j] = LittleFloat(g_texinfo[i].vecs[0][j]); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ common/bspfile.cpp:259:23: note: within this loop for (j = 0; j < 8; j++) ~~^~~ --- common/threads.o --- common/threads.cpp: In function 'void ThreadWorkerFunction(intptr_t)': common/threads.cpp:183:47: warning: unused parameter 'unused' [-Wunused-parameter] static void ThreadWorkerFunction(intptr_t unused) ~~~~~~~~~^~~~~~ common/threads.cpp: In function 'void RunThreadsOn(int, bool, q_threadfunction)': common/threads.cpp:577:79: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (pthread_create(&work_threads[i], &attrib, ThreadEntryStub, (void*)i) == -1) ^ --- common/winding.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from common/winding.h:11, from common/winding.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlbsp/merge.o --- c++ -pipe -O2 -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 --- common/winding.o --- In file included from common/winding.h:13, from common/winding.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from common/winding.cpp:5: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from common/win32fix.h:8, from common/winding.h:10, from common/winding.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from common/winding.cpp:7: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlbsp/merge.o --- In file included from hlbsp/bsp5.h:13, from hlbsp/merge.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/merge.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/merge.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/outside.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4267) // 'size_t' to 'unsigned int', possible loss of data In file included from hlbsp/bsp5.h:13, from hlbsp/outside.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/outside.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/outside.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/portals.o --- c++ -pipe -O2 -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 --- common/winding.o --- common/winding.cpp: In constructor 'Winding::Winding(const dface_t&)': common/winding.cpp:382:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const short int' [-Wsign-compare] for (i = 0; i < face.numedges; i++) ~~^~~~~~~~~~~~~~~ --- hlbsp/portals.o --- hlbsp/portals.cpp:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch --- common/winding.o --- common/winding.cpp: In member function 'bool Winding::Clip(const dplane_t&, bool)': common/winding.cpp:780:19: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~~^~~~~~~~~~~~~ common/winding.cpp:825:19: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~~^~~~~~~~~~~~~ common/winding.cpp: In member function 'void Winding::Divide(const dplane_t&, Winding**, Winding**)': common/winding.cpp:914:19: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~~^~~~~~~~~~~~~ common/winding.cpp:961:19: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < m_NumPoints; i++) ~~^~~~~~~~~~~~~ common/winding.cpp:1023:24: warning: comparison of integer expressions of different signedness: 'UINT32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (f->m_NumPoints > maxpts || b->m_NumPoints > maxpts) ~~~~~~~~~~~~~~~^~~~~~~~ common/winding.cpp:1023:51: warning: comparison of integer expressions of different signedness: 'UINT32' {aka 'unsigned int'} and 'int' [-Wsign-compare] if (f->m_NumPoints > maxpts || b->m_NumPoints > maxpts) ~~~~~~~~~~~~~~~^~~~~~~~ --- hlbsp/portals.o --- In file included from hlbsp/bsp5.h:13, from hlbsp/portals.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/portals.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/portals.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/qbsp.o --- c++ -pipe -O2 -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/bsp5.h:13, from hlbsp/qbsp.cpp:16: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlbsp/solidbsp.o --- c++ -pipe -O2 -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/qbsp.o --- In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/qbsp.cpp:16: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/qbsp.cpp:16: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/solidbsp.o --- hlbsp/solidbsp.cpp:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch In file included from hlbsp/bsp5.h:13, from hlbsp/solidbsp.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlbsp/portals.o --- hlbsp/portals.cpp: In function 'void WritePortalFile_r(const node_t*)': hlbsp/portals.cpp:203:31: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < w->m_NumPoints; i++) ~~^~~~~~~~~~~~~~~~ --- hlbsp/solidbsp.o --- In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/solidbsp.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/solidbsp.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/surfaces.o --- c++ -pipe -O2 -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 --- hlbsp/tjunc.o --- --- hlbsp/surfaces.o --- In file included from hlbsp/bsp5.h:13, from hlbsp/surfaces.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlbsp/tjunc.o --- c++ -pipe -O2 -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 --- hlbsp/solidbsp.o --- hlbsp/solidbsp.cpp: In function 'bool CalcNodeBounds(node_t*)': hlbsp/solidbsp.cpp:1003:23: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for (i = 0; i < p->winding->m_NumPoints; i++) ~~^~~~~~~~~~~~~~~~~~~~~~~~~ --- hlbsp/surfaces.o --- In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/surfaces.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/surfaces.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/tjunc.o --- In file included from hlbsp/bsp5.h:13, from hlbsp/tjunc.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/tjunc.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/tjunc.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/qbsp.o --- hlbsp/qbsp.cpp: In function 'void Settings()': hlbsp/qbsp.cpp:1083:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Normal"; ^~~~~~~~ hlbsp/qbsp.cpp:1086:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Low"; ^~~~~ hlbsp/qbsp.cpp:1089:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "High"; ^~~~~~ hlbsp/qbsp.cpp: In function 'int main(int, char**)': hlbsp/qbsp.cpp:1174:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Program = "hlbsp"; ^~~~~~~ --- hlbsp/writebsp.o --- c++ -pipe -O2 -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 --- hlbsp/qbsp.o --- hlbsp/qbsp.cpp:1136:23: warning: '.p' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(name, "%s.p%i", filename, i); ^~~~~~~~ hlbsp/qbsp.cpp:1136:23: note: directive argument in the range [0, 4] hlbsp/qbsp.cpp:1136:16: note: 'sprintf' output between 4 and 4099 bytes into a destination of size 4096 sprintf(name, "%s.p%i", filename, i); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- hlcsg/autowad.o --- c++ -pipe -O2 -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 --- hlbsp/writebsp.o --- In file included from hlbsp/bsp5.h:13, from hlbsp/writebsp.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlbsp/bsp5.h:18, from hlbsp/writebsp.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlbsp/bsp5.h:18, from hlbsp/writebsp.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/autowad.o --- In file included from hlcsg/csg.h:12, from hlcsg/autowad.cpp:2: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/autowad.cpp:2: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/autowad.cpp:2: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/autowad.cpp:2: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/autowad.cpp:2: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/autowad.cpp:2: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/brush.o --- c++ -pipe -O2 -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 --- common/winding.o --- In file included from common/winding.h:11, from common/winding.cpp:3: common/mathlib.h: In member function 'void Winding::RemoveColinearPoints()': common/mathlib.h:50:93: warning: 'v2[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) { (c)[0]=(a)[0]+(b)[0]; (c)[1]=(a)[1]+(b)[1]; (c)[2]=(a)[2]+(b)[2]; } ^ common/winding.cpp:421:25: note: 'v2[2]' was declared here vec3_t v1, v2; ^~ In file included from common/winding.h:11, from common/winding.cpp:3: common/mathlib.h:50:71: warning: 'v2[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) { (c)[0]=(a)[0]+(b)[0]; (c)[1]=(a)[1]+(b)[1]; (c)[2]=(a)[2]+(b)[2]; } ^ common/winding.cpp:421:25: note: 'v2[1]' was declared here vec3_t v1, v2; ^~ In file included from common/winding.h:11, from common/winding.cpp:3: common/mathlib.h:50:49: warning: 'v2[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorAdd(a,b,c) { (c)[0]=(a)[0]+(b)[0]; (c)[1]=(a)[1]+(b)[1]; (c)[2]=(a)[2]+(b)[2]; } ^ common/winding.cpp:421:25: note: 'v2[0]' was declared here vec3_t v1, v2; ^~ --- hlcsg/brush.o --- In file included from hlcsg/csg.h:12, from hlcsg/brush.cpp:1: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/brush.cpp:1: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/brush.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/brush.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/brush.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/brush.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- common/winding.o --- common/winding.cpp: In member function 'bool Winding::Clip(const dplane_t&, bool)': common/winding.cpp:799:23: warning: 'sides[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] sides[i] = sides[0]; ~~~~~~~^ common/winding.cpp:800:23: warning: 'dists[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] dists[i] = dists[0]; ~~~~~~~^ --- hlcsg/brushunion.o --- c++ -pipe -O2 -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/csg.h:12, from hlcsg/brushunion.cpp:1: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/brushunion.cpp:1: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/brushunion.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/brushunion.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/brushunion.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/brushunion.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/hullfile.o --- c++ -pipe -O2 -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 --- hlcsg/brush.o --- hlcsg/brush.cpp: In function 'void ExpandBrush(brush_t*, int)': hlcsg/brush.cpp:319:11: warning: enumeration value 'plane_anyx' not handled in switch [-Wswitch] switch(current_plane->type) ^ hlcsg/brush.cpp:319:11: warning: enumeration value 'plane_anyy' not handled in switch [-Wswitch] hlcsg/brush.cpp:319:11: warning: enumeration value 'plane_anyz' not handled in switch [-Wswitch] --- hlcsg/hullfile.o --- In file included from hlcsg/csg.h:12, from hlcsg/hullfile.cpp:1: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/hullfile.cpp:1: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/hullfile.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/hullfile.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/hullfile.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/hullfile.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/map.o --- c++ -pipe -O2 -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/netvis_in_vis.o --- c++ -pipe -O2 -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/netvis_in_vis.o -c hlcsg/netvis_in_vis.cpp -Icommon -Itemplate --- hlcsg/properties.o --- c++ -pipe -O2 -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/properties.o -c hlcsg/properties.cpp -Icommon -Itemplate --- hlcsg/map.o --- hlcsg/map.cpp:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch In file included from hlcsg/csg.h:12, from hlcsg/map.cpp:3: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/map.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/map.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlcsg/properties.o --- In file included from hlcsg/csg.h:12, from hlcsg/properties.cpp:3: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/properties.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/properties.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/properties.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/properties.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/map.o --- In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/map.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlcsg/properties.o --- In file included from hlcsg/csg.h:24, from hlcsg/properties.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/map.o --- In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/map.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/map.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/qcsg.o --- --- hlcsg/textures.o --- --- hlcsg/qcsg.o --- c++ -pipe -O2 -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/qcsg.o -c hlcsg/qcsg.cpp -Icommon -Itemplate --- hlcsg/textures.o --- c++ -pipe -O2 -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 --- hlcsg/qcsg.o --- hlcsg/qcsg.cpp:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) // '<' : signed/unsigned mismatch In file included from hlcsg/csg.h:12, from hlcsg/qcsg.cpp:13: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/qcsg.cpp:13: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/qcsg.cpp:13: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlcsg/textures.o --- In file included from hlcsg/csg.h:12, from hlcsg/textures.cpp:1: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/textures.cpp:1: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/textures.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlcsg/qcsg.o --- In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/qcsg.cpp:13: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/qcsg.cpp:13: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/qcsg.cpp:13: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/textures.o --- In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/textures.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/textures.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/textures.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/properties.o --- hlcsg/properties.cpp: In function 'void properties_initialize(const char*)': hlcsg/properties.cpp:36:6: warning: unused variable 'numitems' [-Wunused-variable] int numitems = 0; ^~~~~~~~ hlcsg/properties.cpp:37:8: warning: unused variable 'str' [-Wunused-variable] char* str = NULL; ^~~ hlcsg/properties.cpp:38:9: warning: unused variable 'list' [-Wunused-variable] char** list = NULL; ^~~~ --- hlcsg/map.o --- hlcsg/map.cpp: In function 'bool ParseMapEntity()': hlcsg/map.cpp:541:85: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'brush_t' {aka 'struct brush_s'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(temp, g_mapbrushes + mapent->firstbrush, newbrushes * sizeof(brush_t)); ^ In file included from hlcsg/map.cpp:3: hlcsg/csg.h:147:16: note: 'brush_t' {aka 'struct brush_s'} declared here typedef struct brush_s ^~~~~~~ hlcsg/map.cpp:550:109: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'brush_t' {aka 'struct brush_s'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] g_mapbrushes + worldbrushes, sizeof(brush_t) * (g_nummapbrushes - worldbrushes - newbrushes)); ^ In file included from hlcsg/map.cpp:3: hlcsg/csg.h:147:16: note: 'brush_t' {aka 'struct brush_s'} declared here typedef struct brush_s ^~~~~~~ hlcsg/map.cpp:553:79: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'brush_t' {aka 'struct brush_s'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(g_mapbrushes + worldbrushes, temp, sizeof(brush_t) * newbrushes); ^ In file included from hlcsg/map.cpp:3: hlcsg/csg.h:147:16: note: 'brush_t' {aka 'struct brush_s'} declared here typedef struct brush_s ^~~~~~~ hlcsg/map.cpp: In function 'unsigned int CountEngineEntities()': hlcsg/map.cpp:579:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (x=0; xw->m_NumPoints / 2; i++) // add points backwards ~~^~~~~~~~~~~~~~~~~~~~~~~ hlcsg/qcsg.cpp: In function 'void SetLightStyles()': hlcsg/qcsg.cpp:752:13: warning: variable 'newtexlight' set but not used [-Wunused-but-set-variable] bool newtexlight = false; ^~~~~~~~~~~ hlcsg/qcsg.cpp: In function 'void Settings()': hlcsg/qcsg.cpp:1262:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Normal"; ^~~~~~~~ hlcsg/qcsg.cpp:1265:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Low"; ^~~~~ hlcsg/qcsg.cpp:1268:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "High"; ^~~~~~ hlcsg/qcsg.cpp: In function 'int main(int, char**)': hlcsg/qcsg.cpp:1354:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Program = "hlcsg"; ^~~~~~~ --- hlcsg/wadcfg.o --- c++ -pipe -O2 -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/csg.h:12, from hlcsg/wadcfg.cpp:3: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/wadcfg.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/wadcfg.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/wadcfg.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/wadcfg.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/wadcfg.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/textures.o --- hlcsg/textures.cpp: In function 'bool TEX_InitFromWad()': hlcsg/textures.cpp:305:46: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (lumpinfo[nTexLumps].disksize > MAX_TEXTURE_SIZE) --- hlcsg/qcsg.o --- hlcsg/qcsg.cpp: At global scope: hlcsg/qcsg.cpp:867:17: warning: 'void CopyGenerictoCLIP(const brush_t*)' defined but not used [-Wunused-function] static void CopyGenerictoCLIP(const brush_t* const b) ^~~~~~~~~~~~~~~~~ --- hlcsg/wadinclude.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4267) // 'size_t' to 'unsigned int', possible loss of data --- hlcsg/wadpath.o --- --- hlcsg/wadinclude.o --- In file included from hlcsg/csg.h:12, from hlcsg/wadinclude.cpp:3: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/wadinclude.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) --- hlcsg/wadpath.o --- c++ -pipe -O2 -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 --- hlcsg/wadinclude.o --- In file included from hlcsg/csg.h:17, from hlcsg/wadinclude.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/wadinclude.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/wadinclude.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/wadinclude.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/wadpath.o --- In file included from hlcsg/csg.h:12, from hlcsg/wadpath.cpp:3: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlcsg/csg.h:9, from hlcsg/wadpath.cpp:3: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlcsg/csg.h:17, from hlcsg/wadpath.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlcsg/csg.h:19, from hlcsg/wadpath.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlcsg/csg.h:19, from hlcsg/wadpath.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlcsg/csg.h:24, from hlcsg/wadpath.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/wadcfg.o --- hlcsg/wadcfg.cpp: In function 'bool GetWadConfig(FILE*, wadconfig_t*)': hlcsg/wadcfg.cpp:202:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] WadCfgParseError(TokenBuffer, g_wadcfglinecount, "(eof)"); ^ hlcsg/wadcfg.cpp: In function 'void Safe_GetToken(FILE*, char*, unsigned int)': hlcsg/wadcfg.cpp:85:16: warning: array subscript 1 is above array bounds of 'char [1]' [-Warray-bounds] ThinkChar[1] = '\0'; ~~~~~~~~~~~^ --- hlrad/lerp.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlrad/qrad.h:13, from hlrad/lerp.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/lerp.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/lerp.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' hlrad/lerp.cpp: In function 'bool TestWallIntersectTri(const lerpTriangulation_t*, const vec_t*, const vec_t*, const vec_t*)': hlrad/lerp.cpp:26:19: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] for (x = 0; x < trian->numwalls; x++, wall++) ~~^~~~~~~~~~~~~~~~~ hlrad/lerp.cpp: In function 'bool TestLineSegmentIntersectWall(const lerpTriangulation_t*, const vec_t*, const vec_t*)': hlrad/lerp.cpp:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] for (x = 0; x < trian->numwalls; x++, wall++) ~~^~~~~~~~~~~~~~~~~ hlrad/lerp.cpp: In function 'void LerpNearest(const lerpTriangulation_t*, vec_t*, int)': hlrad/lerp.cpp:199:31: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] if (patch->faceNumber == trian->facenum) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ hlrad/lerp.cpp: In function 'void AddPatchToTriangulation(lerpTriangulation_t*, patch_t*)': hlrad/lerp.cpp:444:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (pnum >= trian->maxpoints) ~~~~~^~~~~~~~~~~~~~~~~~~ hlrad/lerp.cpp: In function 'lerpTriangulation_t* CreateTriangulation(unsigned int)': hlrad/lerp.cpp:605:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const short int' [-Wsign-compare] for (j = 0; j < f->numedges; j++) ~~^~~~~~~~~~~~~ --- hlcsg/wadcfg.o --- hlcsg/wadcfg.cpp: In function 'bool GetWadConfig(FILE*, wadconfig_t*)': hlcsg/wadcfg.cpp:194:28: warning: 'previous' may be used uninitialized in this function [-Wmaybe-uninitialized] previous->next = current; ~~~~~~~~~~~~~~~^~~~~~~~~ hlcsg/wadcfg.cpp: In function 'void LoadWadConfigFile()': hlcsg/wadcfg.cpp:341:28: warning: 'previous' may be used uninitialized in this function [-Wmaybe-uninitialized] previous->next = current; ~~~~~~~~~~~~~~~^~~~~~~~~ --- hlrad/lightmap.o --- c++ -pipe -O2 -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/qrad.h:13, from hlrad/lightmap.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/lightmap.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/lightmap.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/mathutil.o --- c++ -pipe -O2 -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 --- hlrad/nomatrix.o --- c++ -pipe -O2 -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 --- hlrad/qrad.o --- c++ -pipe -O2 -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 --- hlrad/mathutil.o --- In file included from hlrad/qrad.h:13, from hlrad/mathutil.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlrad/nomatrix.o --- In file included from hlrad/qrad.h:13, from hlrad/nomatrix.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlrad/mathutil.o --- In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/mathutil.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/mathutil.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/nomatrix.o --- In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/nomatrix.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/nomatrix.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/qrad.o --- In file included from hlrad/qrad.h:8, from hlrad/qrad.cpp:19: common/cmdlib.h:19: warning: "alloca" redefined #define alloca __builtin_alloca In file included from /usr/include/c++/8.0/cstdlib:75, from /usr/include/c++/8.0/ext/string_conversions.h:41, from /usr/include/c++/8.0/bits/basic_string.h:6361, from /usr/include/c++/8.0/string:52, from hlrad/qrad.cpp:17: /usr/include/stdlib.h:258: note: this is the location of the previous definition #define alloca(sz) __builtin_alloca(sz) In file included from hlrad/qrad.h:13, from hlrad/qrad.cpp:19: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/qrad.cpp:19: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/qrad.cpp:19: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/qradutil.o --- c++ -pipe -O2 -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/qrad.h:13, from hlrad/qradutil.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlrad/mathutil.o --- hlrad/mathutil.cpp: In function 'int TestSegmentAgainstOpaqueList(const vec_t*, const vec_t*, vec_t (&)[3])': 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; ^~~~~~~ --- hlrad/qradutil.o --- In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/qradutil.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/qradutil.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlcsg/qcsg.o --- hlcsg/qcsg.cpp: In function 'int main(int, char**)': hlcsg/qcsg.cpp:1501:51: warning: array subscript 32 is above array bounds of 'char [32]' [-Warray-bounds] wadconfigname[MAX_WAD_CFG_NAME] = 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ --- hlrad/qrad.o --- hlrad/qrad.cpp: In function 'void ReadLightFile(const char*)': hlrad/qrad.cpp:517:37: warning: format '%f' expects argument of type 'float*', but argument 4 has type 'vec_t*' {aka 'double*'} [-Wformat=] argCnt = sscanf/*_s*/(scan, "%s %f %f %f %f", szTexlight, &r, &g, &b, &i); ^~~~~~~~~~~~~~~~ ~~ hlrad/qrad.cpp:517:37: warning: format '%f' expects argument of type 'float*', but argument 5 has type 'vec_t*' {aka 'double*'} [-Wformat=] hlrad/qrad.cpp:517:37: warning: format '%f' expects argument of type 'float*', but argument 6 has type 'vec_t*' {aka 'double*'} [-Wformat=] hlrad/qrad.cpp:517:37: warning: format '%f' expects argument of type 'float*', but argument 7 has type 'vec_t*' {aka 'double*'} [-Wformat=] hlrad/qrad.cpp: In function 'void GatherLight(intptr_t)': hlrad/qrad.cpp:1509:38: warning: unused parameter 'threadnum' [-Wunused-parameter] static void GatherLight(intptr_t threadnum) ~~~~~~~~~^~~~~~~~~ hlrad/qrad.cpp: In function 'void GatherRGBLight(intptr_t)': hlrad/qrad.cpp:1631:41: warning: unused parameter 'threadnum' [-Wunused-parameter] static void GatherRGBLight(intptr_t threadnum) ~~~~~~~~~^~~~~~~~~ hlrad/qrad.cpp: In function 'void Settings()': hlrad/qrad.cpp:2055:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Normal"; ^~~~~~~~ hlrad/qrad.cpp:2058:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Low"; ^~~~~ hlrad/qrad.cpp:2061:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "High"; ^~~~~~ hlrad/qrad.cpp:2071:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Unknown"; ^~~~~~~~~ hlrad/qrad.cpp:2074:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Original"; ^~~~~~~~~~ hlrad/qrad.cpp:2077:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Sparse"; ^~~~~~~~ hlrad/qrad.cpp:2080:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "NoMatrix"; ^~~~~~~~~~ hlrad/qrad.cpp: In function 'int main(int, char**)': hlrad/qrad.cpp:2400:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Program = "hlrad"; ^~~~~~~ --- hlrad/sparse.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlrad/qrad.h:13, from hlrad/sparse.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/sparse.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/sparse.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/trace.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlrad/sparse.o --- hlrad/sparse.cpp: In function 'void InsertVisbitIntoArray(unsigned int, unsigned int)': hlrad/sparse.cpp:86:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] while (count < column->count) ~~~~~~^~~~~~~~~~~~~~~ hlrad/sparse.cpp: In function 'void TestPatchToFace(unsigned int, int, int)': 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: In function 'void BuildVisLeafs(intptr_t)': hlrad/sparse.cpp:342:40: warning: unused parameter 'threadnum' [-Wunused-parameter] static void BuildVisLeafs(intptr_t threadnum) ~~~~~~~~~^~~~~~~~~ --- hlrad/transfers.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-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/qrad.h:13, from hlrad/transfers.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/transfers.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/transfers.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/transparency.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlrad/qrad.h:13, from hlrad/transparency.cpp:6: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/transparency.cpp:6: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/transparency.cpp:6: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/vismatrix.o --- c++ -pipe -O2 -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 --- hlrad/qrad.o --- In file included from hlrad/qrad.h:13, from hlrad/qrad.cpp:19: common/mathlib.h: In function 'void MakePatches()': common/mathlib.h:49:49: warning: 'light_origin[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) { (c)[0]=(a)[0]-(b)[0]; (c)[1]=(a)[1]-(b)[1]; (c)[2]=(a)[2]-(b)[2]; } ^ hlrad/qrad.cpp:1179:21: note: 'light_origin[0]' was declared here vec3_t light_origin; ^~~~~~~~~~~~ In file included from hlrad/qrad.h:13, from hlrad/qrad.cpp:19: common/mathlib.h:49:93: warning: 'light_origin[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) { (c)[0]=(a)[0]-(b)[0]; (c)[1]=(a)[1]-(b)[1]; (c)[2]=(a)[2]-(b)[2]; } ^ hlrad/qrad.cpp:1179:21: note: 'light_origin[2]' was declared here vec3_t light_origin; ^~~~~~~~~~~~ In file included from hlrad/qrad.h:13, from hlrad/qrad.cpp:19: common/mathlib.h:49:71: warning: 'light_origin[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] #define VectorSubtract(a,b,c) { (c)[0]=(a)[0]-(b)[0]; (c)[1]=(a)[1]-(b)[1]; (c)[2]=(a)[2]-(b)[2]; } ^ hlrad/qrad.cpp:1179:21: note: 'light_origin[1]' was declared here vec3_t light_origin; ^~~~~~~~~~~~ --- hlrad/vismatrix.o --- In file included from hlrad/qrad.h:13, from hlrad/vismatrix.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/vismatrix.cpp:1: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/vismatrix.cpp:1: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' hlrad/vismatrix.cpp: In function 'void TestPatchToFace(unsigned int, int, int, unsigned int)': 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: In function 'void BuildVisLeafs(intptr_t)': hlrad/vismatrix.cpp:154:40: warning: unused parameter 'threadnum' [-Wunused-parameter] static void BuildVisLeafs(intptr_t threadnum) ~~~~~~~~~^~~~~~~~~ hlrad/vismatrix.cpp: At global scope: hlrad/vismatrix.cpp:34:13: warning: 'void FindOpacity(unsigned int, vec_t (&)[3])' defined but not used [-Wunused-function] static void FindOpacity(const unsigned bitpos, vec3_t &out) ^~~~~~~~~~~ hlrad/vismatrix.cpp:32:22: warning: 's_max_transparency_count' defined but not used [-Wunused-variable] static unsigned long s_max_transparency_count=0; ^~~~~~~~~~~~~~~~~~~~~~~~ --- hlrad/vismatrixutil.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlrad/qrad.h:13, from hlrad/vismatrixutil.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlrad/qrad.h:15, from hlrad/vismatrixutil.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlrad/qrad.h:15, from hlrad/vismatrixutil.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/transparency.o --- hlrad/transparency.cpp: In function 'unsigned int AddTransparencyToDataList(const vec_t*)': hlrad/transparency.cpp:38:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(int i = 0; i < s_trans_count; i++) ~~^~~~~~~~~~~~~~~ --- hlvis/flow.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlvis/vis.h:13, from hlvis/flow.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlrad/vismatrixutil.o --- hlrad/vismatrixutil.cpp: In function 'int FindTransferOffsetPatchnum(transfer_index_t*, const patch_t*, unsigned int)': hlrad/vismatrixutil.cpp:32:58: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] if ((tIndex[offset].index + tIndex[offset].size) < patchnum) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ hlrad/vismatrixutil.cpp:46:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (x = 0; x < offset; x++, pIndex++) ~~^~~~~~~~ --- hlvis/flow.o --- In file included from common/winding.h:11, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/flow.cpp:3: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/flow.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlvis/zones.h:14, from hlvis/vis.h:18, from hlvis/flow.cpp:3: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlrad/vismatrixutil.o --- hlrad/vismatrixutil.cpp: In function 'void MakeScales(intptr_t)': hlrad/vismatrixutil.cpp:264:74: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (!g_CheckVisBit(i, j, transparency, fastfind_index) || (i == j)) ~~^~~~ hlrad/vismatrixutil.cpp:193:43: warning: unused parameter 'threadnum' [-Wunused-parameter] void MakeScales(const intptr_t threadnum) ~~~~~~~~~~~~~~~^~~~~~~~~ hlrad/vismatrixutil.cpp: In function 'void MakeRGBScales(intptr_t)': hlrad/vismatrixutil.cpp:527:74: warning: comparison of integer expressions of different signedness: '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) ~~~~~~~~~~~~~~~^~~~~~~~~ --- hlvis/vis.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlvis/vis.h:13, from hlvis/vis.cpp:14: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/vis.cpp:14: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/vis.cpp:14: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlvis/zones.h:14, from hlvis/vis.h:18, from hlvis/vis.cpp:14: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlvis/flow.o --- hlvis/flow.cpp: In function 'winding_t* ChopWinding(winding_t*, pstack_t*, const plane_t*)': hlvis/flow.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (in->numpoints > (sizeof(sides) / sizeof(*sides))) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:156:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (tmp >= in->numpoints) ~~~~^~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'winding_t* ClipToSeperators(const winding_t*, const winding_t*, winding_t*, bool, pstack_t*)': hlvis/flow.cpp:251:22: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] for (i=0, l=1; i < numpoints; i++, l++) ~~^~~~~~~~~~~ hlvis/flow.cpp:253:15: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] if (l == numpoints) ~~^~~~~~~~~~~~ hlvis/flow.cpp:276:27: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] for (k = 0; k < numpoints; k++) ~~^~~~~~~~~~~ hlvis/flow.cpp:296:19: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] if (k == numpoints) ~~^~~~~~~~~~~~ hlvis/flow.cpp: In function 'void RecursiveLeafFlow(int, const threaddata_t*, const pstack_t*)': hlvis/flow.cpp:461:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] for (j = 0; j < bitlongs; j++, test++, might++, prevmight++) ~~^~~~~~~~~~ hlvis/flow.cpp:471:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] for (j = 0; j < bitlongs; j++, might++, vis++) ~~^~~~~~~~~~ hlvis/flow.cpp:543:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for (j = 0; j < stack.clipPlaneCount && stack.pass != NULL; j++) ~~^~~~~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'void BlockVis(intptr_t)': hlvis/flow.cpp:709:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(l = 0; l < leaf->numportals; l++) ~~^~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:681:26: warning: unused parameter 'unused' [-Wunused-parameter] void BlockVis(intptr_t unused) ~~~~~~~~~^~~~~~ hlvis/flow.cpp: In function 'portal_t* GetSplitPortal(leaf_t*, leaf_t*)': hlvis/flow.cpp:741:39: warning: comparison of integer expressions of different signedness: '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 integer expressions of different signedness: '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 integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(k < leaf2->numportals) ~~^~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'void MakeSplitPortalList(leaf_t*, leaf_t*, portal_t**, int*)': hlvis/flow.cpp:794:39: warning: comparison of integer expressions of different signedness: '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 integer expressions of different signedness: '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 integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(k < leaf2->numportals) ~~^~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'bool DisjointLeafVis(int, int)': hlvis/flow.cpp:849:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(int k = 0; k < l->numportals; k++) ~~^~~~~~~~~~~~~~~ hlvis/flow.cpp:851:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(int m = 0; m < tl->numportals; m++) ~~^~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'void ClipWindingsToBounds(winding_t*, int, plane_t*, int, plane_t&, winding_t**, int&)': hlvis/flow.cpp:939:16: warning: left operand of comma operator has no effect [-Wunused-value] for(i = 0; i < numbounds, wind.Valid(); i++) ~~^~~~~~~~~~~ hlvis/flow.cpp: In function 'void GenerateWindingList(leaf_t*, winding_t**)': hlvis/flow.cpp:978:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf->numportals; i++) ~~^~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'float GetShortestDistance(leaf_t*, leaf_t*)': hlvis/flow.cpp:1021:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf1->numportals; i++) ~~^~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:1041:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < leaf2->numportals; i++) ~~^~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'float CalcSplitsAndDotProducts(plane_t*, leaf_t*, leaf_t*, plane_t*, int)': hlvis/flow.cpp:1099:16: warning: comparison of integer expressions of different signedness: 'int' and 'UINT32' {aka 'unsigned int'} [-Wsign-compare] for(i = 0; i < wind.m_NumPoints; i++) ~~^~~~~~~~~~~~~~~~~~ hlvis/flow.cpp: In function 'void BasePortalVis(intptr_t)': hlvis/flow.cpp:1159:40: warning: unused parameter 'unused' [-Wunused-parameter] void BasePortalVis(intptr_t unused) ~~~~~~~~~^~~~~~ hlvis/flow.cpp: In function 'void MaxDistVis(intptr_t)': hlvis/flow.cpp:1270:38: warning: comparison of integer expressions of different signedness: '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 integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(a = 0; a < l->numportals; a++) ~~^~~~~~~~~~~~~~~ hlvis/flow.cpp:1350:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(b = 0; b < tl->numportals; b++) ~~^~~~~~~~~~~~~~~~ hlvis/flow.cpp:1371:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(k = 0; k < l->numportals; k++) ~~^~~~~~~~~~~~~~~ hlvis/flow.cpp:1373:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(m = 0; m < tl->numportals; m++) ~~^~~~~~~~~~~~~~~~ hlvis/flow.cpp:1245:26: warning: unused parameter 'unused' [-Wunused-parameter] void MaxDistVis(intptr_t unused) ~~~~~~~~~^~~~~~ hlvis/flow.cpp: At global scope: hlvis/flow.cpp:1068:15: warning: 'float CalcSplitsAndDotProducts(plane_t*, leaf_t*, leaf_t*, plane_t*, int)' defined but not used [-Wunused-function] static float CalcSplitsAndDotProducts(plane_t *org_split_plane, leaf_t *leaf1, leaf_t *leaf2, plane_t *bounds, int num_bounds) ^~~~~~~~~~~~~~~~~~~~~~~~ hlvis/flow.cpp:732:18: warning: 'portal_t* GetSplitPortal(leaf_t*, leaf_t*)' defined but not used [-Wunused-function] static portal_t *GetSplitPortal(leaf_t *leaf1, leaf_t *leaf2) ^~~~~~~~~~~~~~ --- hlvis/vis.o --- hlvis/vis.cpp: In function 'portal_t* GetNextPortal()': hlvis/vis.cpp:347:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (tp->nummightsee < min && tp->status == stat_none) ~~~~~~~~~~~~~~~~^~~~~ hlvis/vis.cpp: In function 'void DecompressAll()': hlvis/vis.cpp:411:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < g_portalleafs; i++) ~~^~~~~~~~~~~~~~~ hlvis/vis.cpp: In function 'void CompressAll()': hlvis/vis.cpp:432:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < g_portalleafs; i++) ~~^~~~~~~~~~~~~~~ hlvis/vis.cpp: In function 'void LeafThread(intptr_t)': hlvis/vis.cpp:466:37: warning: unused parameter 'unused' [-Wunused-parameter] static void LeafThread(intptr_t unused) ~~~~~~~~~^~~~~~ hlvis/vis.cpp: In function 'void InitVisBlock()': hlvis/vis.cpp:811:17: warning: format '%f' expects argument of type 'float*', but argument 3 has type 'vec_t*' {aka 'double*'} [-Wformat=] fscanf_s(fp, "%f %f %f %f\n", &g_visblockers[x].planes[i].normal[0], ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hlvis/vis.cpp:811:17: warning: format '%f' expects argument of type 'float*', but argument 4 has type 'vec_t*' {aka 'double*'} [-Wformat=] hlvis/vis.cpp:811:17: warning: format '%f' expects argument of type 'float*', but argument 5 has type 'vec_t*' {aka 'double*'} [-Wformat=] hlvis/vis.cpp: In function 'void SetupVisBlockLeafs()': hlvis/vis.cpp:842:36: warning: comparison of integer expressions of different signedness: '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 integer expressions of different signedness: '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 integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(q != leaf->numportals) ~~^~~~~~~~~~~~~~~~~~~ hlvis/vis.cpp: In function 'void Settings()': hlvis/vis.cpp:1309:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Normal"; ^~~~~~~~ hlvis/vis.cpp:1312:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Low"; ^~~~~ hlvis/vis.cpp:1315:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "High"; ^~~~~~ hlvis/vis.cpp: In function 'int main(int, char**)': hlvis/vis.cpp:1355:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Program = "hlvis"; ^~~~~~~ hlvis/vis.cpp: At global scope: hlvis/vis.cpp:831:14: warning: 'void SetupVisBlockLeafs()' defined but not used [-Wunused-function] static void SetupVisBlockLeafs(void) ^~~~~~~~~~~~~~~~~~ hlvis/vis.cpp:775:13: warning: 'void InitVisBlock()' defined but not used [-Wunused-function] static void InitVisBlock(void) ^~~~~~~~~~~~ --- hlvis/zones.o --- c++ -pipe -O2 -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: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4018) //amckern - 64bit - '<' Singed/Unsigned Mismatch In file included from hlvis/vis.h:13, from hlvis/zones.cpp:7: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:11, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/zones.cpp:7: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from hlvis/zones.h:13, from hlvis/vis.h:18, from hlvis/zones.cpp:7: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' In file included from hlvis/zones.h:14, from hlvis/vis.h:18, from hlvis/zones.cpp:7: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- ripent/ripent.o --- c++ -pipe -O2 -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.h:6, from ripent/ripent.cpp:13: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t --- hlvis/zones.o --- hlvis/zones.cpp: In function 'Zones* MakeZones()': hlvis/zones.cpp:83:16: warning: comparison of integer expressions of different signedness: 'UINT32' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (x=0; xnumfaces; j++, f++) ~~^~~~~~~~~~~~~~~ --- ripent/ripent.o --- In file included from common/winding.h:11, from ripent/ripent.h:8, from ripent/ripent.cpp:13: common/mathlib.h:1: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4244) //amckern - 64bit - double to vec_t In file included from common/winding.h:13, from ripent/ripent.h:8, from ripent/ripent.cpp:13: common/boundingbox.h:6: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4305) // truncation from 'const double' to 'float' --- hlbsp/hlbsp --- c++ -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 --- hlcsg/hlcsg --- c++ -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 --- hlrad/hlrad --- c++ -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 --- ripent/ripent.o --- In file included from ripent/ripent.h:5, from ripent/ripent.cpp:13: ripent/ripent.cpp: In function 'void ParseEntityData(const char*, int, const char*, int, const char*, int)': ripent/ripent.cpp:243:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] assume(iNewLength < sizeof(g_dentdata), "Entity data size exceedes dentdata limit."); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ common/hlassert.h:34:37: note: in definition of macro 'assume' #define assume(exp, message) {if (!(exp)) {Error("\nAssume '%s' failed\n\n", #exp, __FILE__, __LINE__, message);}} ^~~ ripent/ripent.cpp: In function 'void ReadEntities(const char*)': ripent/ripent.cpp:422:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] assume(g_entdatasize < sizeof(g_dentdata), "Entity data size exceedes dentdata limit."); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ common/hlassert.h:34:37: note: in definition of macro 'assume' #define assume(exp, message) {if (!(exp)) {Error("\nAssume '%s' failed\n\n", #exp, __FILE__, __LINE__, message);}} ^~~ ripent/ripent.cpp: In function 'void Settings()': ripent/ripent.cpp:499:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Import"; ^~~~~~~~ ripent/ripent.cpp:502:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tmp = "Export"; ^~~~~~~~ ripent/ripent.cpp: In function 'int main(int, char**)': ripent/ripent.cpp:525:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_Program = "ripent"; ^~~~~~~~ ripent/ripent.cpp:604:25: warning: too many arguments for format [-Wformat-extra-args] fprintf(stderr, "%s", "bspfile '%s' does not exist\n", g_Mapname); ^~~~ ripent/ripent.cpp:619:12: warning: enumeration value 'hl_undefined' not handled in switch [-Wswitch] switch (g_mode) ^ ripent/ripent.cpp: In function 'void GetParamsFromEnt(entity_t*)': ripent/ripent.cpp:643:33: warning: unused parameter 'mapent' [-Wunused-parameter] void GetParamsFromEnt(entity_t* mapent) {} ~~~~~~~~~~^~~~~~ --- ripent/ripent --- c++ -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 --- hlvis/hlvis --- c++ -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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for zhlt-3.4 ===> Generating temporary packing list install -s -m 555 hlbsp/hlbsp hlcsg/hlcsg hlrad/hlrad hlvis/hlvis ripent/ripent /construction/games/zhlt/stage/usr/local/bin ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for zhlt-3.4 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 10:03:28 UTC Duration: 00:00:16