=> Building games/xray_re-tools Started : Monday, 8 JUL 2019 at 23:46:31 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-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/xray_re-tools XDG_CONFIG_HOME=/construction/games/xray_re-tools HOME=/construction/games/xray_re-tools TMPDIR="/tmp" PATH=/construction/games/xray_re-tools/.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/xray_re-tools XDG_CONFIG_HOME=/construction/games/xray_re-tools HOME=/construction/games/xray_re-tools TMPDIR="/tmp" PATH=/construction/games/xray_re-tools/.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/xray_re-tools/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xray_re-tools" EXAMPLESDIR="share/examples/xray_re-tools" DATADIR="share/xray_re-tools" WWWDIR="www/xray_re-tools" ETCDIR="etc/xray_re-tools" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xray_re-tools DOCSDIR=/usr/local/share/doc/xray_re-tools EXAMPLESDIR=/usr/local/share/examples/xray_re-tools WWWDIR=/usr/local/www/xray_re-tools ETCDIR=/usr/local/etc/xray_re-tools -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 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 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xray_re-tools-g20180902 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> xray_re-tools-g20180902 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xray_re-tools-g20180902 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xray_re-tools-g20180902 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xray_re-tools-g20180902 for building => SHA256 Checksum OK for abramcumner-xray_re-tools-g20180902-52721d2_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by xray_re-tools-g20180902 for building ===> Extracting for xray_re-tools-g20180902 ===> Fetching all distfiles required by xray_re-tools-g20180902 for building => SHA256 Checksum OK for abramcumner-xray_re-tools-g20180902-52721d2_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xray_re-tools-g20180902 ===> Applying ports patches for xray_re-tools-g20180902 ===> Applying dragonfly patches for xray_re-tools-g20180902 /usr/bin/sed -i.bak -e 's@\(defined(__FreeBSD__)\)@(\1||defined(__DragonFly__))@g' /construction/games/xray_re-tools/xray_re-tools-52721d2/sources/xray_re/xr_types.h /usr/bin/sed -i.bak -e 's@[[:<:]]__unused[[:>:]]@__unused_@g' /construction/games/xray_re-tools/xray_re-tools-52721d2/sources/xray_re/xr_blender.h /construction/games/xray_re-tools/xray_re-tools-52721d2/sources/xray_re/xr_ai_way.h /usr/bin/sed -i.bak -e 's@_THROW_BAD_ALLOC@throw()@g' /construction/games/xray_re-tools/xray_re-tools-52721d2/sources/3rd-party/nvtt/nvcore/Memory.h -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> xray_re-tools-g20180902 depends on shared library: liblzo2.so - not found ===> Installing existing package /packages/All/lzo2-2.10_1.txz Installing lzo2-2.10_1... Extracting lzo2-2.10_1: .......... done ===> xray_re-tools-g20180902 depends on shared library: liblzo2.so - found (/usr/local/lib/liblzo2.so) ===> Returning to build of xray_re-tools-g20180902 ===> xray_re-tools-g20180902 depends on shared library: libvorbisfile.so - not found ===> Installing existing package /packages/All/libvorbis-1.3.6,3.txz Installing libvorbis-1.3.6,3... `-- Installing libogg-1.3.3,4... `-- Extracting libogg-1.3.3,4: .......... done Extracting libvorbis-1.3.6,3: .......... done ===> xray_re-tools-g20180902 depends on shared library: libvorbisfile.so - found (/usr/local/lib/libvorbisfile.so) ===> Returning to build of xray_re-tools-g20180902 ===> xray_re-tools-g20180902 depends on shared library: libnvtt.so - not found ===> Installing existing package /packages/All/nvidia-texture-tools-2.0.8.1_12.txz Installing nvidia-texture-tools-2.0.8.1_12... `-- Installing jpeg-turbo-2.0.2... `-- Extracting jpeg-turbo-2.0.2: .......... done `-- Installing openexr-2.3.0_1... | `-- Installing ilmbase-2.3.0_2... | `-- Extracting ilmbase-2.3.0_2: .......... done `-- Extracting openexr-2.3.0_1: .......... done `-- Installing png-1.6.37... `-- Extracting png-1.6.37: .......... done `-- Installing tiff-4.0.10_1... | `-- Installing jbigkit-2.1_1... | `-- Extracting jbigkit-2.1_1: .......... done `-- Extracting tiff-4.0.10_1: .......... done Extracting nvidia-texture-tools-2.0.8.1_12: .......... done ===> xray_re-tools-g20180902 depends on shared library: libnvtt.so - found (/usr/local/lib/libnvtt.so) ===> Returning to build of xray_re-tools-g20180902 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xray_re-tools-g20180902 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xray_re-tools-g20180902 --- xray_re/xr_ai_cross_table.o --- --- xray_re/xr_ai_graph.o --- --- xray_re/xr_ai_way.o --- --- xray_re/xr_blender.o --- --- xray_re/xr_bone.o --- --- xray_re/xr_ai_cross_table.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ai_cross_table.o -c xray_re/xr_ai_cross_table.cxx --- xray_re/xr_ai_graph.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ai_graph.o -c xray_re/xr_ai_graph.cxx --- xray_re/xr_blender.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_blender.o -c xray_re/xr_blender.cxx --- xray_re/xr_ai_way.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ai_way.o -c xray_re/xr_ai_way.cxx --- xray_re/xr_bone.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_bone.o -c xray_re/xr_bone.cxx --- xray_re/xr_blender.o --- xray_re/xr_blender.cxx:10:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('BmmD', 'old '): ^ xray_re/xr_blender.cxx:10:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:12:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('BLUR', ' '): ^ xray_re/xr_blender.cxx:12:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:14:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('D_ST', 'ILL '): ^ xray_re/xr_blender.cxx:14:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:16:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('D_TR', 'EE '): ^ xray_re/xr_blender.cxx:16:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:18:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('E_SE', 'L '): ^ xray_re/xr_blender.cxx:18:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:20:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('LM ', ' '): ^ xray_re/xr_blender.cxx:20:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:22:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('E_WI', 'RE '): ^ xray_re/xr_blender.cxx:22:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:24:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('LM_A', 'REF '): ^ xray_re/xr_blender.cxx:24:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:26:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('LaEm', 'B '): ^ xray_re/xr_blender.cxx:26:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:28:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('LmEb', 'B '): ^ xray_re/xr_blender.cxx:28:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:30:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('MODE', 'LEbB'): ^ xray_re/xr_blender.cxx:30:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:32:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('MODE', 'L '): ^ xray_re/xr_blender.cxx:32:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:34:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('PART', 'ICLE'): ^ xray_re/xr_blender.cxx:34:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:36:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('SH_W', 'ORLD'): ^ xray_re/xr_blender.cxx:36:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:38:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('S_GR', 'AY '): ^ xray_re/xr_blender.cxx:38:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:40:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('V_AR', 'EF '): ^ xray_re/xr_blender.cxx:40:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:42:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('V ', ' '): ^ xray_re/xr_blender.cxx:42:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx:44:29: warning: multi-character character constant [-Wmultichar] case MKCLSID('S_SE', 'T '): ^ xray_re/xr_blender.cxx:44:29: warning: multi-character character constant [-Wmultichar] xray_re/xr_blender.cxx: In member function 'virtual void xray_re::xr_blender::load(xray_re::xr_reader&)': xray_re/xr_blender.cxx:62:34: warning: unused parameter 'r' [-Wunused-parameter] void xr_blender::load(xr_reader& r) ~~~~~~~~~~~^ xray_re/xr_blender.cxx: In member function 'virtual void xray_re::xr_blender::save(xray_re::xr_writer&) const': xray_re/xr_blender.cxx:66:34: warning: unused parameter 'w' [-Wunused-parameter] void xr_blender::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_build_err.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_build_err.o -c xray_re/xr_build_err.cxx --- xray_re/xr_ai_way.o --- In file included from xray_re/xr_ai_way.cxx:4: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_build_lights.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_build_lights.o -c xray_re/xr_build_lights.cxx --- xray_re/xr_cform.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_cform.o -c xray_re/xr_cform.cxx --- xray_re/xr_cl_parser.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_cl_parser.o -c xray_re/xr_cl_parser.cxx --- xray_re/xr_clsid.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_clsid.o -c xray_re/xr_clsid.cxx --- xray_re/xr_d3d_light.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_d3d_light.o -c xray_re/xr_d3d_light.cxx --- xray_re/xr_details.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_details.o -c xray_re/xr_details.cxx --- xray_re/xr_dm.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_dm.o -c xray_re/xr_dm.cxx --- xray_re/xr_entity.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_entity.o -c xray_re/xr_entity.cxx --- xray_re/xr_entity_factory.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_entity_factory.o -c xray_re/xr_entity_factory.cxx --- xray_re/xr_entity_la.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_entity_la.o -c xray_re/xr_entity_la.cxx --- xray_re/xr_entity.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity.cxx:3: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_entity_factory.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_factory.h:8, from xray_re/xr_entity_factory.cxx:2: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_entity_factory.h:8, from xray_re/xr_entity_factory.cxx:2: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ --- xray_re/xr_entity_la.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_la.h:3, from xray_re/xr_entity_la.cxx:1: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_entity.o --- In file included from xray_re/xr_entity.cxx:3: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ --- xray_re/xr_entity_factory.o --- xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- xray_re/xr_entity.o --- xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_ph_skeleton::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:111:62: warning: unused parameter 'size' [-Wunused-parameter] void cse_ph_skeleton::state_read(xr_packet& packet, uint16_t size) ~~~~~~~~~^~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_ph_skeleton::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:125:46: warning: unused parameter 'packet' [-Wunused-parameter] void cse_ph_skeleton::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_ph_skeleton::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:126:47: warning: unused parameter 'packet' [-Wunused-parameter] void cse_ph_skeleton::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_ph_skeleton::data_load(xray_re::xr_packet&)': xray_re/xr_entity.cxx:128:44: warning: unused parameter 'packet' [-Wunused-parameter] void cse_ph_skeleton::data_load(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_ph_skeleton::data_save(xray_re::xr_packet&)': xray_re/xr_entity.cxx:129:44: warning: unused parameter 'packet' [-Wunused-parameter] void cse_ph_skeleton::data_save(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_graph_point::state_merge(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:333:52: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_graph_point::state_merge(xr_packet& packet, uint16_t version) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx:333:69: warning: unused parameter 'version' [-Wunused-parameter] void cse_alife_graph_point::state_merge(xr_packet& packet, uint16_t version) {} ~~~~~~~~~^~~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_graph_point::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:335:68: warning: unused parameter 'size' [-Wunused-parameter] void cse_alife_graph_point::state_read(xr_packet& packet, uint16_t size) ~~~~~~~~~^~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_graph_point::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:352:52: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_graph_point::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_graph_point::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:354:53: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_graph_point::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:395:63: warning: unused parameter 'size' [-Wunused-parameter] void cse_alife_object::state_read(xr_packet& packet, uint16_t size) ~~~~~~~~~^~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:440:47: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:442:48: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_dynamic_object::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:461:55: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_dynamic_object::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_dynamic_object::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:463:56: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_dynamic_object::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_dynamic_object_visual::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:480:62: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_dynamic_object_visual::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_dynamic_object_visual::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:482:63: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_dynamic_object_visual::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_climable::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:512:56: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_climable::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_climable::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:514:57: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_climable::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_smart_cover::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:560:46: warning: unused parameter 'packet' [-Wunused-parameter] void cse_smart_cover::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_smart_cover::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:562:47: warning: unused parameter 'packet' [-Wunused-parameter] void cse_smart_cover::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ --- xray_re/xr_entity_la.o --- In file included from xray_re/xr_entity_la.h:3, from xray_re/xr_entity_la.cxx:1: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- xray_re/xr_entity.o --- xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_projector::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:787:57: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_projector::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_projector::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:789:58: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_projector::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_breakable::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:831:57: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_breakable::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_object_breakable::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:833:58: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_object_breakable::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_mounted_weapon::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:847:55: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_mounted_weapon::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_mounted_weapon::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:849:56: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_mounted_weapon::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_trader_abstract::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:1312:72: warning: unused parameter 'size' [-Wunused-parameter] void cse_alife_trader_abstract::state_read(xr_packet& packet, uint16_t size) ~~~~~~~~~^~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_trader_abstract::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1373:56: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_trader_abstract::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_trader_abstract::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1375:57: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_trader_abstract::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_space_restrictor::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1629:57: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_space_restrictor::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_space_restrictor::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1631:58: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_space_restrictor::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_smart_zone::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1650:51: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_smart_zone::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_smart_zone::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1652:52: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_smart_zone::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_team_base_zone::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1670:55: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_team_base_zone::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_team_base_zone::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1672:56: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_team_base_zone::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_level_changer::update_read(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1725:54: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_level_changer::update_read(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_level_changer::update_write(xray_re::xr_packet&)': xray_re/xr_entity.cxx:1727:55: warning: unused parameter 'packet' [-Wunused-parameter] void cse_alife_level_changer::update_write(xr_packet& packet) {} ~~~~~~~~~~~^~~~~~ xray_re/xr_entity.cxx: In member function 'virtual void xray_re::cse_alife_inventory_item::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity.cxx:2007:71: warning: unused parameter 'size' [-Wunused-parameter] void cse_alife_inventory_item::state_read(xr_packet& packet, uint16_t size) ~~~~~~~~~^~~~ --- xray_re/xr_entity_script.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_entity_script.o -c xray_re/xr_entity_script.cxx --- xray_re/xr_entity_zenobian.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_entity_zenobian.o -c xray_re/xr_entity_zenobian.cxx --- xray_re/xr_envelope.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_envelope.o -c xray_re/xr_envelope.cxx --- xray_re/xr_entity_script.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_script.h:7, from xray_re/xr_entity_script.cxx:3: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_entity_script.h:7, from xray_re/xr_entity_script.cxx:3: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ xray_re/xr_entity_script.cxx: In member function 'virtual void xray_re::se_actor::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity_script.cxx:47:8: warning: unused variable 'start_position_filled' [-Wunused-variable] bool start_position_filled = packet.r_bool(); ^~~~~~~~~~~~~~~~~~~~~ xray_re/xr_entity_script.cxx: In member function 'virtual void xray_re::se_invbox::state_read(xray_re::xr_packet&, uint16_t)': xray_re/xr_entity_script.cxx:754:12: warning: unused variable 'cse_alive_inventory_box__unk1_u8' [-Wunused-variable] uint16_t cse_alive_inventory_box__unk1_u8 = packet.r_u8(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xray_re/xr_entity_script.cxx:755:12: warning: unused variable 'cse_alive_inventory_box__unk2_u8' [-Wunused-variable] uint16_t cse_alive_inventory_box__unk2_u8 = packet.r_u8(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- xray_re/xr_entity_zenobian.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_zenobian.h:7, from xray_re/xr_entity_zenobian.cxx:1: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_entity_zenobian.h:7, from xray_re/xr_entity_zenobian.cxx:1: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- xray_re/xr_envelope_eval.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_envelope_eval.o -c xray_re/xr_envelope_eval.cxx --- xray_re/xr_file_system.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_file_system.o -c xray_re/xr_file_system.cxx --- xray_re/xr_file_system_posix.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_file_system_posix.o -c xray_re/xr_file_system_posix.cxx --- xray_re/xr_entity_factory.o --- In member function 'xray_re::xr_clsid* xr_entity_factory::get_entity_clsid(const char*)': cc1plus: warning: function may return address of local variable [-Wreturn-local-addr] xray_re/xr_entity_factory.cxx:342:12: note: declared here xr_clsid clsid(m_system_ini->r_clsid(name, "class")); ^~~~~ --- xray_re/xr_file_system_posix.o --- In file included from xray_re/xr_file_system_posix.cxx:12: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ xray_re/xr_file_system_posix.cxx: In static member function 'static void xray_re::xr_file_system::split_path(const char*, std::__cxx11::string*, std::__cxx11::string*, std::__cxx11::string*)': xray_re/xr_file_system_posix.cxx:103:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] _dir = ""; ^~ xray_re/xr_file_system_posix.cxx: In member function 'xray_re::xr_reader* xray_re::xr_file_system::r_open(const char*) const': xray_re/xr_file_system_posix.cxx:190:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (len < getpagesize()) { ~~~~^~~~~~~~~~~~~~~ xray_re/xr_file_system_posix.cxx:193:28: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if (read(fd, data, len) == len) { ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/8.0/cassert:44, from xray_re/xr_types.h:93, from xray_re/xr_file_system.h:9, from xray_re/xr_file_system_posix.h:7, from xray_re/xr_file_system_posix.cxx:11: xray_re/xr_file_system_posix.cxx: In member function 'virtual void xray_re::xr_file_writer_posix::w_raw(const void*, size_t)': xray_re/xr_file_system_posix.cxx:276:36: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] xr_assert(write(m_fd, data, size) == size); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ xray_re/xr_file_system_posix.cxx:276:2: note: in expansion of macro 'xr_assert' xr_assert(write(m_fd, data, size) == size); ^~~~~~~~~ --- xray_re/xr_game_graph.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_game_graph.o -c xray_re/xr_game_graph.cxx --- xray_re/xr_game_spawn.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_game_spawn.o -c xray_re/xr_game_spawn.cxx --- xray_re/xr_gamemtls_lib.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_gamemtls_lib.o -c xray_re/xr_gamemtls_lib.cxx --- xray_re/xr_geom_buf.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_geom_buf.o -c xray_re/xr_geom_buf.cxx --- xray_re/xr_game_spawn.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_game_spawn.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_guid.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_guid.o -c xray_re/xr_guid.cxx --- xray_re/xr_game_spawn.o --- In file included from xray_re/xr_game_spawn.cxx:5: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- xray_re/xr_image.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_image.o -c xray_re/xr_image.cxx --- xray_re/xr_image_bmp.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_image_bmp.o -c xray_re/xr_image_bmp.cxx --- xray_re/xr_image_dds.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_image_dds.o -c xray_re/xr_image_dds.cxx xray_re/xr_image_dds.cxx:3: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(push) xray_re/xr_image_dds.cxx:4: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable: 4595) xray_re/xr_image_dds.cxx:9: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(pop) --- xray_re/xr_image_tga.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_image_tga.o -c xray_re/xr_image_tga.cxx --- xray_re/xr_influence.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_influence.o -c xray_re/xr_influence.cxx --- xray_re/xr_ini_file.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ini_file.o -c xray_re/xr_ini_file.cxx --- xray_re/xr_level.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level.o -c xray_re/xr_level.cxx --- xray_re/xr_level_ai.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_ai.o -c xray_re/xr_level_ai.cxx --- xray_re/xr_ini_file.o --- In file included from xray_re/xr_ini_file.cxx:6: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_image_dds.o --- xray_re/xr_image_dds.cxx: In member function 'virtual void dds_writer::beginImage(int, int, int, int, int, int)': xray_re/xr_image_dds.cxx:59:33: warning: unused parameter 'size' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~ xray_re/xr_image_dds.cxx:59:43: warning: unused parameter 'width' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~~ xray_re/xr_image_dds.cxx:59:54: warning: unused parameter 'height' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~~~ xray_re/xr_image_dds.cxx:59:66: warning: unused parameter 'depth' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~~ xray_re/xr_image_dds.cxx:59:77: warning: unused parameter 'face' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~ xray_re/xr_image_dds.cxx:59:87: warning: unused parameter 'miplevel' [-Wunused-parameter] void dds_writer::beginImage(int size, int width, int height, int depth, int face, int miplevel) ~~~~^~~~~~~~ --- xray_re/xr_level_cform.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_cform.o -c xray_re/xr_level_cform.cxx --- xray_re/xr_level.o --- In file included from xray_re/xr_level.cxx:13: xray_re/xr_level_details.h:34:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const size_t raw_texture_size() const; ^~~~~ xray_re/xr_level_details.h:62:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const size_t xr_level_details::raw_texture_size() const { return m_raw_texture_size; } ^~~~~ --- xray_re/xr_level_ai.o --- In file included from /usr/include/c++/8.0/cassert:44, from xray_re/xr_types.h:93, from xray_re/xr_ai_version.h:7, from xray_re/xr_level_ai.cxx:3: xray_re/xr_level_ai.cxx: In member function 'void xray_re::xr_level_ai::load(xray_re::xr_reader&)': xray_re/xr_level_ai.cxx:76:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] xr_assert(m_version >= AI_VERSION_4 && m_version <= AI_VERSION_10 || m_version == AI_VERSION_3); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xray_re/xr_level_ai.cxx:76:2: note: in expansion of macro 'xr_assert' xr_assert(m_version >= AI_VERSION_4 && m_version <= AI_VERSION_10 || m_version == AI_VERSION_3); ^~~~~~~~~ --- xray_re/xr_level.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_level.cxx:28: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_image_dds.o --- In file included from 3rd-party/nvtt/nvcore/Containers.h:20, from 3rd-party/nvtt/nvmath/Vector.h:7, from 3rd-party/nvtt/nvmath/Color.h:7, from xray_re/xr_image_dds.cxx:7: 3rd-party/nvtt/nvcore/Memory.h: At global scope: 3rd-party/nvtt/nvcore/Memory.h:36:13: warning: the program should also define 'void operator delete(void*, std::size_t)' [-Wsized-deallocation] inline void operator delete (void *p) throw() ^~~~~~~~ 3rd-party/nvtt/nvcore/Memory.h:46:13: warning: the program should also define 'void operator delete [](void*, std::size_t)' [-Wsized-deallocation] inline void operator delete [] (void * p) throw() ^~~~~~~~ --- xray_re/xr_level.o --- In file included from xray_re/xr_level.cxx:28: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ xray_re/xr_level.cxx: In function 'T* load(const char*, const char*, bool) [with T = xray_re::xr_image]': xray_re/xr_level.cxx:137:68: warning: unused parameter 'required' [-Wunused-parameter] template<> xr_image* load(const char* path, const char* name, bool required) ~~~~~^~~~~~~~ --- xray_re/xr_level_details.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_details.o -c xray_re/xr_level_details.cxx --- xray_re/xr_level_dm.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_dm.o -c xray_re/xr_level_dm.cxx --- xray_re/xr_level_env_mod.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_env_mod.o -c xray_re/xr_level_env_mod.cxx --- xray_re/xr_level_details.o --- In file included from xray_re/xr_level_details.cxx:2: xray_re/xr_level_details.h:34:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const size_t raw_texture_size() const; ^~~~~ xray_re/xr_level_details.h:62:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const size_t xr_level_details::raw_texture_size() const { return m_raw_texture_size; } ^~~~~ --- xray_re/xr_level_dm.o --- xray_re/xr_level_dm.cxx: In member function 'virtual xray_re::xr_surface* xray_re::xr_level_dm::create_surface(const xray_re::xr_raw_surface&) const': xray_re/xr_level_dm.cxx:5:63: warning: unused parameter 'raw_surface' [-Wunused-parameter] xr_surface* xr_level_dm::create_surface(const xr_raw_surface& raw_surface) const ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ --- xray_re/xr_level_fog_vol.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_fog_vol.o -c xray_re/xr_level_fog_vol.cxx --- xray_re/xr_level_game.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_game.o -c xray_re/xr_level_game.cxx --- xray_re/xr_level_gct.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_gct.o -c xray_re/xr_level_gct.cxx --- xray_re/xr_level_gct_v9.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_gct_v9.o -c xray_re/xr_level_gct_v9.cxx --- xray_re/xr_level_geom.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_geom.o -c xray_re/xr_level_geom.cxx --- xray_re/xr_level_glows.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_glows.o -c xray_re/xr_level_glows.cxx --- xray_re/xr_level_fog_vol.o --- xray_re/xr_level_fog_vol.cxx: In member function 'void xray_re::xr_level_fog_vol::save(xray_re::xr_writer&) const': xray_re/xr_level_fog_vol.cxx:31:40: warning: unused parameter 'w' [-Wunused-parameter] void xr_level_fog_vol::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_level_graph.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_graph.o -c xray_re/xr_level_graph.cxx --- xray_re/xr_level_hom.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_hom.o -c xray_re/xr_level_hom.cxx --- xray_re/xr_level_lights.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_lights.o -c xray_re/xr_level_lights.cxx xray_re/xr_level_lights.cxx: In member function 'void xray_re::xr_level_lights::save(xray_re::xr_writer&) const': xray_re/xr_level_lights.cxx:93:39: warning: unused parameter 'w' [-Wunused-parameter] void xr_level_lights::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_level_ltx.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_ltx.o -c xray_re/xr_level_ltx.cxx --- xray_re/xr_level_portals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_portals.o -c xray_re/xr_level_portals.cxx --- xray_re/xr_level_ps_static.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_ps_static.o -c xray_re/xr_level_ps_static.cxx --- xray_re/xr_level_sectors.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_sectors.o -c xray_re/xr_level_sectors.cxx --- xray_re/xr_level_portals.o --- xray_re/xr_level_portals.cxx: In member function 'void xray_re::xr_level_portals::save(xray_re::xr_writer&) const': xray_re/xr_level_portals.cxx:64:40: warning: unused parameter 'w' [-Wunused-parameter] void xr_level_portals::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_level_shaders.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_shaders.o -c xray_re/xr_level_shaders.cxx --- xray_re/xr_level_snd_env.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_snd_env.o -c xray_re/xr_level_snd_env.cxx --- xray_re/xr_level_ltx.o --- xray_re/xr_level_ltx.cxx: In member function 'void xray_re::xr_level_ltx::save(xray_re::xr_writer&) const': xray_re/xr_level_ltx.cxx:22:36: warning: unused parameter 'w' [-Wunused-parameter] void xr_level_ltx::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_level_snd_static.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_snd_static.o -c xray_re/xr_level_snd_static.cxx --- xray_re/xr_level_som.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_som.o -c xray_re/xr_level_som.cxx --- xray_re/xr_level_spawn.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_spawn.o -c xray_re/xr_level_spawn.cxx --- xray_re/xr_level_sectors.o --- xray_re/xr_level_sectors.cxx: In member function 'void xray_re::xr_level_sectors::save(xray_re::xr_writer&) const': xray_re/xr_level_sectors.cxx:63:40: warning: unused parameter 'w' [-Wunused-parameter] void xr_level_sectors::save(xr_writer& w) const ~~~~~~~~~~~^ --- xray_re/xr_level_visuals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_visuals.o -c xray_re/xr_level_visuals.cxx --- xray_re/xr_level_wallmarks.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_level_wallmarks.o -c xray_re/xr_level_wallmarks.cxx --- xray_re/xr_level_spawn.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_level_spawn.cxx:2: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_level_spawn.cxx:2: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- xray_re/xr_log.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_log.o -c xray_re/xr_log.cxx --- xray_re/xr_lzhuf.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_lzhuf.o -c xray_re/xr_lzhuf.cxx --- xray_re/xr_matrix.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_matrix.o -c xray_re/xr_matrix.cxx --- xray_re/xr_mesh.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_mesh.o -c xray_re/xr_mesh.cxx --- xray_re/xr_mesh_builder.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_mesh_builder.o -c xray_re/xr_mesh_builder.cxx --- xray_re/xr_mesh_vbuf.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_mesh_vbuf.o -c xray_re/xr_mesh_vbuf.cxx --- xray_re/xr_motion.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_motion.o -c xray_re/xr_motion.cxx --- xray_re/xr_name_gen.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_name_gen.o -c xray_re/xr_name_gen.cxx --- xray_re/xr_obj_motion.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_obj_motion.o -c xray_re/xr_obj_motion.cxx --- xray_re/xr_object.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_object.o -c xray_re/xr_object.cxx --- xray_re/xr_name_gen.o --- In file included from xray_re/xr_name_gen.cxx:3: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_ogf.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ogf.o -c xray_re/xr_ogf.cxx --- xray_re/xr_ogf_v3.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ogf_v3.o -c xray_re/xr_ogf_v3.cxx --- xray_re/xr_object.o --- In file included from xray_re/xr_object.cxx:11: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_ogf_v3.o --- In file included from xray_re/xr_ogf_v3.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_ogf_v4.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_ogf_v4.o -c xray_re/xr_ogf_v4.cxx --- xray_re/xr_ogf_v3.o --- xray_re/xr_ogf_v3.cxx: In member function 'void xray_re::xr_ogf_v3::load_dpatch(xray_re::xr_reader&)': xray_re/xr_ogf_v3.cxx:239:40: warning: unused parameter 'r' [-Wunused-parameter] void xr_ogf_v3::load_dpatch(xr_reader& r) ~~~~~~~~~~~^ xray_re/xr_ogf_v3.cxx: In member function 'uint16_t xray_re::xr_ogf_v3::motion_io::import_params_new(xray_re::xr_reader&, unsigned int)': xray_re/xr_ogf_v3.cxx:549:80: warning: unused parameter 'version' [-Wunused-parameter] inline uint16_t xr_ogf_v3::motion_io::import_params_new(xr_reader& r, unsigned version) ~~~~~~~~~^~~~~~~ --- xray_re/xr_object.o --- xray_re/xr_object.cxx: In member function 'virtual xray_re::xr_surface* xray_re::xr_object::create_surface(const xray_re::xr_raw_surface&) const': xray_re/xr_object.cxx:433:61: warning: unused parameter 'raw_surface' [-Wunused-parameter] xr_surface* xr_object::create_surface(const xr_raw_surface& raw_surface) const { return 0; } ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ --- xray_re/xr_packet.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_packet.o -c xray_re/xr_packet.cxx In file included from xray_re/xr_packet.h:9, from xray_re/xr_packet.cxx:2: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_packet.cxx:2: xray_re/xr_packet.h: In instantiation of 'void xray_re::xr_ini_packet::write_number(const T&) [with T = long unsigned int]': xray_re/xr_packet.cxx:21:70: required from here xray_re/xr_packet.h:190:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] xr_snprintf(m_temp_buffer, sizeof(m_temp_buffer), "%d", value); ^~~~ --- xray_re/xr_ogf_v4.o --- xray_re/xr_ogf_v4.cxx: In member function 'void xray_re::xr_ogf_v4::load_p_map(xray_re::xr_reader&)': xray_re/xr_ogf_v4.cxx:151:46: warning: unused parameter 'r' [-Wunused-parameter] inline void xr_ogf_v4::load_p_map(xr_reader& r) ~~~~~~~~~~~^ xray_re/xr_ogf_v4.cxx: In member function 'void xray_re::xr_ogf_v4::load_fastpath(xray_re::xr_reader&)': xray_re/xr_ogf_v4.cxx:266:42: warning: unused parameter 'r' [-Wunused-parameter] void xr_ogf_v4::load_fastpath(xr_reader& r) ~~~~~~~~~~~^ xray_re/xr_ogf_v4.cxx: In member function 'void xray_re::xr_ogf_v4::load_particle_effect(xray_re::xr_reader&)': xray_re/xr_ogf_v4.cxx:661:49: warning: unused parameter 'r' [-Wunused-parameter] void xr_ogf_v4::load_particle_effect(xr_reader& r) ~~~~~~~~~~~^ xray_re/xr_ogf_v4.cxx: In member function 'void xray_re::xr_ogf_v4::load_particle_group(xray_re::xr_reader&)': xray_re/xr_ogf_v4.cxx:666:48: warning: unused parameter 'r' [-Wunused-parameter] void xr_ogf_v4::load_particle_group(xr_reader& r) ~~~~~~~~~~~^ --- xray_re/xr_quaternion.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_quaternion.o -c xray_re/xr_quaternion.cxx --- xray_re/xr_reader.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_reader.o -c xray_re/xr_reader.cxx --- xray_re/xr_reader_scrambler.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_reader_scrambler.o -c xray_re/xr_reader_scrambler.cxx --- xray_re/xr_reader.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_reader.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_scene.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene.o -c xray_re/xr_scene.cxx --- xray_re/xr_scene_ai_map.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_ai_map.o -c xray_re/xr_scene_ai_map.cxx --- xray_re/xr_scene_details.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_details.o -c xray_re/xr_scene_details.cxx --- xray_re/xr_scene_glows.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_glows.o -c xray_re/xr_scene_glows.cxx --- xray_re/xr_scene_groups.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_groups.o -c xray_re/xr_scene_groups.cxx --- xray_re/xr_scene.o --- xray_re/xr_scene.cxx: In member function 'bool xray_re::xr_scene::load(const char*)': xray_re/xr_scene.cxx:313:9: warning: variable 'num_objects' set but not used [-Wunused-but-set-variable] size_t num_objects = 0; ^~~~~~~~~~~ --- xray_re/xr_scene_details.o --- xray_re/xr_scene_details.cxx: In member function 'virtual void xray_re::xr_scene_details::save_v12(xray_re::xr_ini_writer*) const': xray_re/xr_scene_details.cxx:165:48: warning: unused parameter 'w' [-Wunused-parameter] void xr_scene_details::save_v12(xr_ini_writer* w) const ~~~~~~~~~~~~~~~^ --- xray_re/xr_scene_ai_map.o --- xray_re/xr_scene_ai_map.cxx: In member function 'virtual void xray_re::xr_scene_ai_map::save_v12(xray_re::xr_ini_writer*) const': xray_re/xr_scene_ai_map.cxx:117:47: warning: unused parameter 'w' [-Wunused-parameter] void xr_scene_ai_map::save_v12(xr_ini_writer* w) const ~~~~~~~~~~~~~~~^ --- xray_re/xr_scene_lights.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_lights.o -c xray_re/xr_scene_lights.cxx --- xray_re/xr_scene_objects.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_objects.o -c xray_re/xr_scene_objects.cxx --- xray_re/xr_scene_part.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_part.o -c xray_re/xr_scene_part.cxx --- xray_re/xr_scene_lights.o --- xray_re/xr_scene_lights.cxx: In member function 'void write_ini_token::operator()(const xray_re::xr_token&, xray_re::xr_ini_writer*, uint32_t) const': xray_re/xr_scene_lights.cxx:226:88: warning: unused parameter 'dummy' [-Wunused-parameter] struct write_ini_token { void operator()(const xr_token& t, xr_ini_writer* w, uint32_t dummy) const { ~~~~~~~~~^~~~~ --- xray_re/xr_scene_particles.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_particles.o -c xray_re/xr_scene_particles.cxx --- xray_re/xr_scene_portals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_portals.o -c xray_re/xr_scene_portals.cxx --- xray_re/xr_scene_revision.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_revision.o -c xray_re/xr_scene_revision.cxx --- xray_re/xr_scene_sectors.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_sectors.o -c xray_re/xr_scene_sectors.cxx In file included from xray_re/xr_scene_sectors.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_scene_shapes.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_shapes.o -c xray_re/xr_scene_shapes.cxx In file included from xray_re/xr_scene_shapes.cxx:3: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_scene_sound_envs.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_sound_envs.o -c xray_re/xr_scene_sound_envs.cxx --- xray_re/xr_scene_sound_srcs.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_sound_srcs.o -c xray_re/xr_scene_sound_srcs.cxx --- xray_re/xr_scene_spawns.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_spawns.o -c xray_re/xr_scene_spawns.cxx --- xray_re/xr_scene_visuals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_visuals.o -c xray_re/xr_scene_visuals.cxx --- xray_re/xr_scene_spawns.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_factory.h:8, from xray_re/xr_scene_spawns.cxx:4: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_entity_factory.h:8, from xray_re/xr_scene_spawns.cxx:4: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ xray_re/xr_scene_spawns.cxx: In member function 'virtual void xray_re::xr_spawn_object::save_v12(xray_re::xr_ini_writer*) const': xray_re/xr_scene_spawns.cxx:175:10: warning: deleting object of polymorphic class type 'xray_re::xr_packet' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete packet; ^~~~~~ --- xray_re/xr_scene_wallmarks.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_wallmarks.o -c xray_re/xr_scene_wallmarks.cxx --- xray_re/xr_scene_ways.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scene_ways.o -c xray_re/xr_scene_ways.cxx --- xray_re/xr_scene_wallmarks.o --- xray_re/xr_scene_wallmarks.cxx: In member function 'void read_slot_0::operator()(xray_re::wm_slot_le*&, xray_re::xr_reader&) const': xray_re/xr_scene_wallmarks.cxx:42:51: warning: unused parameter 'slot' [-Wunused-parameter] struct read_slot_0 { void operator()(wm_slot_le*& slot, xr_reader& r) const { ~~~~~~~~~~~~~^~~~ xray_re/xr_scene_wallmarks.cxx:42:68: warning: unused parameter 'r' [-Wunused-parameter] struct read_slot_0 { void operator()(wm_slot_le*& slot, xr_reader& r) const { ~~~~~~~~~~~^ xray_re/xr_scene_wallmarks.cxx: In member function 'virtual void xray_re::xr_scene_wallmarks::save_v12(xray_re::xr_ini_writer*) const': xray_re/xr_scene_wallmarks.cxx:114:50: warning: unused parameter 'w' [-Wunused-parameter] void xr_scene_wallmarks::save_v12(xr_ini_writer* w) const ~~~~~~~~~~~~~~~^ --- xray_re/xr_scene_ways.o --- In file included from xray_re/xr_scene_ways.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_scrambler.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_scrambler.o -c xray_re/xr_scrambler.cxx --- xray_re/xr_shaders_lib.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_shaders_lib.o -c xray_re/xr_shaders_lib.cxx --- xray_re/xr_shaders_xrlc_lib.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_shaders_xrlc_lib.o -c xray_re/xr_shaders_xrlc_lib.cxx --- xray_re/xr_skeleton.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_skeleton.o -c xray_re/xr_skeleton.cxx --- xray_re/xr_skl_motion.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_skl_motion.o -c xray_re/xr_skl_motion.cxx --- xray_re/xr_sound_thumbnail.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_sound_thumbnail.o -c xray_re/xr_sound_thumbnail.cxx --- xray_re/xr_surface.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_surface.o -c xray_re/xr_surface.cxx --- xray_re/xr_skl_motion.o --- In file included from xray_re/xr_skl_motion.cxx:4: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- xray_re/xr_texture_thumbnail.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_texture_thumbnail.o -c xray_re/xr_texture_thumbnail.cxx --- xray_re/xr_vector3.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_vector3.o -c xray_re/xr_vector3.cxx --- xray_re/xr_writer.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o xray_re/xr_writer.o -c xray_re/xr_writer.cxx --- utils/converter/batch_helper.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/batch_helper.o -c utils/converter/batch_helper.cxx --- utils/converter/converter.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/converter.o -c utils/converter/converter.cxx --- utils/converter/db_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/db_tools.o -c utils/converter/db_tools.cxx --- utils/converter/dds_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/dds_tools.o -c utils/converter/dds_tools.cxx --- utils/converter/dm_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/dm_tools.o -c utils/converter/dm_tools.cxx --- xray_re/xr_writer.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_writer.cxx:6: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ xray_re/xr_writer.cxx: In member function 'virtual void xray_re::xr_fake_writer::w_raw(const void*, size_t)': xray_re/xr_writer.cxx:150:40: warning: unused parameter 'data' [-Wunused-parameter] void xr_fake_writer::w_raw(const void* data, size_t size) ~~~~~~~~~~~~^~~~ --- utils/converter/db_tools.o --- In file included from utils/converter/db_tools.cxx:13: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ utils/converter/db_tools.cxx: In member function 'void db_unpacker::extract_1114(const string&, const string&, xray_re::xr_reader*, const uint8_t*) const': utils/converter/db_tools.cxx:203:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (path.find(mask) == -1) ~~~~~~~~~~~~~~~~^~~~~ utils/converter/db_tools.cxx: In member function 'void db_unpacker::extract_2215(const string&, const string&, xray_re::xr_reader*, const uint8_t*) const': utils/converter/db_tools.cxx:243:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (path.find(mask) == -1) ~~~~~~~~~~~~~~~~^~~~~ utils/converter/db_tools.cxx: In member function 'void db_unpacker::extract_2945(const string&, const string&, xray_re::xr_reader*, const uint8_t*) const': utils/converter/db_tools.cxx:271:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (path.find(mask) == -1) ~~~~~~~~~~~~~~~~^~~~~ utils/converter/db_tools.cxx: In member function 'void db_unpacker::extract_2947(const string&, const string&, xray_re::xr_reader*, const uint8_t*) const': utils/converter/db_tools.cxx:303:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (path.find(mask) == -1) ~~~~~~~~~~~~~~~~^~~~~ --- utils/converter/fancy_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/fancy_tools.o -c utils/converter/fancy_tools.cxx --- utils/converter/level_aux_mesh.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_aux_mesh.o -c utils/converter/level_aux_mesh.cxx --- utils/converter/level_mesh.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_mesh.o -c utils/converter/level_mesh.cxx In file included from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) --- utils/converter/level_mesh_commit.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_mesh_commit.o -c utils/converter/level_mesh_commit.cxx --- utils/converter/level_mesh_ladders.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_mesh_ladders.o -c utils/converter/level_mesh_ladders.cxx --- utils/converter/level_mesh.o --- In file included from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/level_mesh_opcode.h:8, from utils/converter/level_mesh.cxx:7: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ In file included from utils/converter/level_mesh.cxx:7: utils/converter/level_mesh_opcode.h: At global scope: utils/converter/level_mesh_opcode.h:10:8: warning: 'b_submesh' declared with greater visibility than the type of its field 'b_submesh::opc_mesh' [-Wattributes] struct b_submesh: public b_model_instance { ^~~~~~~~~ utils/converter/level_mesh_opcode.h:10:8: warning: 'b_submesh' declared with greater visibility than the type of its field 'b_submesh::opc_model' [-Wattributes] utils/converter/level_mesh_opcode.h:10:8: warning: 'b_submesh' declared with greater visibility than the type of its field 'b_submesh::opc_hack' [-Wattributes] utils/converter/level_mesh.cxx: In member function 'bool level_mesh::check_fake_mu_contacts(const Opcode::AABBTreeCollider&, const b_submesh*, const b_submesh*, size_t&) const': utils/converter/level_mesh.cxx:541:43: warning: unused parameter 'mu' [-Wunused-parameter] const b_submesh* fake, const b_submesh* mu, size_t& max_contacts) const ~~~~~~~~~~~~~~~~~^~ utils/converter/level_mesh.cxx: In member function 'bool level_mesh::check_regular_regular_contacts(const Opcode::AABBTreeCollider&, const b_submesh*, const b_submesh*) const': utils/converter/level_mesh.cxx:730:14: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] if (index > sm->max_face)// by // FIXME: hack to handle 1-face meshes ~~~~~~^~~~~~~~~~~~~~ utils/converter/level_mesh.cxx:737:14: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] if (index > sm1->max_face)// by // FIXME: hack to handle 1-face meshes ~~~~~~^~~~~~~~~~~~~~~ --- utils/converter/level_mesh_materials.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_mesh_materials.o -c utils/converter/level_mesh_materials.cxx --- utils/converter/level_mesh_terrain.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_mesh_terrain.o -c utils/converter/level_mesh_terrain.cxx --- utils/converter/level_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools.o -c utils/converter/level_tools.cxx In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from xray_re/xr_entity_factory.h:8, from utils/converter/level_tools.cxx:15: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from xray_re/xr_entity_factory.h:8, from utils/converter/level_tools.cxx:15: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- utils/converter/level_tools_ai_map.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_ai_map.o -c utils/converter/level_tools_ai_map.cxx --- utils/converter/level_tools_debug_cform.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_debug_cform.o -c utils/converter/level_tools_debug_cform.cxx --- utils/converter/level_tools_details.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_details.o -c utils/converter/level_tools_details.cxx In file included from utils/converter/level_tools_details.cxx:2: xray_re/xr_level_details.h:34:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const size_t raw_texture_size() const; ^~~~~ xray_re/xr_level_details.h:62:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const size_t xr_level_details::raw_texture_size() const { return m_raw_texture_size; } ^~~~~ --- utils/converter/level_tools_glows.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_glows.o -c utils/converter/level_tools_glows.cxx --- utils/converter/level_mesh_commit.o --- In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h: In member function 'xray_re::xr_mesh* level_mesh::commit(xray_re::xr_object&, const b_model_instance*) const': xray_re/xr_vector3.h:378:12: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_43' may be used uninitialized in this function [-Wmaybe-uninitialized] z = m._43 + m._13*x + m._23*y + m._33*z; ~~~~~~^~~~~~~~~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_43' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:377:15: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_42' may be used uninitialized in this function [-Wmaybe-uninitialized] T _y = m._42 + m._12*x + m._22*y + m._32*z; ~~~~~~^~~~~~~~~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_42' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:376:15: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_41' may be used uninitialized in this function [-Wmaybe-uninitialized] T _x = m._41 + m._11*x + m._21*y + m._31*z; ~~~~~~^~~~~~~~~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_41' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:378:39: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_33' may be used uninitialized in this function [-Wmaybe-uninitialized] z = m._43 + m._13*x + m._23*y + m._33*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_33' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:377:42: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_32' may be used uninitialized in this function [-Wmaybe-uninitialized] T _y = m._42 + m._12*x + m._22*y + m._32*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_32' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:376:42: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_31' may be used uninitialized in this function [-Wmaybe-uninitialized] T _x = m._41 + m._11*x + m._21*y + m._31*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_31' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:378:29: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_23' may be used uninitialized in this function [-Wmaybe-uninitialized] z = m._43 + m._13*x + m._23*y + m._33*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_23' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:377:32: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_22' may be used uninitialized in this function [-Wmaybe-uninitialized] T _y = m._42 + m._12*x + m._22*y + m._32*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_22' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:376:32: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_21' may be used uninitialized in this function [-Wmaybe-uninitialized] T _x = m._41 + m._11*x + m._21*y + m._31*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_21' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:378:19: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_13' may be used uninitialized in this function [-Wmaybe-uninitialized] z = m._43 + m._13*x + m._23*y + m._33*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_13' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:377:22: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_12' may be used uninitialized in this function [-Wmaybe-uninitialized] T _y = m._42 + m._12*x + m._22*y + m._32*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_12' was declared here dmatrix xform; ^~~~~ In file included from xray_re/xr_matrix.h:7, from xray_re/xr_bone.h:9, from xray_re/xr_object.h:17, from utils/converter/level_mesh_commit.cxx:3: xray_re/xr_vector3.h:376:22: warning: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_11' may be used uninitialized in this function [-Wmaybe-uninitialized] T _x = m._41 + m._11*x + m._21*y + m._31*z; ~~~~~^~ utils/converter/level_mesh_commit.cxx:205:10: note: 'xform.xray_re::_matrix::.xray_re::_matrix::::.xray_re::_matrix::::::_11' was declared here dmatrix xform; ^~~~~ --- utils/converter/level_tools_hom.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_hom.o -c utils/converter/level_tools_hom.cxx --- utils/converter/level_tools_lights.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_lights.o -c utils/converter/level_tools_lights.cxx --- utils/converter/level_tools_particles.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_particles.o -c utils/converter/level_tools_particles.cxx --- utils/converter/level_tools_portals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_portals.o -c utils/converter/level_tools_portals.cxx --- utils/converter/level_tools_sectors.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_sectors.o -c utils/converter/level_tools_sectors.cxx --- utils/converter/level_tools_som.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_som.o -c utils/converter/level_tools_som.cxx --- utils/converter/level_tools_sound_envs.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_sound_envs.o -c utils/converter/level_tools_sound_envs.cxx --- utils/converter/level_tools_sound_srcs.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_sound_srcs.o -c utils/converter/level_tools_sound_srcs.cxx --- utils/converter/level_tools_spawns.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_spawns.o -c utils/converter/level_tools_spawns.cxx --- utils/converter/level_tools_visuals.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_visuals.o -c utils/converter/level_tools_visuals.cxx --- utils/converter/level_tools_spawns.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from utils/converter/level_tools_spawns.cxx:5: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ --- utils/converter/level_tools_wallmarks.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_wallmarks.o -c utils/converter/level_tools_wallmarks.cxx --- utils/converter/level_tools_spawns.o --- In file included from utils/converter/level_tools_spawns.cxx:5: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ --- utils/converter/level_tools_visuals.o --- In file included from utils/converter/level_tools_visuals.cxx:5: xray_re/xr_level_details.h:34:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const size_t raw_texture_size() const; ^~~~~ xray_re/xr_level_details.h:62:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const size_t xr_level_details::raw_texture_size() const { return m_raw_texture_size; } ^~~~~ --- utils/converter/level_tools_ways.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/level_tools_ways.o -c utils/converter/level_tools_ways.cxx --- utils/converter/object_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/object_tools.o -c utils/converter/object_tools.cxx --- utils/converter/level_tools_visuals.o --- In file included from xray_re/xr_packet.h:9, from xray_re/xr_entity.h:13, from utils/converter/level_tools_visuals.cxx:17: xray_re/xr_string_utils.h: In function 'void xray_re::xr_strlwr(char*, size_t)': xray_re/xr_string_utils.h:19:46: warning: unused parameter 'n' [-Wunused-parameter] static inline void xr_strlwr(char* s, size_t n) ~~~~~~~^ In file included from utils/converter/level_tools_visuals.cxx:17: xray_re/xr_entity.h: At global scope: xray_re/xr_entity.h:272:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const uint8_t game_id() const; ^~~~~ xray_re/xr_entity.h:360:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] inline const uint8_t cse_abstract::game_id() const { return m_s_game_id; } ^~~~~ utils/converter/level_tools_visuals.cxx: In member function 'void level_tools::paint_automatic(xray_re::xr_surface*, uint16_t) const': utils/converter/level_tools_visuals.cxx:913:30: warning: operation on 'preset' may be undefined [-Wsequence-point] if ((p = scan_value(preset = p)) == preset) ~~~~~~~^~~ utils/converter/level_tools_visuals.cxx:919:30: warning: operation on 'preset' may be undefined [-Wsequence-point] if ((p = scan_value(preset = p)) == preset) ~~~~~~~^~~ utils/converter/level_tools_visuals.cxx:901:65: warning: unused parameter 'flags' [-Wunused-parameter] void level_tools::paint_automatic(xr_surface* surface, uint16_t flags) const ~~~~~~~~~^~~~~ --- utils/converter/ogf_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/ogf_tools.o -c utils/converter/ogf_tools.cxx --- utils/converter/ogg_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/ogg_tools.o -c utils/converter/ogg_tools.cxx utils/converter/ogg_tools.cxx:27: warning: ignoring #pragma region ogg [-Wunknown-pragmas] #pragma region ogg utils utils/converter/ogg_tools.cxx:117: warning: ignoring #pragma endregion [-Wunknown-pragmas] #pragma endregion utils/converter/ogg_tools.cxx: In member function 'void ogg_tools::process_file(const string&)': utils/converter/ogg_tools.cxx:227:36: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(fwrite(p_outbuf, 1, ret, out) != ret) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ utils/converter/ogg_tools.cxx: In member function 'virtual void ogg_tools::process(const cl_parser&)': utils/converter/ogg_tools.cxx:318:42: warning: unused parameter 'cl' [-Wunused-parameter] void ogg_tools::process(const cl_parser& cl) ~~~~~~~~~~~~~~~~~^~ In file included from utils/converter/ogg_tools.cxx:15: /usr/local/include/vorbis/vorbisfile.h: At global scope: /usr/local/include/vorbis/vorbisfile.h:95:21: warning: 'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:88:21: warning: 'OV_CALLBACKS_STREAMONLY' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_STREAMONLY = { ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/vorbis/vorbisfile.h:81:21: warning: 'OV_CALLBACKS_NOCLOSE' defined but not used [-Wunused-variable] static ov_callbacks OV_CALLBACKS_NOCLOSE = { ^~~~~~~~~~~~~~~~~~~~ --- utils/converter/opcode/Ice/IceAABB.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/Ice/IceAABB.o -c utils/converter/opcode/Ice/IceAABB.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceAABB.cpp:21: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/Ice/IceContainer.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/Ice/IceContainer.o -c utils/converter/opcode/Ice/IceContainer.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/Ice/IceHPoint.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/Ice/IceHPoint.o -c utils/converter/opcode/Ice/IceHPoint.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/Ice/IceContainer.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceContainer.cpp:25: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/Ice/IceHPoint.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceHPoint.cpp:29: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/Ice/IceMatrix4x4.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/Ice/IceMatrix4x4.o -c utils/converter/opcode/Ice/IceMatrix4x4.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/Ice/IcePoint.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) --- utils/converter/opcode/Ice/IceRandom.o --- --- utils/converter/opcode/Ice/IcePoint.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ --- utils/converter/opcode/Ice/IceRandom.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/Ice/IceRandom.o -c utils/converter/opcode/Ice/IceRandom.cpp --- utils/converter/opcode/Ice/IcePoint.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/Ice/IceMatrix4x4.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceMatrix4x4.cpp:39: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/Ice/IceRandom.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceRandom.cpp:12: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceRandom.cpp:12: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceRandom.cpp:12: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/Ice/IcePoint.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IcePoint.cpp:49: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/Ice/IceRandom.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceRandom.cpp:12: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/Ice/IceRandom.cpp:12: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_AABBTree.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_AABBTree.o -c utils/converter/opcode/OPC_AABBTree.cpp --- utils/converter/opcode/OPC_BaseModel.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_BaseModel.o -c utils/converter/opcode/OPC_BaseModel.cpp --- utils/converter/opcode/OPC_AABBTree.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) --- utils/converter/opcode/OPC_BaseModel.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) --- utils/converter/opcode/OPC_AABBTree.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ --- utils/converter/opcode/OPC_BaseModel.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ --- utils/converter/opcode/OPC_AABBTree.o --- In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_Collider.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") --- utils/converter/opcode/OPC_BaseModel.o --- In file included from utils/converter/opcode/OPC_IceHook.h:58, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/Ice/IcePoint.h: In member function 'IceMaths::Point& IceMaths::Point::Clamp(float, float)': utils/converter/opcode/Ice/IcePoint.h:210:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_Collider.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_AABBTree.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_BaseModel.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_BaseModel.cpp:31: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_AABBTree.o --- utils/converter/opcode/OPC_AABBTree.cpp: In destructor 'Opcode::AABBTreeNode::~AABBTreeNode()': utils/converter/opcode/OPC_AABBTree.cpp:78:22: warning: unused variable 'Neg' [-Wunused-variable] const AABBTreeNode* Neg = GetNeg(); ^~~ In file included from utils/converter/opcode/Opcode.h:71, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_AABBTree.cpp:47: utils/converter/opcode/OPC_AABBTree.h: In constructor 'Opcode::AABBTree::AABBTree()': utils/converter/opcode/OPC_AABBTree.h:134:15: warning: 'Opcode::AABBTree::mTotalNbNodes' will be initialized after [-Wreorder] udword mTotalNbNodes; //!< Number of nodes in the tree. ^~~~~~~~~~~~~ utils/converter/opcode/OPC_AABBTree.h:132:20: warning: 'Opcode::AABBTreeNode* Opcode::AABBTree::mPool' [-Wreorder] AABBTreeNode* mPool; //!< Linear pool of nodes for complete trees. Null otherwise. [Opcode 1.3] ^~~~~ utils/converter/opcode/OPC_AABBTree.cpp:373:1: warning: when initialized here [-Wreorder] AABBTree::AABBTree() : mIndices(null), mTotalNbNodes(0), mPool(null) ^~~~~~~~ --- utils/converter/opcode/OPC_Collider.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Collider.cpp:31: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_MeshInterface.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_MeshInterface.o -c utils/converter/opcode/OPC_MeshInterface.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ --- utils/converter/opcode/OPC_Model.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_Model.o -c utils/converter/opcode/OPC_Model.cpp --- utils/converter/opcode/OPC_MeshInterface.o --- In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_Model.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_MeshInterface.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ --- utils/converter/opcode/OPC_OptimizedTree.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_OptimizedTree.cpp:69: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") --- utils/converter/opcode/OPC_MeshInterface.o --- In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_OptimizedTree.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_OptimizedTree.cpp:69: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_OptimizedTree.cpp:69: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ --- utils/converter/opcode/OPC_MeshInterface.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_MeshInterface.cpp:119: utils/converter/opcode/OPC_MeshInterface.h: In constructor 'Opcode::MeshInterface::MeshInterface()': utils/converter/opcode/OPC_MeshInterface.h:177:17: warning: 'Opcode::MeshInterface::mVertexStride' will be initialized after [-Wreorder] udword mVertexStride; //!< Possible vertex stride in bytes [Opcode 1.3] ^~~~~~~~~~~~~ utils/converter/opcode/OPC_MeshInterface.h:165:17: warning: 'udword Opcode::MeshInterface::mNbTris' [-Wreorder] udword mNbTris; //!< Number of triangles in the input model ^~~~~~~ utils/converter/opcode/OPC_MeshInterface.cpp:128:1: warning: when initialized here [-Wreorder] MeshInterface::MeshInterface() : ^~~~~~~~~~~~~ --- utils/converter/opcode/OPC_OptimizedTree.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_OptimizedTree.cpp:69: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_OptimizedTree.cpp:69: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_Model.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_Model.cpp:93: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_TreeBuilders.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_TreeBuilders.o -c utils/converter/opcode/OPC_TreeBuilders.cpp In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) --- utils/converter/opcode/OPC_TreeCollider.o --- --- utils/converter/opcode/OPC_TreeBuilders.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ --- utils/converter/opcode/OPC_TreeCollider.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/opcode/OPC_TreeCollider.o -c utils/converter/opcode/OPC_TreeCollider.cpp --- utils/converter/opcode/OPC_TreeBuilders.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ --- utils/converter/opcode/OPC_TreeCollider.o --- In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/Opcode.h:35: warning: ignoring #pragma comment [-Wunknown-pragmas] #pragma comment(lib, "Opcode.lib") --- utils/converter/opcode/OPC_TreeBuilders.o --- In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ --- utils/converter/opcode/OPC_TreeCollider.o --- In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/Ice/IcePreprocessor.h:105: warning: ignoring #pragma inline_depth [-Wunknown-pragmas] #pragma inline_depth( 255 ) In file included from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/Opcode.h:28:32: note: #pragma message: Using OPCODE #pragma message("Using OPCODE") ^ In file included from utils/converter/opcode/OPC_IceHook.h:35, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/Ice/IcePreprocessor.h:20:53: note: #pragma message: Compiling on unknown platform... #pragma message("Compiling on unknown platform...") ^ utils/converter/opcode/Ice/IcePreprocessor.h:28:55: note: #pragma message: Compiling with unknown compiler... #pragma message("Compiling with unknown compiler...") ^ In file included from utils/converter/opcode/OPC_IceHook.h:46, from utils/converter/opcode/Opcode.h:60, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/Ice/IceUtils.h: In function 'void IceCore::SetLeastNBits(udword&, udword)': utils/converter/opcode/Ice/IceUtils.h:93:61: warning: left shift of negative value [-Wshift-negative-value] inline_ void SetLeastNBits(udword& x, udword n) { x|=~(~0<max) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:210:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(xmax) x=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:211:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(ymax) y=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(zmax) z=max; ^~ utils/converter/opcode/Ice/IcePoint.h:212:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(zmax) z=max; ^~ In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_TreeBuilders.o --- In file included from utils/converter/opcode/Opcode.h:67, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/OPC_MeshInterface.h: At global scope: utils/converter/opcode/OPC_MeshInterface.h:23:9: warning: 'Opcode::VertexPointers' declared with greater visibility than the type of its field 'Opcode::VertexPointers::Vertex' [-Wattributes] struct VertexPointers ^~~~~~~~~~~~~~ In file included from utils/converter/opcode/Opcode.h:69, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeBuilders.cpp:53: utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual float Opcode::AABBTreeBuilder::GetSplittingValue(const udword*, udword, const IceMaths::AABB&, udword) const': utils/converter/opcode/OPC_TreeBuilders.h:90:56: warning: unused parameter 'primitives' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:90:75: warning: unused parameter 'nb_prims' [-Wunused-parameter] virtual float GetSplittingValue(const udword* primitives, udword nb_prims, const AABB& global_box, udword axis) const ~~~~~~~^~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h: In member function 'virtual BOOL Opcode::AABBTreeBuilder::ValidateSubdivision(const udword*, udword, const IceMaths::AABB&)': utils/converter/opcode/OPC_TreeBuilders.h:105:57: warning: unused parameter 'primitives' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~~~^~~~~~~~~~ utils/converter/opcode/OPC_TreeBuilders.h:105:98: warning: unused parameter 'global_box' [-Wunused-parameter] virtual BOOL ValidateSubdivision(const udword* primitives, udword nb_prims, const AABB& global_box) ~~~~~~~~~~~~^~~~~~~~~~ --- utils/converter/opcode/OPC_TreeCollider.o --- In file included from utils/converter/opcode/Opcode.h:80, from utils/converter/opcode/Stdafx.h:19, from utils/converter/opcode/OPC_TreeCollider.cpp:32: utils/converter/opcode/OPC_TreeCollider.h: In constructor 'Opcode::AABBTreeCollider::AABBTreeCollider()': utils/converter/opcode/OPC_TreeCollider.h:206:15: warning: 'Opcode::AABBTreeCollider::mFullPrimBoxTest' will be initialized after [-Wreorder] bool mFullPrimBoxTest; //!< Perform full Primitive-BV tests (true) or SAT-lite tests (false) ^~~~~~~~~~~~~~~~ utils/converter/opcode/OPC_TreeCollider.h:184:27: warning: 'const Opcode::MeshInterface* Opcode::AABBTreeCollider::mIMesh0' [-Wreorder] const MeshInterface* mIMesh0; //!< User-defined mesh interface for object0 ^~~~~~~ utils/converter/opcode/OPC_TreeCollider.cpp:45:1: warning: when initialized here [-Wreorder] AABBTreeCollider::AABBTreeCollider() : ^~~~~~~~~~~~~~~~ --- utils/converter/opcode/OPC_OptimizedTree.o --- utils/converter/opcode/OPC_OptimizedTree.cpp: In member function 'virtual bool Opcode::AABBCollisionTree::Refit(const Opcode::MeshInterface*)': utils/converter/opcode/OPC_OptimizedTree.cpp:263:52: warning: unused parameter 'mesh_interface' [-Wunused-parameter] bool AABBCollisionTree::Refit(const MeshInterface* mesh_interface) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ utils/converter/opcode/OPC_OptimizedTree.cpp: In member function 'virtual bool Opcode::AABBQuantizedTree::Refit(const Opcode::MeshInterface*)': utils/converter/opcode/OPC_OptimizedTree.cpp:636:52: warning: unused parameter 'mesh_interface' [-Wunused-parameter] bool AABBQuantizedTree::Refit(const MeshInterface* mesh_interface) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ utils/converter/opcode/OPC_OptimizedTree.cpp: In member function 'virtual bool Opcode::AABBQuantizedNoLeafTree::Refit(const Opcode::MeshInterface*)': utils/converter/opcode/OPC_OptimizedTree.cpp:752:58: warning: unused parameter 'mesh_interface' [-Wunused-parameter] bool AABBQuantizedNoLeafTree::Refit(const MeshInterface* mesh_interface) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ --- utils/converter/xrdemo_tools.o --- c++ -pipe -O2 -fno-strict-aliasing -Wall -Wextra -Ixray_re -Iutils/converter/opcode -I3rd-party/nvtt -I/usr/local/include -o utils/converter/xrdemo_tools.o -c utils/converter/xrdemo_tools.cxx --- converter --- c++ -L/usr/local/lib -llzo2 -lnvcore -lnvimage -lnvtt -lvorbisfile -lz -o converter xray_re/xr_ai_cross_table.o xray_re/xr_ai_graph.o xray_re/xr_ai_way.o xray_re/xr_blender.o xray_re/xr_bone.o xray_re/xr_build_err.o xray_re/xr_build_lights.o xray_re/xr_cform.o xray_re/xr_cl_parser.o xray_re/xr_clsid.o xray_re/xr_d3d_light.o xray_re/xr_details.o xray_re/xr_dm.o xray_re/xr_entity.o xray_re/xr_entity_factory.o xray_re/xr_entity_la.o xray_re/xr_entity_script.o xray_re/xr_entity_zenobian.o xray_re/xr_envelope.o xray_re/xr_envelope_eval.o xray_re/xr_file_system.o xray_re/xr_file_system_posix.o xray_re/xr_game_graph.o xray_re/xr_game_spawn.o xray_re/xr_gamemtls_lib.o xray_re/xr_geom_buf.o xray_re/xr_guid.o xray_re/xr_image.o xray_re/xr_image_bmp.o xray_re/xr_image_dds.o xray_re/xr_image_tga.o xray_re/xr_influence.o xray_re/xr_ini_file.o xray_re/xr_level.o xray_re/xr_level_ai.o xray_re/xr_level_cform.o xray_re/xr_level_details.o xray_re/xr_level_dm.o xray_re/xr_level_env_mod.o xray_re/xr_level_fog_vol.o xray_re/xr_level_game.o xray_re/xr_level_gct.o xray_re/xr_level_gct_v9.o xray_re/xr_level_geom.o xray_re/xr_level_glows.o xray_re/xr_level_graph.o xray_re/xr_level_hom.o xray_re/xr_level_lights.o xray_re/xr_level_ltx.o xray_re/xr_level_portals.o xray_re/xr_level_ps_static.o xray_re/xr_level_sectors.o xray_re/xr_level_shaders.o xray_re/xr_level_snd_env.o xray_re/xr_level_snd_static.o xray_re/xr_level_som.o xray_re/xr_level_spawn.o xray_re/xr_level_visuals.o xray_re/xr_level_wallmarks.o xray_re/xr_log.o xray_re/xr_lzhuf.o xray_re/xr_matrix.o xray_re/xr_mesh.o xray_re/xr_mesh_builder.o xray_re/xr_mesh_vbuf.o xray_re/xr_motion.o xray_re/xr_name_gen.o xray_re/xr_obj_motion.o xray_re/xr_object.o xray_re/xr_ogf.o xray_re/xr_ogf_v3.o xray_re/xr_ogf_v4.o xray_re/xr_packet.o xray_re/xr_quaternion.o xray_re/xr_reader.o xray_re/xr_reader_scrambler.o xray_re/xr_scene.o xray_re/xr_scene_ai_map.o xray_re/xr_scene_details.o xray_re/xr_scene_glows.o xray_re/xr_scene_groups.o xray_re/xr_scene_lights.o xray_re/xr_scene_objects.o xray_re/xr_scene_part.o xray_re/xr_scene_particles.o xray_re/xr_scene_portals.o xray_re/xr_scene_revision.o xray_re/xr_scene_sectors.o xray_re/xr_scene_shapes.o xray_re/xr_scene_sound_envs.o xray_re/xr_scene_sound_srcs.o xray_re/xr_scene_spawns.o xray_re/xr_scene_visuals.o xray_re/xr_scene_wallmarks.o xray_re/xr_scene_ways.o xray_re/xr_scrambler.o xray_re/xr_shaders_lib.o xray_re/xr_shaders_xrlc_lib.o xray_re/xr_skeleton.o xray_re/xr_skl_motion.o xray_re/xr_sound_thumbnail.o xray_re/xr_surface.o xray_re/xr_texture_thumbnail.o xray_re/xr_vector3.o xray_re/xr_writer.o utils/converter/batch_helper.o utils/converter/converter.o utils/converter/db_tools.o utils/converter/dds_tools.o utils/converter/dm_tools.o utils/converter/fancy_tools.o utils/converter/level_aux_mesh.o utils/converter/level_mesh.o utils/converter/level_mesh_commit.o utils/converter/level_mesh_ladders.o utils/converter/level_mesh_materials.o utils/converter/level_mesh_terrain.o utils/converter/level_tools.o utils/converter/level_tools_ai_map.o utils/converter/level_tools_debug_cform.o utils/converter/level_tools_details.o utils/converter/level_tools_glows.o utils/converter/level_tools_hom.o utils/converter/level_tools_lights.o utils/converter/level_tools_particles.o utils/converter/level_tools_portals.o utils/converter/level_tools_sectors.o utils/converter/level_tools_som.o utils/converter/level_tools_sound_envs.o utils/converter/level_tools_sound_srcs.o utils/converter/level_tools_spawns.o utils/converter/level_tools_visuals.o utils/converter/level_tools_wallmarks.o utils/converter/level_tools_ways.o utils/converter/object_tools.o utils/converter/ogf_tools.o utils/converter/ogg_tools.o utils/converter/opcode/Ice/IceAABB.o utils/converter/opcode/Ice/IceContainer.o utils/converter/opcode/Ice/IceHPoint.o utils/converter/opcode/Ice/IceMatrix4x4.o utils/converter/opcode/Ice/IcePoint.o utils/converter/opcode/Ice/IceRandom.o utils/converter/opcode/OPC_AABBTree.o utils/converter/opcode/OPC_BaseModel.o utils/converter/opcode/OPC_Collider.o utils/converter/opcode/OPC_MeshInterface.o utils/converter/opcode/OPC_Model.o utils/converter/opcode/OPC_OptimizedTree.o utils/converter/opcode/OPC_TreeBuilders.o utils/converter/opcode/OPC_TreeCollider.o utils/converter/xrdemo_tools.o -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xray_re-tools-g20180902 ===> Generating temporary packing list install -s -m 555 /construction/games/xray_re-tools/xray_re-tools-52721d2/sources/converter /construction/games/xray_re-tools/stage/usr/local/bin/xr_converter ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xray_re-tools-g20180902 file sizes/checksums [1]: . done packing files [1]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 8 JUL 2019 at 23:47:24 UTC Duration: 00:00:52