Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1076_3_0_1/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 6.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/tmp/c3ipr/pr_1076_3_0_1/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=6 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1076_3_0_1/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 5.1845703125 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: CMakeLists.txt [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK Exporting package recipe laszip/3.4.3 exports: File 'conandata.yml' found. Exporting it... laszip/3.4.3 exports: Copied 1 '.yml' file: conandata.yml laszip/3.4.3 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'3.4.3': {'url': 'https://github.com/LASzip/LASzip/archive/3.4.3.tar.gz', 'sha256': '862715affa00609b78b4f469ab5529fee659c597efd40b5006b4305dd56c22d3'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: 3.4.3: sha256: 862715affa00609b78b4f469ab5529fee659c597efd40b5006b4305dd56c22d3 url: https://github.com/LASzip/LASzip/archive/3.4.3.tar.gz [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK laszip/3.4.3: A new conanfile.py version was exported laszip/3.4.3: Folder: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/export laszip/3.4.3: Using the exported files summary hash as the recipe revision: f11323735855dd7d3ecc51a4bc4555a7 laszip/3.4.3: Exported revision: f11323735855dd7d3ecc51a4bc4555a7 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=6 os=Linux os_build=Linux [options] laszip:shared=False [build_requires] [env] laszip/3.4.3: Forced build from source laszip/3.4.3 (test package): Installing package Requirements laszip/3.4.3 from local cache - Cache Packages laszip/3.4.3:d0ec62fc032e5a10524fa454546aa1bdbb22baf8 - Build [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK laszip/3.4.3: Configuring sources in /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/source [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK laszip/3.4.3: Copying sources to build folder laszip/3.4.3: Building your package in /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8 laszip/3.4.3: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK laszip/3.4.3: Calling build() -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 6 -- Conan: Checking correct version: 6 -- Conan: C++ stdlib: libstdc++11 -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR -- Build files have been written to: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/build_subfolder Scanning dependencies of target laszip [ 4%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o [ 9%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o [ 14%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o [ 19%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/integercompressor.cpp.o [ 23%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasindex.cpp.o [ 28%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasinterval.cpp.o [ 33%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasquadtree.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasquadtree.cpp: In member function ‘BOOL LASquadtree::read(ByteStreamIn*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasquadtree.cpp:620:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] levels = ((U32*)signature)[0]; ^ [ 38%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp: In member function ‘virtual void LASreadItemCompressed_POINT10_v1::read(U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:178:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->x += x_diff; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:182:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->y += y_diff; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:184:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->z = ic_z->decompress(((LASpoint10*)last_item)->z, (k_bits < 19 ? k_bits : 19)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:184:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->z = ic_z->decompress(((LASpoint10*)last_item)->z, (k_bits < 19 ? k_bits : 19)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:194:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->intensity = (U16)ic_intensity->decompress(((LASpoint10*)last_item)->intensity); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:194:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->intensity = (U16)ic_intensity->decompress(((LASpoint10*)last_item)->intensity); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:239:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->point_source_ID = (U16)ic_point_source_ID->decompress(((LASpoint10*)last_item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:239:111: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->point_source_ID = (U16)ic_point_source_ID->decompress(((LASpoint10*)last_item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v1.cpp:291:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U64* {aka long long unsigned int*}’ casts away qualifiers [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^~~~ [ 42%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp: In member function ‘virtual void LASreadItemCompressed_POINT10_v2::read(U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:159:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] r = ((LASpoint10*)last_item)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:160:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] n = ((LASpoint10*)last_item)->number_of_returns_of_given_pulse; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:167:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->intensity = (U16)ic_intensity->decompress(last_intensity[m], (m < 3 ? m : 3)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:168:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_intensity[m] = ((LASpoint10*)last_item)->intensity; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:172:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->intensity = last_intensity[m]; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:189:77: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] I32 val = dec->decodeSymbol(m_scan_angle_rank[((LASpoint10*)last_item)->scan_direction_flag]); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:207:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->point_source_ID = (U16)ic_point_source_ID->decompress(((LASpoint10*)last_item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:207:111: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->point_source_ID = (U16)ic_point_source_ID->decompress(((LASpoint10*)last_item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:212:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] r = ((LASpoint10*)last_item)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:213:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] n = ((LASpoint10*)last_item)->number_of_returns_of_given_pulse; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:221:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->x += diff; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:228:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->y += diff; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:233:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint10*)last_item)->z = ic_z->decompress(last_height[l], (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:234:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] last_height[l] = ((LASpoint10*)last_item)->z; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v2.cpp:290:33: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U64* {aka long long unsigned int*}’ casts away qualifiers [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^~~~ [ 47%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.hpp:40:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:32: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp:154:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘void*’ casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:324:49: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:343:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:368:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:376:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint14*)contexts[context].last_item)->gps_time_change = FALSE; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.cpp:696:35: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ [ 52%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.hpp:41:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:32: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp:154:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘void*’ casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:324:49: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:343:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:368:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:376:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint14*)contexts[context].last_item)->gps_time_change = FALSE; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v4.cpp:696:35: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ [ 57%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp: In member function ‘virtual void LASreadItemRaw_POINT10_BE::read(U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:61:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((U32*)&item[14]) = *((U32*)&swapped[14]); // bitfield, classification, scan_angle_rank, user_data ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp: In member function ‘virtual void LASreadItemRaw_POINT14_LE::read(U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:216:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->X = ((LAStempReadPoint14*)buffer)->X; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:217:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->Y = ((LAStempReadPoint14*)buffer)->Y; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:218:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->Z = ((LAStempReadPoint14*)buffer)->Z; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:219:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->intensity = ((LAStempReadPoint14*)buffer)->intensity; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:220:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->number_of_returns > 7) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:222:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->return_number > 6) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:224:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->return_number >= ((LAStempReadPoint14*)buffer)->number_of_returns) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:224:90: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->return_number >= ((LAStempReadPoint14*)buffer)->number_of_returns) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:235:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->return_number = ((LAStempReadPoint14*)buffer)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:241:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->return_number = ((LAStempReadPoint14*)buffer)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:242:85: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->number_of_returns = ((LAStempReadPoint14*)buffer)->number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:244:85: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_direction_flag = ((LAStempReadPoint14*)buffer)->scan_direction_flag; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:245:85: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->edge_of_flight_line = ((LAStempReadPoint14*)buffer)->edge_of_flight_line; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:246:87: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->classification = (U8)(((((LAStempReadPoint14*)buffer)->classification_flags) << 5) & 0xE0); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:247:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->classification < 32) ((LAStempReadPoint10*)item)->classification |= ((LAStempReadPoint14*)buffer)->classification; ^~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:247:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)buffer)->classification < 32) ((LAStempReadPoint10*)item)->classification |= ((LAStempReadPoint14*)buffer)->classification; ^~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.hpp:47:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.cpp:32: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:28: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:28: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:28: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:56: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:56: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:56: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:87: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:87: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:110: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:118:87: note: in definition of macro ‘I8_CLAMP’ #define I8_CLAMP(n) (((n) <= I8_MIN) ? I8_MIN : (((n) >= I8_MAX) ? I8_MAX : ((I8)(n)))) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:248:61: note: in expansion of macro ‘I16_QUANTIZE’ ((LAStempReadPoint10*)item)->scan_angle_rank = I8_CLAMP(I16_QUANTIZE(0.006f*((LAStempReadPoint14*)buffer)->scan_angle)); ^~~~~~~~~~~~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:249:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->user_data = ((LAStempReadPoint14*)buffer)->user_data; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:250:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->point_source_ID = ((LAStempReadPoint14*)buffer)->point_source_ID; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:251:90: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_scanner_channel = ((LAStempReadPoint14*)buffer)->scanner_channel; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:252:95: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_classification_flags = ((LAStempReadPoint14*)buffer)->classification_flags; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:253:89: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_classification = ((LAStempReadPoint14*)buffer)->classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:254:88: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_return_number = ((LAStempReadPoint14*)buffer)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:255:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_number_of_returns = ((LAStempReadPoint14*)buffer)->number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:256:85: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_scan_angle = ((LAStempReadPoint14*)buffer)->scan_angle; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:257:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->gps_time = *((F64*)&buffer[22]); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp: In member function ‘virtual void LASreadItemRaw_POINT14_BE::read(U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:274:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->number_of_returns > 7) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:276:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->return_number > 6) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:278:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->return_number >= ((LAStempReadPoint14*)swapped)->number_of_returns) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:278:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->return_number >= ((LAStempReadPoint14*)swapped)->number_of_returns) ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:289:84: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->return_number = ((LAStempReadPoint14*)swapped)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:295:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->return_number = ((LAStempReadPoint14*)swapped)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:296:86: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->number_of_returns = ((LAStempReadPoint14*)swapped)->number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:298:86: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->scan_direction_flag = ((LAStempReadPoint14*)swapped)->scan_direction_flag; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:299:86: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->edge_of_flight_line = ((LAStempReadPoint14*)swapped)->edge_of_flight_line; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:300:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->classification = (((LAStempReadPoint14*)swapped)->classification_flags << 5); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:301:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->classification < 32) ((LAStempReadPoint10*)item)->classification |= ((LAStempReadPoint14*)swapped)->classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:301:139: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempReadPoint14*)swapped)->classification < 32) ((LAStempReadPoint10*)item)->classification |= ((LAStempReadPoint14*)swapped)->classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:302:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->user_data = ((LAStempReadPoint14*)swapped)->user_data; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:304:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_scanner_channel = ((LAStempReadPoint14*)swapped)->scanner_channel; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:305:96: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_classification_flags = ((LAStempReadPoint14*)swapped)->classification_flags; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:306:90: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_classification = ((LAStempReadPoint14*)swapped)->classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:307:89: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_return_number = ((LAStempReadPoint14*)swapped)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemraw.hpp:308:93: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempReadPoint10*)item)->extended_number_of_returns = ((LAStempReadPoint14*)swapped)->number_of_returns; ^~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreaditemcompressed_v3.hpp:40:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/lasreadpoint.cpp:38: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp:154:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘void*’ casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ [ 61%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:176:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:176:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:177:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:177:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:184:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:184:61: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:187:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:187:79: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:192:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:192:85: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:199:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:199:79: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:244:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:244:91: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:296:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U64* {aka long long unsigned int*}’ casts away qualifiers [-Wcast-qual] last_gpstime.u64 = *((U64*)item); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:303:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘I64* {aka long long int*}’ casts away qualifiers [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:456:55: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:457:52: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:458:52: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:459:52: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:460:52: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:461:52: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:463:72: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:464:71: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:465:72: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:466:71: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:467:72: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v1.cpp:468:71: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); ^~~~ [ 66%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:141:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint10*)item)->return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:142:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:150:62: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:154:50: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:154:85: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:172:61: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:173:39: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] last_intensity[m] = ((LASpoint10*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:190:55: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:207:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:207:91: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:212:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:212:59: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:219:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:219:59: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:225:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:226:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] last_height[l] = ((LASpoint10*)item)->z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:283:33: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U64* {aka long long unsigned int*}’ casts away qualifiers [-Wcast-qual] last_gpstime[0].u64 = *((U64*)item); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:293:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘I64* {aka long long int*}’ casts away qualifiers [-Wcast-qual] this_gpstime.i64 = *((I64*)item); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:508:47: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:509:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:510:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:511:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:512:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:513:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:20: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:106: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:164: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:194: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:514:222: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:518:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:523:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:530:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:535:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:536:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:541:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:546:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v2.cpp:547:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ [ 71%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:310:49: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:329:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:354:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:362:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint14*)contexts[context].last_item)->gps_time_change = FALSE; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:459:35: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:490:39: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:504:45: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:505:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:506:43: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:513:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:514:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:626:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:633:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:642:95: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:643:55: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:650:38: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:670:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:670:80: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:670:129: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:688:21: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:692:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:693:88: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:702:107: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:709:21: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:718:123: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:727:117: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:739:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1291:47: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1292:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1293:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1294:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1295:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1296:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:20: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:106: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:164: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:194: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1297:222: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1301:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1306:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1313:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1318:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1319:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1324:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1329:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1330:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1588:47: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1589:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1590:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1591:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1592:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1593:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:20: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:106: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:164: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:194: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1594:222: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1598:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1603:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1610:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1615:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1616:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1621:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1626:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1627:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1636:43: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1637:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1641:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v3.cpp:1646:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^~~~ [ 76%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:308:49: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:327:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:352:57: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:360:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LASpoint14*)contexts[context].last_item)->gps_time_change = FALSE; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:457:35: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] current_context = ((LASpoint14*)item)->scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:488:39: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:502:45: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:503:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:504:43: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:511:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 n = ((LASpoint14*)item)->number_of_returns; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:512:25: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 r = ((LASpoint14*)item)->return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:624:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:631:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:640:95: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:641:55: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:648:38: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 classification = ((LASpoint14*)item)->classification; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:668:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:668:80: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:668:129: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:686:21: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:690:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:691:88: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:700:107: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:707:21: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:716:123: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:725:117: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:737:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] gps_time.f64 = ((LASpoint14*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1289:47: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1290:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1291:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1292:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1293:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1294:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:20: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:106: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:164: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:194: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1295:222: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1299:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1304:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1311:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1316:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1317:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1322:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1327:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1328:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1586:47: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1587:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1588:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1589:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1590:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1591:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:20: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:48: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:106: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:164: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:194: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1592:222: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1596:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1601:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1608:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1613:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1614:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1619:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1624:34: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1625:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1634:43: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1635:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1639:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemcompressed_v4.cpp:1644:28: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); ^~~~ [ 80%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laswritepoint.cpp.o In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:62:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:62:45: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U32* {aka unsigned int*}’ casts away qualifiers [-Wcast-qual] *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:221:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:221:64: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:222:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:222:64: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:223:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:223:64: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:224:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:224:72: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:225:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:225:82: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:226:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:226:82: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:227:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:227:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:228:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:228:72: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:229:35: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:229:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:231:32: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:233:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:233:86: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:233:154: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:234:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:234:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:234:136: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:235:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:235:80: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:236:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:236:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:237:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:237:82: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:238:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:238:75: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:242:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:242:86: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:243:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->scanner_channel = 0; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:244:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:244:78: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:245:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:245:82: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:246:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.hpp:45:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:32: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:246:88: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:246:88: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:246:88: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:63: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:249:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:249:51: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:266:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:266:83: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:267:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:267:83: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:268:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:268:79: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:269:36: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:269:73: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:272:32: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint10*)item)->extended_point_type) ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:274:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:274:87: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:274:155: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:275:42: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:275:96: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:275:138: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:276:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:276:81: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:277:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:277:79: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:278:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:278:83: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:283:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:283:87: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:284:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->scanner_channel = 0; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:285:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:285:79: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; ^~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:286:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:286:83: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; ^~~~ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.hpp:45:0, from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:32: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:287:60: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:287:60: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:287:60: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/mydefs.hpp:130:63: note: in definition of macro ‘I16_QUANTIZE’ #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) ^ In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswritepoint.cpp:35:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laswriteitemraw.hpp:290:50: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); ^~~~ [ 85%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laszip.cpp.o /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp: In member function ‘bool LASzip::unpack(const U8*, I32)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:97:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] compressor = *((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:99:19: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] coder = *((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:101:26: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U8* {aka unsigned char*}’ casts away qualifiers [-Wcast-qual] version_major = *((U8*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:103:26: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U8* {aka unsigned char*}’ casts away qualifiers [-Wcast-qual] version_minor = *((U8*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:105:30: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] version_revision = *((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:107:21: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U32* {aka unsigned int*}’ casts away qualifiers [-Wcast-qual] options = *((U32*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:109:24: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U32* {aka unsigned int*}’ casts away qualifiers [-Wcast-qual] chunk_size = *((U32*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:111:37: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘I64* {aka long long int*}’ casts away qualifiers [-Wcast-qual] number_of_special_evlrs = *((I64*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:113:37: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘I64* {aka long long int*}’ casts away qualifiers [-Wcast-qual] offset_to_special_evlrs = *((I64*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:115:23: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] num_items = *((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:119:44: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] items[i].type = (LASitem::Type)*((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:121:29: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] items[i].size = *((U16*)b); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip.cpp:123:32: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘U16* {aka short unsigned int*}’ casts away qualifiers [-Wcast-qual] items[i].version = *((U16*)b); ^ [ 90%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/laszip_dll.cpp.o [ 95%] Building CXX object source_subfolder/src/CMakeFiles/laszip.dir/mydefs.cpp.o In file included from /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:62:0: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/bytestreamin_array.hpp:154:41: warning: cast from type ‘const U8* {aka const unsigned char*}’ to type ‘void*’ casts away qualifiers [-Wcast-qual] memcpy((void*)bytes, (void*)(data+curr), num_bytes); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:1259:101: warning: cast from type ‘const laszip_F64* {aka const double*}’ to type ‘laszip_U8* {aka unsigned char*}’ casts away qualifiers [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) ^~~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:1314:99: warning: cast from type ‘const laszip_CHAR* {aka const char*}’ to type ‘laszip_U8* {aka unsigned char*}’ casts away qualifiers [-Wcast-qual] if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) ^~~~~~~~~~~~~~~ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_header_for_write(laszip_dll_struct*)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:1853:216: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘laszip_U64 {aka long unsigned int}’ [-Wformat=] sprintf(laszip_dll->error, "inconsistent number_of_point_records %u and extended_number_of_point_records %llu", laszip_dll->header.number_of_point_records, laszip_dll->header.extended_number_of_point_records); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:1871:250: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘laszip_U64 {aka long unsigned int}’ [-Wformat=] sprintf(laszip_dll->error, "inconsistent number_of_points_by_return[%u] %u and extended_number_of_points_by_return[%u] %llu", i, laszip_dll->header.number_of_points_by_return[i], i, laszip_dll->header.extended_number_of_points_by_return[i]); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:1920:185: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64 {aka long unsigned int}’ [-Wformat=] sprintf(laszip_dll->error, "extended_number_of_point_records of %llu is too much for 32-bit counters of compatibility mode", laszip_dll->header.extended_number_of_point_records); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:2593:168: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64 {aka long unsigned int}’ [-Wformat=] sprintf(laszip_dll->warning, "header.start_of_waveform_data_packet_record is %llu. writing 0 instead.", laszip_dll->header.start_of_waveform_data_packet_record); ^ /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)’: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/source_subfolder/src/laszip_dll.cpp:4551:148: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘laszip_I64 {aka long int}’ [-Wformat=] sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); ^ [100%] Linking CXX static library ../../lib/liblaszip.a [100%] Built target laszip laszip/3.4.3: Package 'd0ec62fc032e5a10524fa454546aa1bdbb22baf8' built laszip/3.4.3: Build folder /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/build/d0ec62fc032e5a10524fa454546aa1bdbb22baf8 laszip/3.4.3: Generated conaninfo.txt laszip/3.4.3: Generated conanbuildinfo.txt laszip/3.4.3: Generating the package laszip/3.4.3: Package folder /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/package/d0ec62fc032e5a10524fa454546aa1bdbb22baf8 laszip/3.4.3: Calling package() [100%] Built target laszip Install the project... -- Install configuration: "Release" -- Installing: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/package/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/lib/liblaszip.a -- Installing: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/package/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/include/laszip/laszip_api.h -- Installing: /tmp/c3ipr/pr_1076_3_0_1/.conan/data/laszip/3.4.3/_/_/package/d0ec62fc032e5a10524fa454546aa1bdbb22baf8/include/laszip/laszip_api_version.h [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK laszip/3.4.3 package(): Packaged 1 '.a' file: liblaszip.a laszip/3.4.3 package(): Packaged 2 '.h' files: laszip_api.h, laszip_api_version.h laszip/3.4.3 package(): Packaged 1 file: COPYING laszip/3.4.3: Package 'd0ec62fc032e5a10524fa454546aa1bdbb22baf8' created laszip/3.4.3: Created package revision 7a29b7a7c971cb0fd003377233fdf49d [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK laszip/3.4.3 (test package): Generator cmake created conanbuildinfo.cmake laszip/3.4.3 (test package): Generator txt created conanbuildinfo.txt laszip/3.4.3 (test package): Generated conaninfo.txt laszip/3.4.3 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/pr_1076_3_0_1/test_package/build/576eb53f19a33b5b6f3cab5c24b5c69b387e96ca/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK laszip/3.4.3 (test package): Running build() -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 6 -- Conan: Checking correct version: 6 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_1076_3_0_1/test_package/build/576eb53f19a33b5b6f3cab5c24b5c69b387e96ca Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking CXX executable bin/test_package [100%] Built target test_package laszip/3.4.3 (test package): Running test() LASzip version 3.4.3 - build 191111 JSON file created at '/tmp/c3ipr/pr_1076_3_0_1/_create.json'