From https://github.com/archlinux/svntogit-community * branch packages/laszip -> FETCH_HEAD * [new branch] packages/laszip -> community/packages/laszip Cloning into 'laszip'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 132k 100 132k 0 0 389k 0 --:--:-- --:--:-- --:--:-- 390k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 8546k 0 36357 0 0 105k 0 0:01:21 --:--:-- 0:01:21 104k 100 8546k 100 8546k 0 0 19.6M 0 --:--:-- --:--:-- --:--:-- 19.6M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 420k 0 --:--:-- --:--:-- --:--:-- 420k :: Starting full system upgrade... there is nothing to do PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp/archlinux-ci/ GIT_SSL_NO_VERIFY=1 SOURCE_DATE_EPOCH=1690763777 SHELL=/bin/bash SCHROOT_CHROOT_NAME=jenkins-reproducible-archlinux no_proxy=localhost,127.0.0.1 SCHROOT_COMMAND=bash -l -c SOURCE_DATE_EPOCH='1690763777' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' TMPDIR='/tmp/archlinux-ci/' GIT_SSL_NO_VERIFY=1 printenv 2>&1 SCHROOT_SESSION_ID=archlinux-laszip-archlinuxrb-build-rk7Ku3gB PWD=/tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk LOGNAME=jenkins SCHROOT_ALIAS_NAME=jenkins-reproducible-archlinux SCHROOT_GROUP=jenkins SCHROOT_USER=jenkins ftp_proxy=http://127.0.0.1:3128 HOME=/var/lib/jenkins LANG=C https_proxy=http://127.0.0.1:3128 USER=jenkins FTP_PROXY=http://127.0.0.1:3128 SHLVL=1 HTTPS_PROXY=http://127.0.0.1:3128 HTTP_PROXY=http://127.0.0.1:3128 SCHROOT_GID=116 http_proxy=http://127.0.0.1:3128 DEBUGINFOD_URLS=https://debuginfod.archlinux.org SCHROOT_UID=108 HG=/usr/bin/hg _=/usr/sbin/printenv ==> Making package: laszip 3.4.3-1 (Sun Sep 1 06:59:48 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (6) cppdap-1.58.0-1 hicolor-icon-theme-0.17-3 jsoncpp-1.9.5-2 libuv-1.46.0-1 rhash-1.4.3-1 cmake-3.27.1-1 Total Download Size: 12.11 MiB Total Installed Size: 74.39 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10021 100 10021 0 0 5877k 0 --:--:-- --:--:-- --:--:-- 9786k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 151k 100 151k 0 0 59.7M 0 --:--:-- --:--:-- --:--:-- 73.9M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 238k 100 238k 0 0 75.0M 0 --:--:-- --:--:-- --:--:-- 77.7M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 171k 100 171k 0 0 67.5M 0 --:--:-- --:--:-- --:--:-- 83.8M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 335k 100 335k 0 0 84.4M 0 --:--:-- --:--:-- --:--:-- 109M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 30 11.2M 30 3463k 0 0 135M 0 --:--:-- --:--:-- --:--:-- 135M 100 11.2M 100 11.2M 0 0 103M 0 --:--:-- --:--:-- --:--:-- 102M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Downloading laszip-src-3.4.3.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 214k 100 214k 0 0 558k 0 --:--:-- --:--:-- --:--:-- 558k ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... laszip-src-3.4.3.tar.gz ... Passed ==> Extracting sources... -> Extracting laszip-src-3.4.3.tar.gz with bsdtar ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The CXX compiler identification is GNU 13.1.1 -- The C compiler identification is GNU 13.1.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/sbin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/sbin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Configuring done (1.5s) -- Generating done (0.0s) -- Build files have been written to: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/build [ 4%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o [ 17%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o [ 17%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o [ 21%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o [ 26%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o [ 30%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o [ 34%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o [ 39%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o [ 43%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o [ 47%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o [ 52%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o [ 56%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o [ 60%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o [ 65%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o [ 69%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v1.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v2.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v4.hpp:41, from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:32: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:32: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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])); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreadpoint.cpp:38: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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 | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~ [ 73%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o [ 78%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o [ 82%] Linking C shared library ../lib/liblaszip_api.so [ 86%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswritepoint.cpp:35: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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 | ^~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswritepoint.hpp:45, from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswritepoint.cpp:32: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:308:36: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 308 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:327:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 327 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:352:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 352 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:457:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 457 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:488:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 488 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:502:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 502 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:503:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 503 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:504:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 504 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:511:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 511 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:512:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 512 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:624:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 624 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:631:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 631 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:640:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 640 | 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)); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:641:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 641 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:648:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 648 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:67: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:116: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:686:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 686 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:690:123: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 690 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:691:75: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 691 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:700:94: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 700 | 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 | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:707:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 707 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:716:110: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 716 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:725:104: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 725 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:737:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 737 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1289:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1289 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1290:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1290 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1291:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1291 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1299:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1299 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1304:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1304 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1311:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1311 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1316:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1316 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1317:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1317 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1322:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1322 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1327:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1327 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1328:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1328 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1586:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1586 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1587:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1587 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1588:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1588 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | 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; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1596:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1596 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1601:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1601 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1608:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1608 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1613:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1613 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1614:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1614 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1619:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1619 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1624:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1624 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1625:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1625 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1634:37: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1634 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1635:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1635 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1639:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1639 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1644:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1644 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp: In member function 'bool LASzip::unpack(const U8*, I32)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:97:18: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 97 | compressor = *((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:99:13: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 99 | coder = *((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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_major = *((U8*)b); | ^~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:103:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 103 | version_minor = *((U8*)b); | ^~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:105:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 105 | version_revision = *((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:107:15: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] 107 | options = *((U32*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:109:18: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] 109 | chunk_size = *((U32*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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 | number_of_special_evlrs = *((I64*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:113:31: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] 113 | offset_to_special_evlrs = *((I64*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:115:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 115 | num_items = *((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:119:38: 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].type = (LASitem::Type)*((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:121:23: 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].size = *((U16*)b); | ^~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip.cpp:123:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 123 | items[i].version = *((U16*)b); | ^~~~~~~ [ 86%] Built target laszip_api [ 91%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o [ 95%] Building CXX object src/CMakeFiles/laszip.dir/mydefs.cpp.o In file included from /usr/include/stdio.h:906, from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasinterval.cpp:37: In function 'int fprintf(FILE*, const char*, ...)', inlined from 'void LASinterval::merge_intervals(U32, BOOL)' at /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasinterval.cpp:304:23: /usr/include/bits/stdio2.h:79:24: warning: 'diff' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasinterval.cpp: In member function 'void LASinterval::merge_intervals(U32, BOOL)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasinterval.cpp:211:7: note: 'diff' was declared here 211 | U32 diff; | ^~~~ In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:62: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/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); | ^~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1259:89: warning: cast from type 'const laszip_F64*' {aka 'const double*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 1259 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1314:87: warning: cast from type 'const laszip_CHAR*' {aka 'const char*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 1314 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_header_for_write(laszip_dll_struct*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1853:117: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1853 | 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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1871:133: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1871 | 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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1920:76: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1920 | 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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:2593:89: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 2593 | 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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:4551:71: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'laszip_I64' {aka 'long int'} [-Wformat=] 4551 | 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 /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1500:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 16 equals destination size [-Wstringop-truncation] 1500 | strncpy(laszip_dll->header.vlrs[i].user_id, user_id, 16); | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:1505:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 1505 | strncpy(laszip_dll->header.vlrs[i].description, description, 32); | ^ In file included from /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/laszip_dll.cpp:58: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasattributer.hpp: In function 'laszip_I32 laszip_add_attribute(laszip_POINTER, laszip_U32, const laszip_CHAR*, const laszip_CHAR*, laszip_F64, laszip_F64)': /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasattributer.hpp:79:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 79 | strncpy(this->name, name, 32); | ^ /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/src/laszip-src-3.4.3/src/lasattributer.hpp:80:29: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 32 equals destination size [-Wstringop-truncation] 80 | if (description) strncpy(this->description, description, 32); | ^ [100%] Linking CXX shared library ../lib/liblaszip.so [100%] Built target laszip ==> Entering fakeroot environment... ==> Starting package()... [ 8%] Built target laszip_api [100%] Built target laszip Install the project... -- Install configuration: "" -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip.so.8.0.5 -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip.so.8 -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip.so -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip_api.so.8.0.5 -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip_api.so.8 -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/lib/liblaszip_api.so -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/include/laszip/laszip_api.h -- Installing: /tmp/archlinux-ci/laszip-archlinuxrb-build-rk7Ku3gB/laszip/trunk/pkg/laszip/usr/include/laszip/laszip_api_version.h ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> WARNING: Package contains reference to $srcdir usr/lib/liblaszip.so.8.0.5 ==> Creating package "laszip"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: laszip 3.4.3-1 (Sun Sep 1 07:00:12 2024)