Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/laszip.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79441-53370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/laszip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/laszip-3.4.3-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/laszip.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79441-53370/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/laszip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3X1k9e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf laszip-src-3.4.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/laszip-src-3.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd laszip-src-3.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/laszip_restoreapi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6RsZSP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd laszip-src-3.4.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DLASZIP_LIB_INSTALL_DIR=/usr/lib64 -DCMAKE_SKIP_RPATH=TRUE CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The CXX compiler identification is GNU 12.3.1 -- The C compiler identification is GNU 12.3.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Configuring done (0.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose /usr/bin/cmake -S/builddir/build/BUILD/laszip-src-3.4.3 -B/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/depend /usr/bin/gmake -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/laszip-src-3.4.3 /builddir/build/BUILD/laszip-src-3.4.3/dll /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/dll /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/dll/CMakeFiles/laszip_api.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/laszip-src-3.4.3 /builddir/build/BUILD/laszip-src-3.4.3/src /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/laszip.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o [ 16%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o [ 16%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/integercompressor.cpp.o -MF CMakeFiles/laszip.dir/integercompressor.cpp.o.d -o CMakeFiles/laszip.dir/integercompressor.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/integercompressor.cpp [ 16%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -MF CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o.d -o CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/arithmeticdecoder.cpp [ 20%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o [ 24%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o [ 28%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o [ 32%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/dll && /usr/bin/gcc -Dlaszip_api_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -MF CMakeFiles/laszip_api.dir/laszip_api.c.o.d -o CMakeFiles/laszip_api.dir/laszip_api.c.o -c /builddir/build/BUILD/laszip-src-3.4.3/dll/laszip_api.c cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -MF CMakeFiles/laszip.dir/arithmeticencoder.cpp.o.d -o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/arithmeticencoder.cpp cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -MF CMakeFiles/laszip.dir/arithmeticmodel.cpp.o.d -o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/arithmeticmodel.cpp cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasindex.cpp.o -MF CMakeFiles/laszip.dir/lasindex.cpp.o.d -o CMakeFiles/laszip.dir/lasindex.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasindex.cpp cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasinterval.cpp.o -MF CMakeFiles/laszip.dir/lasinterval.cpp.o.d -o CMakeFiles/laszip.dir/lasinterval.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasquadtree.cpp.o -MF CMakeFiles/laszip.dir/lasquadtree.cpp.o.d -o CMakeFiles/laszip.dir/lasquadtree.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasquadtree.cpp [ 36%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -MF CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o.d -o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v1.cpp [ 40%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -MF CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o.d -o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v2.cpp [ 44%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -MF CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o.d -o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp [ 48%] Linking C shared library ../usr/lib64/liblaszip_api.so cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/dll && /usr/bin/cmake -E cmake_link_script CMakeFiles/laszip_api.dir/link.txt --verbose=1 /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v2.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v2.cpp:290:27: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] 290 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v1.cpp: In member function 'virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v1.cpp:291:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] 291 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,liblaszip_api.so.8 -o ../usr/lib64/liblaszip_api.so.8.0.5 CMakeFiles/laszip_api.dir/laszip_api.c.o In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:32: /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:324:36: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:343:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:368:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.cpp:696:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ [ 52%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -MF CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o.d -o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.hpp:41, from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:32: /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:324:36: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:343:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:368:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function 'virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v4.cpp:696:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ [ 56%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o -MF CMakeFiles/laszip.dir/lasreadpoint.cpp.o.d -o CMakeFiles/laszip.dir/lasreadpoint.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasreadpoint.cpp In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /builddir/build/BUILD/laszip-src-3.4.3/src/lasreadpoint.cpp:38: /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ [ 60%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -MF CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o.d -o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/dll && /usr/bin/cmake -E cmake_symlink_library ../usr/lib64/liblaszip_api.so.8.0.5 ../usr/lib64/liblaszip_api.so.8 ../usr/lib64/liblaszip_api.so /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:176:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 176 | I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:177:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 177 | I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:184:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 184 | ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:187:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 187 | I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:192:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 192 | ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:199:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 199 | ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:244:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 244 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:296:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] 296 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:303:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] 303 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:456:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 456 | U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:457:46: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 457 | sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:458:46: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 458 | sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:459:46: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 459 | sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:460:46: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 460 | sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:461:46: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 461 | sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:463:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 463 | if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:464:65: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 464 | if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:465:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 465 | if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:466:65: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 466 | if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:467:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 467 | if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v1.cpp:468:65: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 468 | if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); | ^~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' [ 60%] Built target laszip_api [ 64%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -MF CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o.d -o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp [ 68%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -MF CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o.d -o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:141:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 141 | U32 r = ((LASpoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:142:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 142 | U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:150:49: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 150 | ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:154:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 154 | (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:172:48: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 172 | ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:173:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 173 | last_intensity[m] = ((LASpoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:190:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 190 | enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:207:78: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 207 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:212:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 212 | diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:219:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 219 | diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:225:35: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 225 | ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:226:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint10*' casts away qualifiers [-Wcast-qual] 226 | last_height[l] = ((LASpoint10*)item)->z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:283:27: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U64*' {aka 'long long unsigned int*'} casts away qualifiers [-Wcast-qual] 283 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:293:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] 293 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp:37: In function 'fprintf', inlined from 'LASinterval::merge_intervals(unsigned int, bool)' at /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp:304:23: /usr/include/bits/stdio2.h:79:24: warning: 'diff' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp: In member function 'LASinterval::merge_intervals(unsigned int, bool)': /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp:211:7: note: 'diff' was declared here 211 | U32 diff; | ^~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:508:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 508 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:509:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 509 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:510:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 510 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:511:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 511 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:512:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 512 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:513:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 513 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:514:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:518:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 518 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:523:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 523 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:530:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 530 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:535:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 535 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:536:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 536 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:541:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 541 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:546:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 546 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v2.cpp:547:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 547 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:310:36: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 310 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:329:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 329 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:354:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 354 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:459:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 459 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:490:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 490 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:504:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 504 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:505:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 505 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:506:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 506 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:513:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 513 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:514:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 514 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:626:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 626 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:633:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 633 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:642:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 642 | contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:643:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 643 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:650:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 650 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:67: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:670:116: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:688:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 688 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:692:123: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 692 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:693:75: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 693 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:702:94: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 702 | contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:709:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 709 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:718:110: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 718 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:727:104: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 727 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:739:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 739 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1291:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1291 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1292:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1293:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1294:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1295:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1296:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1296 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1301:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1301 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1306:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1306 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1313:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1313 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1318:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1318 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1319:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1319 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1324:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1324 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1329:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1329 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1330:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1330 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1588:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1588 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1589:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1590:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1591:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1592:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1593:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1593 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1598:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1598 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1603:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1603 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1610:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1610 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1615:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1615 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1616:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1616 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1621:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1621 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1626:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1626 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1627:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1627 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1636:37: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1636 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ [ 72%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -MF CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o.d -o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1637:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1637 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1641:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1641 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v3.cpp:1646:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1646 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ [ 76%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswritepoint.cpp.o -MF CMakeFiles/laszip.dir/laswritepoint.cpp.o.d -o CMakeFiles/laszip.dir/laswritepoint.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laswritepoint.cpp [ 80%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip.cpp.o -MF CMakeFiles/laszip.dir/laszip.cpp.o.d -o CMakeFiles/laszip.dir/laszip.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:308:36: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 308 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:327:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 327 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:352:44: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 352 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:457:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 457 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:488:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 488 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:502:32: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 502 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:503:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 503 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:504:30: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 504 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:511:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 511 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:512:12: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 512 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:624:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 624 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:631:11: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 631 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:640:82: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 640 | contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:641:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 641 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:648:25: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 648 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:67: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:668:116: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:686:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 686 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:690:123: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 690 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:691:75: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 691 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:700:94: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 700 | contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:707:8: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 707 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:716:110: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 716 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:725:104: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 725 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:737:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LASpoint14*' casts away qualifiers [-Wcast-qual] 737 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1289:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1289 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1290:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1290 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/laswritepoint.cpp:35: /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:62:31: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] 62 | *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:221:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 221 | ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:222:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 222 | ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:223:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 223 | ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:224:50: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 224 | ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:225:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 225 | ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:226:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 226 | ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:227:56: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 227 | ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:228:50: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 228 | ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:229:56: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 229 | ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:231:10: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 231 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:233:64: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:233:132: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:234:114: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 234 | if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:235:58: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 235 | ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:236:56: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 236 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:237:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 237 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:238:53: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 238 | ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:242:64: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 242 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:244:56: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 244 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1291:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1291 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1292:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1293:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1294:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1299:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1299 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1304:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1304 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1311:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1311 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1316:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1316 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1317:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1317 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1322:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1322 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1327:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1327 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1328:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1328 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function 'virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1586:41: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1586 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1587:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1587 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1588:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1588 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1589:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1590:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1591:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:14: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:42: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:72: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:100: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:130: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:158: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:188: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:216: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1596:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1596 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1601:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1601 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1608:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1608 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1613:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1613 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1614:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1614 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1619:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1619 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1624:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1624 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1625:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1625 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1634:37: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1634 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1635:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1635 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1639:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1639 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ [ 84%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip_dll.cpp.o -MF CMakeFiles/laszip.dir/laszip_dll.cpp.o.d -o CMakeFiles/laszip.dir/laszip_dll.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemcompressed_v4.cpp:1644:22: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 1644 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:245:60: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 245 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/laswritepoint.hpp:45, from /builddir/build/BUILD/laszip-src-3.4.3/src/laswritepoint.cpp:32: /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:249:29: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 249 | *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp: In member function 'virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)': /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:266:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 266 | ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:267:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 267 | ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:268:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 268 | ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:269:51: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 269 | ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:272:10: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 272 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:274:65: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:274:133: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:275:116: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 275 | if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:276:59: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 276 | ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:277:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 277 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:278:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 278 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:283:65: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 283 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:285:57: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 285 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:286:61: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 286 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro 'I16_QUANTIZE' 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laswriteitemraw.hpp:290:28: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'LAStempWritePoint10*' casts away qualifiers [-Wcast-qual] 290 | ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp: In member function 'bool LASzip::unpack(const U8*, I32)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:97:18: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 97 | compressor = *((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:99:13: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 99 | coder = *((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:101:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 101 | version_major = *((U8*)b); | ^~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:103:21: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 103 | version_minor = *((U8*)b); | ^~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:105:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 105 | version_revision = *((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:107:15: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] 107 | options = *((U32*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:109:18: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U32*' {aka 'unsigned int*'} casts away qualifiers [-Wcast-qual] 109 | chunk_size = *((U32*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:111:31: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] 111 | number_of_special_evlrs = *((I64*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:113:31: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'I64*' {aka 'long long int*'} casts away qualifiers [-Wcast-qual] 113 | offset_to_special_evlrs = *((I64*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:115:17: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 115 | num_items = *((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:119:38: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 119 | items[i].type = (LASitem::Type)*((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:121:23: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 121 | items[i].size = *((U16*)b); | ^~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip.cpp:123:26: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'U16*' {aka 'short unsigned int*'} casts away qualifiers [-Wcast-qual] 123 | items[i].version = *((U16*)b); | ^~~~~~~ [ 88%] Building CXX object src/CMakeFiles/laszip.dir/mydefs.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/mydefs.cpp.o -MF CMakeFiles/laszip.dir/mydefs.cpp.o.d -o CMakeFiles/laszip.dir/mydefs.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/mydefs.cpp [ 92%] Building CXX object src/CMakeFiles/laszip.dir/laszipper.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszipper.cpp.o -MF CMakeFiles/laszip.dir/laszipper.cpp.o.d -o CMakeFiles/laszip.dir/laszipper.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/laszipper.cpp [ 96%] Building CXX object src/CMakeFiles/laszip.dir/lasunzipper.cpp.o cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/g++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/builddir/build/BUILD/laszip-src-3.4.3/include -I/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasunzipper.cpp.o -MF CMakeFiles/laszip.dir/lasunzipper.cpp.o.d -o CMakeFiles/laszip.dir/lasunzipper.cpp.o -c /builddir/build/BUILD/laszip-src-3.4.3/src/lasunzipper.cpp In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:62: /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp: In member function 'virtual void ByteStreamInArray::getBytes(U8*, U32)': /builddir/build/BUILD/laszip-src-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type 'const U8*' {aka 'const unsigned char*'} to type 'void*' casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1259:89: warning: cast from type 'const laszip_F64*' {aka 'const double*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 1259 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1314:87: warning: cast from type 'const laszip_CHAR*' {aka 'const char*'} to type 'laszip_U8*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] 1314 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_header_for_write(laszip_dll_struct*)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1853:117: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1853 | sprintf(laszip_dll->error, "inconsistent number_of_point_records %u and extended_number_of_point_records %llu", laszip_dll->header.number_of_point_records, laszip_dll->header.extended_number_of_point_records); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1871:133: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1871 | sprintf(laszip_dll->error, "inconsistent number_of_points_by_return[%u] %u and extended_number_of_points_by_return[%u] %llu", i, laszip_dll->header.number_of_points_by_return[i], i, laszip_dll->header.extended_number_of_points_by_return[i]); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1920:76: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 1920 | sprintf(laszip_dll->error, "extended_number_of_point_records of %llu is too much for 32-bit counters of compatibility mode", laszip_dll->header.extended_number_of_point_records); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:2593:89: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'laszip_U64' {aka 'long unsigned int'} [-Wformat=] 2593 | sprintf(laszip_dll->warning, "header.start_of_waveform_data_packet_record is %llu. writing 0 instead.", laszip_dll->header.start_of_waveform_data_packet_record); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:4551:71: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'laszip_I64' {aka 'long int'} [-Wformat=] 4551 | sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); | ~~~^ ~~~~~ | | | | long long int laszip_I64 {aka long int} | %ld /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp: In function 'laszip_add_vlr': /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1500:12: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1500 | strncpy(laszip_dll->header.vlrs[i].user_id, user_id, 16); | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:1505:14: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 1505 | strncpy(laszip_dll->header.vlrs[i].description, description, 32); | ^ In file included from /builddir/build/BUILD/laszip-src-3.4.3/src/laszip_dll.cpp:58: /builddir/build/BUILD/laszip-src-3.4.3/src/lasattributer.hpp: In function 'laszip_add_attribute': /builddir/build/BUILD/laszip-src-3.4.3/src/lasattributer.hpp:79:12: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 79 | strncpy(this->name, name, 32); | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/lasattributer.hpp:80:29: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 80 | if (description) strncpy(this->description, description, 32); | ^ [100%] Linking CXX shared library ../usr/lib64/liblaszip.so cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/laszip.dir/link.txt --verbose=1 /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-qual -Wredundant-decls -Wno-long-long -Wno-unknown-pragmas -isystem /usr/local/include -std=c++11 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,liblaszip.so.8 -o ../usr/lib64/liblaszip.so.8.0.5 CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o CMakeFiles/laszip.dir/integercompressor.cpp.o CMakeFiles/laszip.dir/lasindex.cpp.o CMakeFiles/laszip.dir/lasinterval.cpp.o CMakeFiles/laszip.dir/lasquadtree.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o CMakeFiles/laszip.dir/lasreadpoint.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o CMakeFiles/laszip.dir/laswritepoint.cpp.o CMakeFiles/laszip.dir/laszip.cpp.o CMakeFiles/laszip.dir/laszip_dll.cpp.o CMakeFiles/laszip.dir/mydefs.cpp.o CMakeFiles/laszip.dir/laszipper.cpp.o CMakeFiles/laszip.dir/lasunzipper.cpp.o In function 'fprintf', inlined from 'merge_intervals' at /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp:304:23: /usr/include/bits/stdio2.h:79:24: warning: 'diff' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^ /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp: In member function 'merge_intervals': /builddir/build/BUILD/laszip-src-3.4.3/src/lasinterval.cpp:211:7: note: 'diff' was declared here 211 | U32 diff; | ^ cd /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library ../usr/lib64/liblaszip.so.8.0.5 ../usr/lib64/liblaszip.so.8 ../usr/lib64/liblaszip.so gmake[2]: Leaving directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' [100%] Built target laszip gmake[1]: Leaving directory '/builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/laszip-src-3.4.3/aarch64-OpenCloudOS-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wPEWJP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 + cd laszip-src-3.4.3 + DESTDIR=/builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 + /usr/bin/cmake --install aarch64-OpenCloudOS-linux-gnu -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip.so.8.0.5 -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip.so.8 -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip.so -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/include/laszip/laszip.hpp -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/include/laszip/laszipper.hpp -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/include/laszip/lasunzipper.hpp -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip_api.so.8.0.5 -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip_api.so.8 -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip_api.so -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/include/laszip/laszip_api.h -- Installing: /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/include/laszip/laszip_api_version.h + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.4.3-1.oc9 --unique-debug-suffix -3.4.3-1.oc9.aarch64 --unique-debug-src-base laszip-3.4.3-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/laszip-src-3.4.3 extracting debug info from /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip_api.so.8.0.5 extracting debug info from /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/lib64/liblaszip.so.8.0.5 1958 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: laszip-3.4.3-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DYmRsv + umask 022 + cd /builddir/build/BUILD + cd laszip-src-3.4.3 + DOCDIR=/builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/doc/laszip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/doc/laszip + cp -pr AUTHORS /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/doc/laszip + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5GoTbE + umask 022 + cd /builddir/build/BUILD + cd laszip-src-3.4.3 + LICENSEDIR=/builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/licenses/laszip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/licenses/laszip + cp -pr COPYING /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64/usr/share/licenses/laszip + RPM_EC=0 ++ jobs -p + exit 0 Provides: laszip = 3.4.3-1.oc9 laszip(aarch-64) = 3.4.3-1.oc9 liblaszip.so.8()(64bit) liblaszip_api.so.8()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: laszip-devel-3.4.3-1.oc9.aarch64 Provides: laszip-devel = 3.4.3-1.oc9 laszip-devel(aarch-64) = 3.4.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: liblaszip.so.8()(64bit) liblaszip_api.so.8()(64bit) Processing files: laszip-debugsource-3.4.3-1.oc9.aarch64 Provides: laszip-debugsource = 3.4.3-1.oc9 laszip-debugsource(aarch-64) = 3.4.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: laszip-debuginfo-3.4.3-1.oc9.aarch64 Provides: debuginfo(build-id) = 06e5d751eb004ebefd5c121b55ec23cf8843bca1 debuginfo(build-id) = 391e478ef8eada2865e1eeb9c422a227be9c10c7 laszip-debuginfo = 3.4.3-1.oc9 laszip-debuginfo(aarch-64) = 3.4.3-1.oc9 liblaszip.so.8.0.5-3.4.3-1.oc9.aarch64.debug()(64bit) liblaszip_api.so.8.0.5-3.4.3-1.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: laszip-debugsource(aarch-64) = 3.4.3-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/laszip-3.4.3-1.oc9.aarch64 Wrote: /builddir/build/RPMS/laszip-devel-3.4.3-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/laszip-3.4.3-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/laszip-debugsource-3.4.3-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/laszip-debuginfo-3.4.3-1.oc9.aarch64.rpm Child return code was: 0