>>> laszip: Building community/laszip 3.4.3-r2 (using abuild 3.11.0_rc13-r0) started Wed, 26 Apr 2023 17:51:10 +0000 >>> laszip: Checking sanity of /home/buildozer/aports/community/laszip/APKBUILD... >>> laszip: Analyzing dependencies... >>> laszip: Installing for build: build-base cmake (1/8) Installing libbz2 (1.0.8-r5) (2/8) Installing xz-libs (5.4.2-r1) (3/8) Installing libarchive (3.6.2-r2) (4/8) Installing libformw (6.4_p20230401-r6) (5/8) Installing rhash-libs (1.4.3-r2) (6/8) Installing libuv (1.44.2-r2) (7/8) Installing cmake (3.26.3-r1) (8/8) Installing .makedepends-laszip (20230426.175146) Executing busybox-1.36.0-r8.trigger OK: 449 MiB in 106 packages >>> laszip: Cleaning up srcdir >>> laszip: Cleaning up pkgdir >>> laszip: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/laszip-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 100 230k 100 230k 0 0 1826k 0 --:--:-- --:--:-- --:--:-- 1840k >>> laszip: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/laszip-3.4.3.tar.gz >>> laszip: Checking sha512sums... laszip-3.4.3.tar.gz: OK >>> laszip: Unpacking /var/cache/distfiles/v3.18/laszip-3.4.3.tar.gz... CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 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 12.2.1 -- The C compiler identification is GNU 12.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - 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/bin/gcc - 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.4s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/build [ 4%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o [ 13%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o [ 17%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o [ 21%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o [ 26%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o [ 30%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o [ 34%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o [ 39%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o [ 43%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o [ 47%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o [ 52%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o [ 56%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v1.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ [ 60%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o [ 65%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o [ 69%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o [ 73%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v2.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ [ 78%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o [ 82%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o In file included from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v3.cpp:32: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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])); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v4.hpp:41, from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v4.cpp:32: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ [ 86%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ [ 91%] Building CXX object src/CMakeFiles/laszip.dir/mydefs.cpp.o /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ In file included from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreadpoint.cpp:38: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswritepoint.cpp:35: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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 | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip.cpp: In member function 'bool LASzip::unpack(const U8*, I32)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswritepoint.hpp:45, from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswritepoint.cpp:32: /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^ /home/buildozer/aports/community/laszip/src/LASzip-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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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 | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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 | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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) | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~~~~~~~~ [ 95%] Linking C shared library ../lib/liblaszip_api.so /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)': /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ [ 95%] Built target laszip_api /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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)); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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; | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~ In file included from /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp:62: /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /home/buildozer/aports/community/laszip/src/LASzip-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); | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)': /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)': /home/buildozer/aports/community/laszip/src/LASzip-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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_header_for_write(laszip_dll_struct*)': /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)': /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)': /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)': /home/buildozer/aports/community/laszip/src/LASzip-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 /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasinterval.cpp: In member function 'void LASinterval::merge_intervals(U32, BOOL)': /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasinterval.cpp:304:23: warning: 'diff' may be used uninitialized [-Wmaybe-uninitialized] 304 | if (verbose) fprintf(stderr,"largest interval gap increased to %u\n", diff); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/laszip/src/LASzip-3.4.3/src/lasinterval.cpp:211:7: note: 'diff' was declared here 211 | U32 diff; | ^~~~ [100%] Linking CXX shared library ../lib/liblaszip.so [100%] Built target laszip >>> laszip: Entering fakeroot... -- Install configuration: "None" -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip.so.8.0.5 -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip.so.8 -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip.so -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip_api.so.8.0.5 -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip_api.so.8 -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/lib/liblaszip_api.so -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/include/laszip/laszip_api.h -- Installing: /home/buildozer/aports/community/laszip/pkg/laszip/usr/include/laszip/laszip_api_version.h >>> laszip-dev*: Running split function dev... >>> laszip-dev*: Preparing subpackage laszip-dev... >>> laszip-dev*: Stripping binaries >>> laszip-dev*: Running postcheck for laszip-dev >>> laszip*: Running postcheck for laszip >>> laszip*: Preparing package laszip... >>> laszip*: Stripping binaries >>> laszip-dev*: Scanning shared objects >>> laszip*: Scanning shared objects >>> laszip-dev*: Tracing dependencies... laszip=3.4.3-r2 >>> laszip-dev*: Package size: 48.0 KB >>> laszip-dev*: Compressing data... >>> laszip-dev*: Create checksum... >>> laszip-dev*: Create laszip-dev-3.4.3-r2.apk >>> laszip*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libstdc++.so.6 >>> laszip*: Package size: 396.0 KB >>> laszip*: Compressing data... >>> laszip*: Create checksum... >>> laszip*: Create laszip-3.4.3-r2.apk >>> laszip: Build complete at Wed, 26 Apr 2023 17:51:58 +0000 elapsed time 0h 0m 48s >>> laszip: Cleaning up srcdir >>> laszip: Cleaning up pkgdir >>> laszip: Uninstalling dependencies... (1/8) Purging .makedepends-laszip (20230426.175146) (2/8) Purging cmake (3.26.3-r1) (3/8) Purging libarchive (3.6.2-r2) (4/8) Purging libbz2 (1.0.8-r5) (5/8) Purging libformw (6.4_p20230401-r6) (6/8) Purging libuv (1.44.2-r2) (7/8) Purging rhash-libs (1.4.3-r2) (8/8) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r8.trigger OK: 392 MiB in 98 packages >>> laszip: Updating the community/x86_64 repository index... >>> laszip: Signing the index...