=> Building archivers/laszip Started : Saturday, 6 JUL 2019 at 03:46:53 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/archivers/laszip XDG_CONFIG_HOME=/construction/archivers/laszip HOME=/construction/archivers/laszip TMPDIR="/tmp" PATH=/construction/archivers/laszip/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/archivers/laszip XDG_CONFIG_HOME=/construction/archivers/laszip HOME=/construction/archivers/laszip TMPDIR="/tmp" PATH=/construction/archivers/laszip/.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/archivers/laszip/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- CMAKE_BUILD_TYPE="release" OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/laszip" EXAMPLESDIR="share/examples/laszip" DATADIR="share/laszip" WWWDIR="www/laszip" ETCDIR="etc/laszip" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/laszip DOCSDIR=/usr/local/share/doc/laszip EXAMPLESDIR=/usr/local/share/examples/laszip WWWDIR=/usr/local/www/laszip ETCDIR=/usr/local/etc/laszip -------------------------------------------------- -- /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 -------------------------------------------------------------------------------- ===> License LGPL21 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> laszip-3.2.9 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 ===> laszip-3.2.9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of laszip-3.2.9 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by laszip-3.2.9 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by laszip-3.2.9 for building => SHA256 Checksum OK for laszip-LASzip-3.2.9_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by laszip-3.2.9 for building ===> Extracting for laszip-3.2.9 => SHA256 Checksum OK for laszip-LASzip-3.2.9_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for laszip-3.2.9 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> laszip-3.2.9 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-3.14.5.txz Installing cmake-3.14.5... `-- Installing curl-7.65.1... | `-- Installing ca_root_nss-3.44... | `-- Extracting ca_root_nss-3.44: ........ done | `-- Installing libnghttp2-1.39.1... | `-- Extracting libnghttp2-1.39.1: .......... done | `-- Installing libressl-2.9.2... | `-- Extracting libressl-2.9.2: .......... done `-- Extracting curl-7.65.1: .......... done `-- Installing expat-2.2.6_1... `-- Extracting expat-2.2.6_1: .......... done `-- Installing jsoncpp-1.8.1_6... `-- Extracting jsoncpp-1.8.1_6: .......... done `-- Installing libarchive-3.3.3,1... | `-- Installing liblz4-1.9.1,1... | `-- Extracting liblz4-1.9.1,1: .......... done | `-- Installing lzo2-2.10_1... | `-- Extracting lzo2-2.10_1: .......... done `-- Extracting libarchive-3.3.3,1: .......... done `-- Installing libuv-1.29.1... `-- Extracting libuv-1.29.1: .......... done `-- Installing ncurses-6.1.20190525... `-- Extracting ncurses-6.1.20190525: .......... done `-- Installing rhash-1.3.5... `-- Extracting rhash-1.3.5: .......... done Extracting cmake-3.14.5: .......... done Message from ca_root_nss-3.44: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** ===> laszip-3.2.9 depends on file: /usr/local/bin/cmake - found ===> Returning to build of laszip-3.2.9 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for laszip-3.2.9 ===> Performing out-of-source build /bin/mkdir -p /construction/archivers/laszip/.build -- The CXX compiler identification is GNU 8.1.0 -- The C compiler identification is GNU 8.1.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /construction/archivers/laszip/.build -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for laszip-3.2.9 /usr/local/bin/cmake -S/construction/archivers/laszip/LASzip-3.2.9 -B/construction/archivers/laszip/.build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/bin/cmake -E cmake_progress_start /construction/archivers/laszip/.build/CMakeFiles /construction/archivers/laszip/.build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all --- src/CMakeFiles/laszip.dir/all --- --- dll/CMakeFiles/laszip_api.dir/all --- --- src/CMakeFiles/laszip.dir/all --- /usr/bin/make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/depend --- dll/CMakeFiles/laszip_api.dir/all --- /usr/bin/make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/depend --- dll/CMakeFiles/laszip_api.dir/depend --- --- src/CMakeFiles/laszip.dir/all --- --- src/CMakeFiles/laszip.dir/depend --- --- dll/CMakeFiles/laszip_api.dir/all --- cd /construction/archivers/laszip/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /construction/archivers/laszip/LASzip-3.2.9 /construction/archivers/laszip/LASzip-3.2.9/dll /construction/archivers/laszip/.build /construction/archivers/laszip/.build/dll /construction/archivers/laszip/.build/dll/CMakeFiles/laszip_api.dir/DependInfo.cmake --color= --- src/CMakeFiles/laszip.dir/all --- cd /construction/archivers/laszip/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /construction/archivers/laszip/LASzip-3.2.9 /construction/archivers/laszip/LASzip-3.2.9/src /construction/archivers/laszip/.build /construction/archivers/laszip/.build/src /construction/archivers/laszip/.build/src/CMakeFiles/laszip.dir/DependInfo.cmake --color= --- dll/CMakeFiles/laszip_api.dir/all --- Scanning dependencies of target laszip_api /usr/bin/make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/build --- dll/CMakeFiles/laszip_api.dir/laszip_api.c.o --- --- src/CMakeFiles/laszip.dir/all --- Scanning dependencies of target laszip /usr/bin/make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/build --- src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o --- --- src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o --- --- src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o --- --- src/CMakeFiles/laszip.dir/integercompressor.cpp.o --- --- src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o --- [ 4%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/arithmeticdecoder.cpp --- src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o --- [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/arithmeticmodel.cpp --- src/CMakeFiles/laszip.dir/integercompressor.cpp.o --- [ 16%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o --- dll/CMakeFiles/laszip_api.dir/all --- [ 16%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o --- src/CMakeFiles/laszip.dir/all --- cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/integercompressor.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/integercompressor.cpp --- dll/CMakeFiles/laszip_api.dir/all --- cd /construction/archivers/laszip/.build/dll && /usr/bin/cc -Dlaszip_api_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip_api.dir/laszip_api.c.o -c /construction/archivers/laszip/LASzip-3.2.9/dll/laszip_api.c --- src/CMakeFiles/laszip.dir/all --- --- src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o --- [ 20%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/arithmeticencoder.cpp --- src/CMakeFiles/laszip.dir/lasindex.cpp.o --- [ 25%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasindex.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasindex.cpp --- src/CMakeFiles/laszip.dir/lasinterval.cpp.o --- [ 29%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasinterval.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasinterval.cpp --- src/CMakeFiles/laszip.dir/lasquadtree.cpp.o --- [ 33%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasquadtree.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasquadtree.cpp --- src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o --- [ 37%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v1.cpp --- dll/CMakeFiles/laszip_api.dir/all --- --- lib/liblaszip_api.so.8.0.2 --- --- src/CMakeFiles/laszip.dir/all --- /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v1.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v1.cpp:291:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^~~~ --- dll/CMakeFiles/laszip_api.dir/all --- [ 41%] Linking C shared library ../lib/liblaszip_api.so cd /construction/archivers/laszip/.build/dll && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/laszip_api.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -shared -Wl,-soname,liblaszip_api.so.8 -o ../lib/liblaszip_api.so.8.0.2 CMakeFiles/laszip_api.dir/laszip_api.c.o cd /construction/archivers/laszip/.build/dll && /usr/local/bin/cmake -E cmake_symlink_library ../lib/liblaszip_api.so.8.0.2 ../lib/liblaszip_api.so.8 ../lib/liblaszip_api.so [ 45%] Built target laszip_api --- src/CMakeFiles/laszip.dir/all --- --- src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o --- [ 50%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v2.cpp /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v2.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v2.cpp:290:33: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^~~~ --- src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o --- [ 54%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp In file included from /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.hpp:39, from /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp:32: /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp:154:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp:324:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp:343:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp:368:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.cpp:696:35: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ --- src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o --- [ 58%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp In file included from /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.hpp:40, from /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp:32: /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp:154:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp:324:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp:343:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp:368:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v4.cpp:696:35: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ --- src/CMakeFiles/laszip.dir/lasinterval.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/lasinterval.cpp: In member function 'void LASinterval::merge_intervals(U32, BOOL)': /construction/archivers/laszip/LASzip-3.2.9/src/lasinterval.cpp:304:10: warning: 'diff' may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(stderr,"largest interval gap increased to %u\n", diff); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o --- [ 62%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/lasreadpoint.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/lasreadpoint.cpp In file included from /construction/archivers/laszip/LASzip-3.2.9/src/lasreaditemcompressed_v3.hpp:39, from /construction/archivers/laszip/LASzip-3.2.9/src/lasreadpoint.cpp:38: /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp:154:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o --- [ 66%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:176:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:177:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:184:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:187:79: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:192:85: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:199:79: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:244:91: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:296:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:303:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:456:55: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:457:52: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:458:52: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:459:52: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:460:52: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:461:52: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:463:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:464:71: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:465:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:466:71: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:467:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v1.cpp:468:71: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o --- [ 70%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:141:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint10*)item)->return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:142:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:150:62: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:154:85: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:172:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:173:39: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] last_intensity[m] = ((LASpoint10*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:190:55: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:207:91: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:212:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:219:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:225:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:226:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] last_height[l] = ((LASpoint10*)item)->z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:283:33: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:293:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:508:47: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:509:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:510:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:511:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:512:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:513:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:20: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:106: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:164: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:194: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:514:222: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:518:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:523:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:530:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:535:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:536:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:541:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:546:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v2.cpp:547:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- [ 75%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- [ 79%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- src/CMakeFiles/laszip.dir/laswritepoint.cpp.o --- --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp --- src/CMakeFiles/laszip.dir/laswritepoint.cpp.o --- [ 83%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laswritepoint.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:35: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:62:45: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data ^ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:310:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:329:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:354:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:459:35: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:490:39: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:504:45: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:505:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:506:43: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:513:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:514:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:626:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:633:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:642:95: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:643:55: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:650:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:670:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:670:80: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:670:129: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:688:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:692:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:693:88: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:702:107: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:709:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:718:123: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:727:117: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:739:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^~~~ --- src/CMakeFiles/laszip.dir/laswritepoint.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:221:64: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:222:64: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:223:64: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:224:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:225:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:226:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:227:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:228:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:229:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:231:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:233:86: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:35: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:233:154: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:234:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:235:80: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:236:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:237:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:238:75: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:242:86: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:244:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:245:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~~~ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.hpp:44, from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:32: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:246:88: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:246:88: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:246:88: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:64: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:35: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:249:51: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:310:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:329:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:354:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ --- src/CMakeFiles/laszip.dir/laswritepoint.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:266:83: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:267:83: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:268:79: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:269:73: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:272:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:274:87: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:274:155: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:275:138: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:276:81: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:277:79: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:278:83: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:283:87: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:285:79: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:286:83: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~~~ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.hpp:44, from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:32: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:287:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:287:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:287:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/mydefs.hpp:130:64: note: in definition of macro 'I16_QUANTIZE' #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) ^ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laswritepoint.cpp:35: /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemraw.hpp:290:50: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:459:35: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1291:47: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1292:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:490:39: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1293:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:504:45: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1294:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:505:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:506:43: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1295:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:513:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1296:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:514:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:20: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:106: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:164: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:194: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1297:222: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1301:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1306:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1313:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:626:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1318:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:633:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1319:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:642:95: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:643:55: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:650:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1324:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1329:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:670:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:670:80: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:670:129: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1330:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:688:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:692:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:693:88: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:702:107: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:709:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:718:123: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:727:117: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:739:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1588:47: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1589:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1590:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1591:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1592:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1593:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:20: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:106: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:164: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:194: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1594:222: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1598:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1603:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1610:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1615:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1616:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1621:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1626:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1627:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1636:43: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1637:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1641:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v4.cpp:1646:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^~~~ --- src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1291:47: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1292:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1293:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1294:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1295:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1296:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:20: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:106: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:164: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:194: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1297:222: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1301:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1306:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1313:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1318:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1319:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1324:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1329:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1330:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)': /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1588:47: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1589:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1590:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1591:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1592:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1593:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:20: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:106: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:136: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:164: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:194: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1594:222: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1598:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1603:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1610:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1615:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1616:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1621:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1626:34: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1627:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1636:43: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1637:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1641:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laswriteitemcompressed_v3.cpp:1646:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^~~~ --- src/CMakeFiles/laszip.dir/laszip.cpp.o --- [ 87%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laszip.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp --- src/CMakeFiles/laszip.dir/laszip_dll.cpp.o --- [ 91%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o cd /construction/archivers/laszip/.build/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/construction/archivers/laszip/LASzip-3.2.9/include -I/construction/archivers/laszip/.build/include -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -fPIC -o CMakeFiles/laszip.dir/laszip_dll.cpp.o -c /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp --- src/CMakeFiles/laszip.dir/laszip.cpp.o --- /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp: In member function 'bool LASzip::unpack(const U8*, I32)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:95:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] compressor = *((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:97:19: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] coder = *((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:99:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] version_major = *((U8*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:101:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] version_minor = *((U8*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:103:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] version_revision = *((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:105:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] options = *((U32*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:107:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] chunk_size = *((U32*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:109:37: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] number_of_special_evlrs = *((I64*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:111:37: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] offset_to_special_evlrs = *((I64*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:113:23: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] num_items = *((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:117:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] items[i].type = (LASitem::Type)*((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:119:29: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] items[i].size = *((U16*)b); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip.cpp:121:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] items[i].version = *((U16*)b); ^ --- src/CMakeFiles/laszip.dir/laszip_dll.cpp.o --- In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:60: /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /construction/archivers/laszip/LASzip-3.2.9/src/bytestreamin_array.hpp:154:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1257:87: warning: cast from type 'const laszip_F64*' {aka 'const double*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, number*8, 0, (laszip_U8*)geodouble_params)) ^~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1312:85: warning: cast from type 'const laszip_CHAR*' {aka 'const char*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, number, 0, (laszip_U8*)geoascii_params)) ^~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'I32 laszip_prepare_header_for_write(laszip_dll_struct*)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1851:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] sprintf(laszip_dll->error, "inconsistent number_of_point_records %u and extended_number_of_point_records %llu", laszip_dll->header.number_of_point_records, laszip_dll->header.extended_number_of_point_records); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1869:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] sprintf(laszip_dll->error, "inconsistent number_of_points_by_return[%u] %u and extended_number_of_points_by_return[%u] %llu", i, laszip_dll->header.number_of_points_by_return[i], i, laszip_dll->header.extended_number_of_points_by_return[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1918:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] sprintf(laszip_dll->error, "extended_number_of_point_records of %llu is too much for 32-bit counters of compatibility mode", laszip_dll->header.extended_number_of_point_records); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:2591:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] sprintf(laszip_dll->warning, "header.start_of_waveform_data_packet_record is %llu. writing 0 instead.", laszip_dll->header.start_of_waveform_data_packet_record); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:4516:34: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'laszip_I64' {aka 'long int'} [-Wformat=] sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1498:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(laszip_dll->header.vlrs[i].user_id, user_id, 16); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1503:14: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(laszip_dll->header.vlrs[i].description, description, 32); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:56: In constructor 'LASattribute::LASattribute(U32, const CHAR*, const CHAR*)', inlined from 'laszip_I32 laszip_add_attribute(laszip_POINTER, laszip_U32, const laszip_CHAR*, const laszip_CHAR*, laszip_F64, laszip_F64)' at /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:1368:54: /construction/archivers/laszip/LASzip-3.2.9/src/lasattributer.hpp:79:12: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(this->name, name, 32); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/lasattributer.hpp:80:29: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 32 equals destination size [-Wstringop-truncation] if (description) strncpy(this->description, description, 32); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp: In function 'I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)': /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:2096:35: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(unknown_name, "unknown %d", i); ^~~~~~~~~~~~ /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:2096:35: note: directive argument in the range [-32768, 2147483646] /construction/archivers/laszip/LASzip-3.2.9/src/laszip_dll.cpp:2096:20: note: 'sprintf' output between 10 and 19 bytes into a destination of size 16 sprintf(unknown_name, "unknown %d", i); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- lib/liblaszip.so.8.0.2 --- [ 95%] Linking CXX shared library ../lib/liblaszip.so cd /construction/archivers/laszip/.build/src && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/laszip.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -shared -Wl,-soname,liblaszip.so.8 -o ../lib/liblaszip.so.8.0.2 CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o CMakeFiles/laszip.dir/integercompressor.cpp.o CMakeFiles/laszip.dir/lasindex.cpp.o CMakeFiles/laszip.dir/lasinterval.cpp.o CMakeFiles/laszip.dir/lasquadtree.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o CMakeFiles/laszip.dir/lasreadpoint.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o CMakeFiles/laszip.dir/laswritepoint.cpp.o CMakeFiles/laszip.dir/laszip.cpp.o CMakeFiles/laszip.dir/laszip_dll.cpp.o cd /construction/archivers/laszip/.build/src && /usr/local/bin/cmake -E cmake_symlink_library ../lib/liblaszip.so.8.0.2 ../lib/liblaszip.so.8 ../lib/liblaszip.so [100%] Built target laszip /usr/local/bin/cmake -E cmake_progress_start /construction/archivers/laszip/.build/CMakeFiles 0 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for laszip-3.2.9 ===> Generating temporary packing list /usr/local/bin/cmake -S/construction/archivers/laszip/LASzip-3.2.9 -B/construction/archivers/laszip/.build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/bin/cmake -E cmake_progress_start /construction/archivers/laszip/.build/CMakeFiles /construction/archivers/laszip/.build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/depend cd /construction/archivers/laszip/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /construction/archivers/laszip/LASzip-3.2.9 /construction/archivers/laszip/LASzip-3.2.9/src /construction/archivers/laszip/.build /construction/archivers/laszip/.build/src /construction/archivers/laszip/.build/src/CMakeFiles/laszip.dir/DependInfo.cmake --color= /usr/bin/make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/build [ 87%] Built target laszip /usr/bin/make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/depend cd /construction/archivers/laszip/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /construction/archivers/laszip/LASzip-3.2.9 /construction/archivers/laszip/LASzip-3.2.9/dll /construction/archivers/laszip/.build /construction/archivers/laszip/.build/dll /construction/archivers/laszip/.build/dll/CMakeFiles/laszip_api.dir/DependInfo.cmake --color= /usr/bin/make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/build [100%] Built target laszip_api /usr/local/bin/cmake -E cmake_progress_start /construction/archivers/laszip/.build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall /usr/bin/make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/preinstall Linking CXX shared library CMakeFiles/CMakeRelink.dir/liblaszip.so cd /construction/archivers/laszip/.build/src && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/laszip.dir/relink.txt --verbose=1 /usr/bin/c++ -fPIC -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -pipe -O2 -fno-strict-aliasing -shared -Wl,-soname,liblaszip.so.8 -o CMakeFiles/CMakeRelink.dir/liblaszip.so.8.0.2 CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o CMakeFiles/laszip.dir/integercompressor.cpp.o CMakeFiles/laszip.dir/lasindex.cpp.o CMakeFiles/laszip.dir/lasinterval.cpp.o CMakeFiles/laszip.dir/lasquadtree.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o CMakeFiles/laszip.dir/lasreadpoint.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o CMakeFiles/laszip.dir/laswritepoint.cpp.o CMakeFiles/laszip.dir/laszip.cpp.o CMakeFiles/laszip.dir/laszip_dll.cpp.o -Wl,-z,origin,-rpath,/usr/local/lib cd /construction/archivers/laszip/.build/src && /usr/local/bin/cmake -E cmake_symlink_library CMakeFiles/CMakeRelink.dir/liblaszip.so.8.0.2 CMakeFiles/CMakeRelink.dir/liblaszip.so.8 CMakeFiles/CMakeRelink.dir/liblaszip.so /usr/bin/make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/preinstall Linking C shared library CMakeFiles/CMakeRelink.dir/liblaszip_api.so cd /construction/archivers/laszip/.build/dll && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/laszip_api.dir/relink.txt --verbose=1 /usr/bin/cc -fPIC -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -shared -Wl,-soname,liblaszip_api.so.8 -o CMakeFiles/CMakeRelink.dir/liblaszip_api.so.8.0.2 CMakeFiles/laszip_api.dir/laszip_api.c.o -Wl,-z,origin,-rpath,/usr/local/lib cd /construction/archivers/laszip/.build/dll && /usr/local/bin/cmake -E cmake_symlink_library CMakeFiles/CMakeRelink.dir/liblaszip_api.so.8.0.2 CMakeFiles/CMakeRelink.dir/liblaszip_api.so.8 CMakeFiles/CMakeRelink.dir/liblaszip_api.so Installing the project stripped... /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip.so.8.0.2 -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip.so.8 -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip.so -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip_api.so.8.0.2 -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip_api.so.8 -- Installing: /construction/archivers/laszip/stage/usr/local/lib/liblaszip_api.so -- Installing: /construction/archivers/laszip/stage/usr/local/include/laszip/laszip_api.h -- Installing: /construction/archivers/laszip/stage/usr/local/include/laszip/laszip_api_version.h ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for laszip-3.2.9 file sizes/checksums [11]: . done packing files [11]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 6 JUL 2019 at 03:47:10 UTC Duration: 00:00:17