* Package: sci-geosciences/laszip-3.4.1 * Repository: gentoo * Maintainer: sci-geosciences@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking laszip-src-3.4.1.tar.gz to /var/tmp/portage/sci-geosciences/laszip-3.4.1/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/laszip-3.4.1/work >>> Preparing source in /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build" * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_COLOR_MAKEFILE ON) >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build" cmake -C /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build/gentoo_toolchain.cmake /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1 loading initial cache file /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build/gentoo_common_config.cmake -- The CXX compiler identification is GNU 10.1.0 -- The C compiler identification is GNU 10.1.0 -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - 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/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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 -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -frecord-gcc-switches C++ -O2 -pipe -march=native -frecord-gcc-switches -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 Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1 ... * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build" ninja -v -j4 -l0 [1/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/arithmeticmodel.cpp [2/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/arithmeticdecoder.cpp [3/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/integercompressor.cpp.o -MF src/CMakeFiles/laszip.dir/integercompressor.cpp.o.d -o src/CMakeFiles/laszip.dir/integercompressor.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/integercompressor.cpp [4/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/arithmeticencoder.cpp [5/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v1.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v1.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v1.cpp:291:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 291 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ [6/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v2.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v2.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v2.cpp:290:27: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 290 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ [7/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasindex.cpp.o -MF src/CMakeFiles/laszip.dir/lasindex.cpp.o.d -o src/CMakeFiles/laszip.dir/lasindex.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasindex.cpp [8/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasquadtree.cpp.o -MF src/CMakeFiles/laszip.dir/lasquadtree.cpp.o.d -o src/CMakeFiles/laszip.dir/lasquadtree.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasquadtree.cpp [9/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasinterval.cpp.o -MF src/CMakeFiles/laszip.dir/lasinterval.cpp.o.d -o src/CMakeFiles/laszip.dir/lasinterval.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasinterval.cpp [10/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:176:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 176 | I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:177:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 177 | I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:184:48: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 184 | ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:187:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 187 | I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:192:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 192 | ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:199:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 199 | ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:244:78: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 244 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:296:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 296 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:303:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 303 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:456:49: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 456 | U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:457:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 457 | sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:458:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 458 | sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:459:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 459 | sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:460:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 460 | sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:461:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 461 | sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:463:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 463 | if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:464:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 464 | if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:465:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 465 | if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:466:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 466 | if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:467:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 467 | if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v1.cpp:468:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 468 | if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); | ^~~~~~~~~~ [11/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o -MF src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreadpoint.cpp In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.hpp:40, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreadpoint.cpp:38: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ [12/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:141:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 141 | U32 r = ((LASpoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:142:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 142 | U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:150:49: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 150 | ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:154:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 154 | (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:172:48: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 172 | ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:173:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 173 | last_intensity[m] = ((LASpoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:190:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 190 | enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:207:78: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 207 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:212:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 212 | diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:219:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 219 | diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:225:35: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 225 | ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:226:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 226 | last_height[l] = ((LASpoint10*)item)->z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:283:27: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 283 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:293:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 293 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:508:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 508 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:509:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 509 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:510:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 510 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:511:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 511 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:512:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 512 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:513:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 513 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:514:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:518:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 518 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:523:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 523 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:530:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 530 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:535:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 535 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:536:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 536 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:541:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 541 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:546:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 546 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v2.cpp:547:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 547 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ [13/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.hpp:40, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp:32: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp:324:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp:343:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp:368:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v3.cpp:696:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ [14/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.hpp:41, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp:32: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp:324:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp:343:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp:368:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasreaditemcompressed_v4.cpp:696:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ [15/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip.cpp.o -MF src/CMakeFiles/laszip.dir/laszip.cpp.o.d -o src/CMakeFiles/laszip.dir/laszip.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp: In member function ‘bool LASzip::unpack(const U8*, I32)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:95:18: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 95 | compressor = *((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:97:13: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 97 | coder = *((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:99:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 99 | version_major = *((U8*)b); | ^~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:101:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 101 | version_minor = *((U8*)b); | ^~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:103:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 103 | version_revision = *((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:105:15: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 105 | options = *((U32*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:107:18: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 107 | chunk_size = *((U32*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:109:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 109 | number_of_special_evlrs = *((I64*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:111:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 111 | offset_to_special_evlrs = *((I64*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:113:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 113 | num_items = *((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:117:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 117 | items[i].type = (LASitem::Type)*((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:119:23: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 119 | items[i].size = *((U16*)b); | ^~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip.cpp:121:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 121 | items[i].version = *((U16*)b); | ^~~~~~~ [16/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswritepoint.cpp.o -MF src/CMakeFiles/laszip.dir/laswritepoint.cpp.o.d -o src/CMakeFiles/laszip.dir/laswritepoint.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:35: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:62:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 62 | *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data | ^~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:221:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 221 | ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:222:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 222 | ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:223:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 223 | ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:224:50: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 224 | ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:225:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 225 | ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:226:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 226 | ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:227:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 227 | ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:228:50: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 228 | ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:229:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 229 | ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:231:10: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 231 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:233:64: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:35: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:233:132: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:234:114: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 234 | if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:235:58: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 235 | ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:236:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 236 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:237:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 237 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:238:53: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 238 | ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:242:64: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 242 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:244:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 244 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:245:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 245 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.hpp:45, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:32: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:64: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:35: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:249:29: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 249 | *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:266:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 266 | ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:267:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 267 | ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:268:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 268 | ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:269:51: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 269 | ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:272:10: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 272 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:274:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:274:133: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:275:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 275 | if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:276:59: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 276 | ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:277:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 277 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:278:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 278 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:283:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 283 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:285:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 285 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:286:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 286 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.hpp:45, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:32: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/mydefs.hpp:130:64: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5f) : (I16)((n)-0.5f)) | ^ In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswritepoint.cpp:35: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemraw.hpp:290:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 290 | ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [17/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:310:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 310 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:329:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 329 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:354:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 354 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:459:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 459 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:490:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 490 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:504:32: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 504 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:505:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 505 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:506:30: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 506 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:513:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 513 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:514:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 514 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:626:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 626 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:633:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 633 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:642:82: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 642 | 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)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:643:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 643 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:650:25: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 650 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:670:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:670:67: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:670:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:688:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 688 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:692:123: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 692 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:693:75: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 693 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:702:94: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 702 | 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 | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:709:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 709 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:718:110: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 718 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:727:104: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 727 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:739:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 739 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1291:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1291 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1292:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1293:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1294:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1295:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1296:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1296 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1297:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1301:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1301 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1306:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1306 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1313:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1313 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1318:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1318 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1319:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1319 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1324:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1324 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1329:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1329 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1330:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1330 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1588:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1588 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1589:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1590:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1591:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1592:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1593:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1593 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1594:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1598:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1598 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1603:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1603 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1610:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1610 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1615:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1615 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1616:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1616 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1621:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1621 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1626:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1626 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1627:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1627 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1636:37: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1636 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1637:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1637 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1641:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1641 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v3.cpp:1646:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1646 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ [18/24] /usr/bin/x86_64-pc-linux-gnu-gcc -Dlaszip_api_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -fPIC -MD -MT dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -MF dll/CMakeFiles/laszip_api.dir/laszip_api.c.o.d -o dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/dll/laszip_api.c [19/24] : && /usr/bin/x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,liblaszip_api.so.8 -o lib64/liblaszip_api.so.8.0.4 dll/CMakeFiles/laszip_api.dir/laszip_api.c.o && : [20/24] /usr/bin/cmake -E cmake_symlink_library lib64/liblaszip_api.so.8.0.4 lib64/liblaszip_api.so.8 lib64/liblaszip_api.so && : [21/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:310:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 310 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:329:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 329 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:354:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 354 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:459:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 459 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:490:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 490 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:504:32: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 504 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:505:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 505 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:506:30: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 506 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:513:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 513 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:514:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 514 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:626:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 626 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:633:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 633 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:642:82: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 642 | 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)); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:643:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 643 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:650:25: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 650 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:670:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:670:67: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:670:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:688:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 688 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:692:123: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 692 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:693:75: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 693 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:702:94: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 702 | 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 | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:709:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 709 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:718:110: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 718 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:727:104: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 727 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:739:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 739 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1291:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1291 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1292:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1293:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1294:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1295:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1296:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1296 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1297:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1301:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1301 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1306:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1306 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1313:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1313 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1318:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1318 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1319:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1319 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1324:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1324 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1329:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1329 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1330:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1330 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1588:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1588 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1589:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1590:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1591:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1592:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1593:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1593 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1594:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | 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; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1598:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1598 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1603:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1603 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1610:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1610 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1615:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1615 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1616:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1616 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1621:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1621 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1626:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1626 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1627:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1627 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1636:37: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1636 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1637:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1637 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1641:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1641 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laswriteitemcompressed_v4.cpp:1646:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1646 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ [22/24] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/include -Iinclude -O2 -pipe -march=native -frecord-gcc-switches -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 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip_dll.cpp.o -MF src/CMakeFiles/laszip.dir/laszip_dll.cpp.o.d -o src/CMakeFiles/laszip.dir/laszip_dll.cpp.o -c /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp In file included from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:61: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1258:75: warning: cast from type ‘const laszip_F64*’ {aka ‘const double*’} to type ‘laszip_U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 1258 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, number*8, 0, (laszip_U8*)geodouble_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1313:73: warning: cast from type ‘const laszip_CHAR*’ {aka ‘const char*’} to type ‘laszip_U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 1313 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, number, 0, (laszip_U8*)geoascii_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_header_for_write(laszip_dll_struct*)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1852:117: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1852 | 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); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1870:133: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1870 | 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]); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1919:76: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1919 | 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); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:2592:89: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 2592 | 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); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)’: /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:4538:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘laszip_I64’ {aka ‘long int’} [-Wformat=] 4538 | sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); | ~~~^ ~~~~~ | | | | long long int laszip_I64 {aka long int} | %ld In file included from /usr/include/string.h:495, from /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:52: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasattributer.hpp:79:12: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasattributer.hpp:80:29, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/lasattributer.hpp:72:3: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)’ at /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1499:12: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)’ at /var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-src-3.4.1/src/laszip_dll.cpp:1504:14: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [23/24] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -frecord-gcc-switches -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 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,-soname,liblaszip.so.8 -o lib64/liblaszip.so.8.0.4 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/lasindex.cpp.o src/CMakeFiles/laszip.dir/lasinterval.cpp.o src/CMakeFiles/laszip.dir/lasquadtree.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o src/CMakeFiles/laszip.dir/laswritepoint.cpp.o src/CMakeFiles/laszip.dir/laszip.cpp.o src/CMakeFiles/laszip.dir/laszip_dll.cpp.o && : [24/24] /usr/bin/cmake -E cmake_symlink_library lib64/liblaszip.so.8.0.4 lib64/liblaszip.so.8 lib64/liblaszip.so && : >>> Source compiled. >>> Test phase: sci-geosciences/laszip-3.4.1 * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build" No tests found. Skipping. >>> Completed testing sci-geosciences/laszip-3.4.1 >>> Install sci-geosciences/laszip-3.4.1 into /var/tmp/portage/sci-geosciences/laszip-3.4.1/image * Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/laszip-3.4.1/work/laszip-3.4.1_build" [0/1] Install the project... -- Install configuration: "Gentoo" -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip.so.8.0.4 -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip.so.8 -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip.so -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip_api.so.8.0.4 -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip_api.so.8 -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/lib64/liblaszip_api.so -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/include/laszip/laszip_api.h -- Installing: /var/tmp/portage/sci-geosciences/laszip-3.4.1/image/usr/include/laszip/laszip_api_version.h >>> Completed installing sci-geosciences/laszip-3.4.1 into /var/tmp/portage/sci-geosciences/laszip-3.4.1/image * Final size of build directory: 3620 KiB (3.5 MiB) * Final size of installed tree: 704 KiB * QA Notice: The following shared libraries lack NEEDED entries * /usr/lib64/liblaszip_api.so.8.0.4 strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/lib64/liblaszip_api.so.8.0.4 /usr/lib64/liblaszip.so.8.0.4 >>> Done. emerge --info: Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 7507868 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 26 May 2020 06:35:40 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS