Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/l/laszip/laszip_3.4.3-2_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/laszip-3.4.3-2cmpnzes2/laszip_3.4.3-2_amd64.buildinfo Get source package info: laszip=3.4.3-2 Source URL: http://snapshot.notset.fr/mr/package/laszip/3.4.3-2/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.48 bash=5.1~rc2-1 binutils=2.35.1-2 binutils-common=2.35.1-2 binutils-x86-64-linux-gnu=2.35.1-2 bsdextrautils=2.36-3+b2 bsdutils=1:2.36-3+b2 build-essential=12.8 bzip2=1.0.8-4 chrpath=0.16-2+b1 cmake=3.18.4-1 cmake-data=3.18.4-1 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.0-16 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0+git20201010-2 g++=4:10.2.0-1 g++-10=10.2.0-16 gcc=4:10.2.0-1 gcc-10=10.2.0-16 gcc-10-base=10.2.0-16 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libarchive13=3.4.3-2 libasan6=10.2.0-16 libatomic1=10.2.0-16 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3.1 libaudit1=1:2.8.5-3.1 libbinutils=2.35.1-2 libblkid1=2.36-3+b2 libbrotli1=1.0.9-2+b1 libbz2-1.0=1.0.8-4 libc-bin=2.31-4 libc-dev-bin=2.31-4 libc6=2.31-4 libc6-dev=2.31-4 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-16 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-2 libctf0=2.35.1-2 libcurl4=7.72.0-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.255 libdebhelper-perl=13.2.1 libdpkg-perl=1.20.5 libelf1=0.182-1 libexpat1=2.2.10-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-16 libgcc-s1=10.2.0-16 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libglib2.0-0=2.66.2-1 libgmp10=2:6.2.0+dfsg-6 libgnutls30=3.6.15-4 libgomp1=10.2.0-16 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libhogweed6=3.6-2 libicu67=67.1-4 libidn2-0=2.3.0-2 libisl22=0.22.1-1 libitm1=10.2.0-16 libjsoncpp1=1.7.4-3.1 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 libldap-2.4-2=2.4.55+dfsg-1+b1 liblsan0=10.2.0-16 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-3+b2 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncurses6=6.2+20200918-1 libncursesw6=6.2+20200918-1 libnettle8=3.6-2 libnghttp2-14=1.41.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnss-nis=3.1-4 libnss-nisplus=1.3-4 libp11-kit0=0.23.21-2 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libprocps8=2:3.3.16-5 libpsl5=0.21.0-1.1 libquadmath0=10.2.0-16 librhash0=1.4.0-1 librtmp1=2.4+20151223.gitfa8646d.1-2+b2 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.4-1+b1 libselinux1=3.1-2+b1 libsigsegv2=2.12-2 libsmartcols1=2.36-3+b2 libssh2-1=1.8.0-2.1 libssl1.1=1.1.1h-1 libstdc++-10-dev=10.2.0-16 libstdc++6=10.2.0-16 libsub-override-perl=0.09-2 libsystemd0=246.6-2 libtasn1-6=4.16.0-2 libtinfo6=6.2+20200918-1 libtirpc-common=1.2.6-3 libtirpc-dev=1.2.6-3 libtirpc3=1.2.6-3 libtool=2.4.6-14 libtsan0=10.2.0-16 libubsan1=10.2.0-16 libuchardet0=0.0.7-1 libudev1=246.6-2 libunistring2=0.9.10-4 libuuid1=2.36-3+b2 libuv1=1.40.0-1 libxml2=2.9.10+dfsg-6.2 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.9.1-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20200918-1 ncurses-bin=6.2+20200918-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 procps=2:3.3.16-5 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-5 tar=1.30+dfsg-7 util-linux=2.36-3+b2 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201111T205648Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201108T155128Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d laszip=3.4.3-2 && mkdir -p /build/laszip-9jbf4T && dpkg-source --no-check -x /*.dsc /build/laszip-9jbf4T/laszip-3.4.3 && chown -R builduser:builduser /build/laszip-9jbf4T" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/laszip-9jbf4T/laszip-3.4.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605115627" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/laszip-9jbf4T /tmp/laszip-3.4.3-2cmpnzes2 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.ojIJoaYee3 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ojIJoaYee3 Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-3+b2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable/main amd64 libfakeroot amd64 1.25.3-1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable/main amd64 fakeroot amd64 1.25.3-1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1086 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4664 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1_amd64.deb ... Unpacking fakeroot (1.25.3-1) ... Setting up libfakeroot:amd64 (1.25.3-1) ... Setting up fakeroot (1.25.3-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20201111T205648Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20201108T155128Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ojIJoaYee3 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20201108T155128Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20201111T205648Z unstable/main amd64 Packages [11.5 MB] Fetched 34.2 MB in 29s (1196 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ojIJoaYee3 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d laszip=3.4.3-2 && mkdir -p /build/laszip-9jbf4T && dpkg-source --no-check -x /*.dsc /build/laszip-9jbf4T/laszip-3.4.3 && chown -R builduser:builduser /build/laszip-9jbf4T"' exec /tmp/mmdebstrap.ojIJoaYee3 Reading package lists... NOTICE: 'laszip' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian-gis-team/laszip.git Please use: git clone https://salsa.debian.org/debian-gis-team/laszip.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 243 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main laszip 3.4.3-2 (dsc) [2028 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main laszip 3.4.3-2 (tar) [236 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main laszip 3.4.3-2 (diff) [4948 B] Fetched 243 kB in 0s (805 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'laszip_3.4.3-2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting laszip in /build/laszip-9jbf4T/laszip-3.4.3 dpkg-source: info: unpacking laszip_3.4.3.orig.tar.gz dpkg-source: info: unpacking laszip_3.4.3-2.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/laszip-9jbf4T/laszip-3.4.3 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605115627" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ojIJoaYee3 dpkg-buildpackage: info: source package laszip dpkg-buildpackage: info: source version 3.4.3-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bas Couwenberg dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh_clean debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. -- The CXX compiler identification is GNU 10.2.0 -- The C compiler identification is GNU 10.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY CMAKE_INSTALL_LOCALSTATEDIR CMAKE_INSTALL_SYSCONFDIR -- Build files have been written to: /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_auto_build -a cd obj-x86_64-linux-gnu && make -j4 make[1]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/laszip-9jbf4T/laszip-3.4.3 -B/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/CMakeFiles /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/depend make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/depend make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/laszip-9jbf4T/laszip-3.4.3 /build/laszip-9jbf4T/laszip-3.4.3/dll /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll/CMakeFiles/laszip_api.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/laszip-9jbf4T/laszip-3.4.3 /build/laszip-9jbf4T/laszip-3.4.3/src /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src/CMakeFiles/laszip.dir/DependInfo.cmake --color= Scanning dependencies of target laszip_api make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/build make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' [ 4%] Building C object dll/CMakeFiles/laszip_api.dir/laszip_api.c.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll && /usr/bin/cc -Dlaszip_api_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/laszip_api.dir/laszip_api.c.o -c /build/laszip-9jbf4T/laszip-3.4.3/dll/laszip_api.c Scanning dependencies of target laszip make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/build make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' [ 8%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/arithmeticdecoder.cpp [ 13%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/arithmeticmodel.cpp [ 17%] Building CXX object src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/arithmeticencoder.cpp [ 21%] Building CXX object src/CMakeFiles/laszip.dir/integercompressor.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/integercompressor.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/integercompressor.cpp [ 26%] Building CXX object src/CMakeFiles/laszip.dir/lasindex.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasindex.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasindex.cpp [ 30%] Linking C shared library ../lib/x86_64-linux-gnu/liblaszip_api.so cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll && /usr/bin/cmake -E cmake_link_script CMakeFiles/laszip_api.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,liblaszip_api.so.8 -o ../lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 CMakeFiles/laszip_api.dir/laszip_api.c.o -Wl,-rpath,::::::::::::::::::::::::: cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll && /usr/bin/cmake -E cmake_symlink_library ../lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 ../lib/x86_64-linux-gnu/liblaszip_api.so.8 ../lib/x86_64-linux-gnu/liblaszip_api.so [ 34%] Building CXX object src/CMakeFiles/laszip.dir/lasinterval.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasinterval.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasinterval.cpp make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' [ 34%] Built target laszip_api [ 39%] Building CXX object src/CMakeFiles/laszip.dir/lasquadtree.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasquadtree.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasquadtree.cpp [ 43%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v1.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v1.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v1.cpp:291:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 291 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ [ 47%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v2.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v2.cpp: In member function ‘virtual BOOL LASreadItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v2.cpp:290:27: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 290 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ [ 52%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp:32: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v3::createAndInitModelsAndDecompressors(U32, const U8*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp:324:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp:343:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp:368:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v3::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.cpp:696:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ [ 60%] Building CXX object src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o [ 60%] Building CXX object src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/lasreadpoint.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/lasreadpoint.cpp In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.hpp:41, from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp:32: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function ‘BOOL LASreadItemCompressed_POINT14_v4::createAndInitModelsAndDecompressors(U32, const U8*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp:324:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp:343:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp:368:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp: In member function ‘virtual BOOL LASreadItemCompressed_POINT14_v4::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v4.cpp:696:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 696 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreaditemcompressed_v3.hpp:40, from /build/laszip-9jbf4T/laszip-3.4.3/src/lasreadpoint.cpp:38: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ [ 65%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v1::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:176:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 176 | I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:177:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 177 | I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:184:48: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 184 | ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:187:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 187 | I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:192:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 192 | ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:199:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 199 | ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:244:78: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 244 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:296:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 296 | last_gpstime.u64 = *((U64*)item); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v1::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:303:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 303 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v1::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:456:49: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 456 | U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:457:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 457 | sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:458:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 458 | sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:459:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 459 | sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:460:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 460 | sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:461:46: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 461 | sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:463:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 463 | if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:464:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 464 | if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:465:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 465 | if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:466:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 466 | if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:467:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 467 | if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v1.cpp:468:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 468 | if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); | ^~~~~~~~~~ [ 69%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT10_v2::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:141:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 141 | U32 r = ((LASpoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:142:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 142 | U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:150:49: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 150 | ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:154:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 154 | (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:172:48: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 172 | ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:173:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 173 | last_intensity[m] = ((LASpoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:190:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 190 | enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:207:78: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 207 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:212:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 212 | diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:219:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 219 | diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:225:35: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 225 | ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:226:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint10*’ casts away qualifiers [-Wcast-qual] 226 | last_height[l] = ((LASpoint10*)item)->z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:283:27: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U64*’ {aka ‘long long unsigned int*’} casts away qualifiers [-Wcast-qual] 283 | last_gpstime[0].u64 = *((U64*)item); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_GPSTIME11_v2::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:293:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 293 | this_gpstime.i64 = *((I64*)item); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB12_v2::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:508:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 508 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:509:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 509 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:510:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 510 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:511:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 511 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:512:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 512 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:513:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 513 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:514:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 514 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:518:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 518 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:523:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 523 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:530:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 530 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:535:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 535 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:536:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 536 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:541:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 541 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:546:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 546 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v2.cpp:547:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 547 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ [ 73%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v3::createAndInitModelsAndCompressors(U32, const U8*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:310:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 310 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:329:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 329 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:354:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 354 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:459:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 459 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v3::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:490:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 490 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:504:32: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 504 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:505:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 505 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:506:30: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 506 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:513:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 513 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:514:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 514 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:626:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 626 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:633:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 633 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:642:82: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 642 | contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:643:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 643 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:650:25: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 650 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:670:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:670:67: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:670:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:688:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 688 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:692:123: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 692 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:693:75: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 693 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:702:94: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 702 | contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:709:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 709 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:718:110: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 718 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:727:104: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 727 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:739:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 739 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v3::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1291:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1291 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1292:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1293:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1294:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1295:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1296:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1296 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1297:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1297 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1301:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1301 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1306:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1306 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1313:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1313 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1318:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1318 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1319:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1319 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1324:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1324 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1329:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1329 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1330:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1330 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v3::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1588:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1588 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1589:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1590:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1591:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1592:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1593:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1593 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1594:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1594 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1598:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1598 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1603:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1603 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1610:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1610 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1615:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1615 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1616:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1616 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1621:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1621 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1626:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1626 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1627:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1627 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1636:37: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1636 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1637:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1637 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1641:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1641 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v3.cpp:1646:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1646 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ [ 78%] Building CXX object src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function ‘BOOL LASwriteItemCompressed_POINT14_v4::createAndInitModelsAndCompressors(U32, const U8*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:308:36: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 308 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:327:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 327 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:352:44: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 352 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::init(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:457:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 457 | current_context = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_POINT14_v4::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:488:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 488 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:502:32: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 502 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:503:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 503 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:504:30: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 504 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:511:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 511 | U32 n = ((LASpoint14*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:512:12: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 512 | U32 r = ((LASpoint14*)item)->return_number; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:624:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 624 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:631:11: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 631 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:640:82: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 640 | contexts[current_context].ic_Z->compress(contexts[current_context].last_Z[l], ((LASpoint14*)item)->Z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:641:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 641 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:648:25: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 648 | U32 classification = ((LASpoint14*)item)->classification; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:668:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:668:67: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:668:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:686:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 686 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:690:123: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 690 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:691:75: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 691 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:700:94: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 700 | contexts[current_context].ic_scan_angle->compress(((LASpoint14*)last_item)->scan_angle, ((LASpoint14*)item)->scan_angle, gps_time_change); // if the GPS time has changed | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:707:8: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 707 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:716:110: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 716 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:725:104: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 725 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:737:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LASpoint14*’ casts away qualifiers [-Wcast-qual] 737 | gps_time.f64 = ((LASpoint14*)item)->gps_time; | ^~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGB14_v4::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1289:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1289 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1290:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1290 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1291:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1291 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1292:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1292 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1293:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1293 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1294:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1294 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1295:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1295 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1299:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1299 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1304:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1304 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1311:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1311 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1316:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1316 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1317:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1317 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1322:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1322 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1327:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1327 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1328:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1328 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp: In member function ‘virtual BOOL LASwriteItemCompressed_RGBNIR14_v4::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1586:41: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1586 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1587:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1587 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1588:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1588 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1589:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1589 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1590:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1590 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1591:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1591 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:14: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:72: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:100: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:130: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:158: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:188: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1592:216: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1592 | sym |= (((((U16*)item)[0]&0x00FF) != (((U16*)item)[1]&0x00FF)) || ((((U16*)item)[0]&0x00FF) != (((U16*)item)[2]&0x00FF)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[1]&0xFF00)) || ((((U16*)item)[0]&0xFF00) != (((U16*)item)[2]&0xFF00))) << 6; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1596:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1596 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1601:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1601 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1608:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1608 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1613:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1613 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1614:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1614 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1619:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1619 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1624:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1624 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1625:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1625 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1634:37: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1634 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1635:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1635 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1639:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1639 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); | ^~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemcompressed_v4.cpp:1644:22: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 1644 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); | ^~~~~~~~~~ [ 82%] Building CXX object src/CMakeFiles/laszip.dir/laswritepoint.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laswritepoint.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:35: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT10_BE::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:62:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 62 | *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data | ^~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_LE::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:221:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 221 | ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:222:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 222 | ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:223:42: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 223 | ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:224:50: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 224 | ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:225:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 225 | ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:226:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 226 | ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:227:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 227 | ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:228:50: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 228 | ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:229:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 229 | ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:231:10: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 231 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:233:64: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:35: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:233:132: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:234:114: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 234 | if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:235:58: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 235 | ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:236:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 236 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:237:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 237 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:238:53: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 238 | ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:242:64: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 242 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:244:56: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 244 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:245:60: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 245 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.hpp:45, from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:32: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:246:66: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:35: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:249:29: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 249 | *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp: In member function ‘virtual BOOL LASwriteItemRaw_POINT14_BE::write(const U8*, U32&)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:266:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 266 | ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:267:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 267 | ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:268:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 268 | ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:269:51: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 269 | ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:272:10: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 272 | if (((LAStempWritePoint10*)item)->extended_point_type) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:274:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:274:133: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:275:116: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 275 | if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:276:59: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 276 | ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:277:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 277 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:278:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 278 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:283:65: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 283 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:285:57: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 285 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:286:61: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 286 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.hpp:45, from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:32: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:28: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:46: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:287:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.hpp:130:63: note: in definition of macro ‘I16_QUANTIZE’ 130 | #define I16_QUANTIZE(n) (((n) >= 0) ? (I16)((n)+0.5) : (I16)((n)-0.5)) | ^ In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laswritepoint.cpp:35: /build/laszip-9jbf4T/laszip-3.4.3/src/laswriteitemraw.hpp:290:28: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘LAStempWritePoint10*’ casts away qualifiers [-Wcast-qual] 290 | ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object src/CMakeFiles/laszip.dir/laszip.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laszip.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp: In member function ‘bool LASzip::unpack(const U8*, I32)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:97:18: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 97 | compressor = *((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:99:13: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 99 | coder = *((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:101:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 101 | version_major = *((U8*)b); | ^~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:103:21: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 103 | version_minor = *((U8*)b); | ^~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:105:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 105 | version_revision = *((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:107:15: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 107 | options = *((U32*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:109:18: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U32*’ {aka ‘unsigned int*’} casts away qualifiers [-Wcast-qual] 109 | chunk_size = *((U32*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:111:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 111 | number_of_special_evlrs = *((I64*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:113:31: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘I64*’ {aka ‘long long int*’} casts away qualifiers [-Wcast-qual] 113 | offset_to_special_evlrs = *((I64*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:115:17: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 115 | num_items = *((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:119:38: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 119 | items[i].type = (LASitem::Type)*((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:121:23: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 121 | items[i].size = *((U16*)b); | ^~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip.cpp:123:26: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘U16*’ {aka ‘short unsigned int*’} casts away qualifiers [-Wcast-qual] 123 | items[i].version = *((U16*)b); | ^~~~~~~ [ 91%] Building CXX object src/CMakeFiles/laszip.dir/laszip_dll.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/laszip_dll.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp [ 95%] Building CXX object src/CMakeFiles/laszip.dir/mydefs.cpp.o cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/build/laszip-9jbf4T/laszip-3.4.3/include -I/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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 -o CMakeFiles/laszip.dir/mydefs.cpp.o -c /build/laszip-9jbf4T/laszip-3.4.3/src/mydefs.cpp In file included from /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:62: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp: In member function ‘virtual void ByteStreamInArray::getBytes(U8*, U32)’: /build/laszip-9jbf4T/laszip-3.4.3/src/bytestreamin_array.hpp:154:24: warning: cast from type ‘const U8*’ {aka ‘const unsigned char*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 154 | memcpy((void*)bytes, (void*)(data+curr), num_bytes); | ^~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geodouble_params(laszip_POINTER, laszip_U32, const laszip_F64*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1259:89: warning: cast from type ‘const laszip_F64*’ {aka ‘const double*’} to type ‘laszip_U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 1259 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_set_geoascii_params(laszip_POINTER, laszip_U32, const laszip_CHAR*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1314:87: warning: cast from type ‘const laszip_CHAR*’ {aka ‘const char*’} to type ‘laszip_U8*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] 1314 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_header_for_write(laszip_dll_struct*)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1853:117: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1853 | sprintf(laszip_dll->error, "inconsistent number_of_point_records %u and extended_number_of_point_records %llu", laszip_dll->header.number_of_point_records, laszip_dll->header.extended_number_of_point_records); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1871:133: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1871 | sprintf(laszip_dll->error, "inconsistent number_of_points_by_return[%u] %u and extended_number_of_points_by_return[%u] %llu", i, laszip_dll->header.number_of_points_by_return[i], i, laszip_dll->header.extended_number_of_points_by_return[i]); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘I32 laszip_prepare_point_for_write(laszip_dll_struct*, laszip_BOOL)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1920:76: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 1920 | sprintf(laszip_dll->error, "extended_number_of_point_records of %llu is too much for 32-bit counters of compatibility mode", laszip_dll->header.extended_number_of_point_records); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘I32 laszip_write_header(laszip_dll_struct*, const LASzip*, laszip_BOOL)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:2593:89: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘laszip_U64’ {aka ‘long unsigned int’} [-Wformat=] 2593 | sprintf(laszip_dll->warning, "header.start_of_waveform_data_packet_record is %llu. writing 0 instead.", laszip_dll->header.start_of_waveform_data_packet_record); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int laszip_U64 {aka long unsigned int} | %lu /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp: In function ‘laszip_I32 laszip_seek_point(laszip_POINTER, laszip_I64)’: /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:4551:71: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘laszip_I64’ {aka ‘long int’} [-Wformat=] 4551 | sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); | ~~~^ ~~~~~ | | | | long long int laszip_I64 {aka long int} | %ld In file included from /usr/include/string.h:495, from /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:53: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /build/laszip-9jbf4T/laszip-3.4.3/src/lasattributer.hpp:79:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /build/laszip-9jbf4T/laszip-3.4.3/src/lasattributer.hpp:80:29, inlined from ‘LASattribute::LASattribute(U32, const CHAR*, const CHAR*)’ at /build/laszip-9jbf4T/laszip-3.4.3/src/lasattributer.hpp:72:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)’ at /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1500:12: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘laszip_I32 laszip_add_vlr(laszip_POINTER, const laszip_CHAR*, laszip_U16, laszip_U16, const laszip_CHAR*, const laszip_U8*)’ at /build/laszip-9jbf4T/laszip-3.4.3/src/laszip_dll.cpp:1505:14: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [100%] Linking CXX shared library ../lib/x86_64-linux-gnu/liblaszip.so cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/laszip.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -fdebug-prefix-map=/build/laszip-9jbf4T/laszip-3.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -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,-z,now -shared -Wl,-soname,liblaszip.so.8 -o ../lib/x86_64-linux-gnu/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 -Wl,-rpath,::::::::::::::::::::::::: cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library ../lib/x86_64-linux-gnu/liblaszip.so.8.0.5 ../lib/x86_64-linux-gnu/liblaszip.so.8 ../lib/x86_64-linux-gnu/liblaszip.so make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' [100%] Built target laszip make[2]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' dh_auto_test -a create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch dh_testroot -a dh_prep -a dh_auto_install -a cd obj-x86_64-linux-gnu && make -j4 install DESTDIR=/build/laszip-9jbf4T/laszip-3.4.3/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/laszip-9jbf4T/laszip-3.4.3 -B/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/CMakeFiles /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/depend make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/depend make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/laszip-9jbf4T/laszip-3.4.3 /build/laszip-9jbf4T/laszip-3.4.3/dll /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/dll/CMakeFiles/laszip_api.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' cd /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/laszip-9jbf4T/laszip-3.4.3 /build/laszip-9jbf4T/laszip-3.4.3/src /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/src/CMakeFiles/laszip.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f dll/CMakeFiles/laszip_api.dir/build.make dll/CMakeFiles/laszip_api.dir/build make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'dll/CMakeFiles/laszip_api.dir/build'. make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/laszip.dir/build.make src/CMakeFiles/laszip.dir/build make[3]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/laszip.dir/build'. make[3]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' [ 91%] Built target laszip [100%] Built target laszip_api make[2]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[2]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' make[2]: Nothing to be done for 'preinstall'. make[2]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "None" -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip.so.8.0.5 -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip.so.8 -- Set runtime path of "/build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip.so.8.0.5" to "/usr/lib/x86_64-linux-gnu" -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip.so -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8 -- Set runtime path of "/build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5" to "/usr/lib/x86_64-linux-gnu" -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/lib/x86_64-linux-gnu/liblaszip_api.so -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/include/laszip/laszip_api.h -- Installing: /build/laszip-9jbf4T/laszip-3.4.3/debian/tmp/usr/include/laszip/laszip_api_version.h make[1]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3/obj-x86_64-linux-gnu' debian/rules override_dh_install make[1]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_install --list-missing dh_install: warning: Please use dh_missing --list-missing/--fail-missing instead dh_install: warning: This feature will be removed in compat 12. # Strip RPATH chrpath --delete debian/*/usr/lib/*/*.so.?.?.? make[1]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_installdocs -a dh_installchangelogs -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a debian/rules override_dh_makeshlibs make[1]: Entering directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_makeshlibs -V make[1]: Leaving directory '/build/laszip-9jbf4T/laszip-3.4.3' dh_shlibdeps -a dpkg-shlibdeps: warning: symbol dlsym used by debian/liblaszip-api8/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 found in none of the libraries dpkg-shlibdeps: warning: symbol dlclose used by debian/liblaszip-api8/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 found in none of the libraries dpkg-shlibdeps: warning: symbol dlopen used by debian/liblaszip-api8/usr/lib/x86_64-linux-gnu/liblaszip_api.so.8.0.5 found in none of the libraries dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package liblaszip-api8: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package liblaszip-api8: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'liblaszip-dev' in '../liblaszip-dev_3.4.3-2_amd64.deb'. dpkg-deb: building package 'liblaszip8' in '../liblaszip8_3.4.3-2_amd64.deb'. dpkg-deb: building package 'liblaszip-api8' in '../liblaszip-api8_3.4.3-2_amd64.deb'. dpkg-deb: building package 'liblaszip-api8-dbgsym' in '../liblaszip-api8-dbgsym_3.4.3-2_amd64.deb'. dpkg-deb: building package 'liblaszip8-dbgsym' in '../liblaszip8-dbgsym_3.4.3-2_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../laszip_3.4.3-2_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/laszip-9jbf4T /tmp/laszip-3.4.3-2cmpnzes2 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ojIJoaYee3... I: success in 761.6651 seconds md5: liblaszip-api8-dbgsym_3.4.3-2_amd64.deb: OK md5: liblaszip-api8_3.4.3-2_amd64.deb: OK md5: liblaszip-dev_3.4.3-2_amd64.deb: OK md5: liblaszip8-dbgsym_3.4.3-2_amd64.deb: OK md5: liblaszip8_3.4.3-2_amd64.deb: OK sha1: liblaszip-api8-dbgsym_3.4.3-2_amd64.deb: OK sha1: liblaszip-api8_3.4.3-2_amd64.deb: OK sha1: liblaszip-dev_3.4.3-2_amd64.deb: OK sha1: liblaszip8-dbgsym_3.4.3-2_amd64.deb: OK sha1: liblaszip8_3.4.3-2_amd64.deb: OK sha256: liblaszip-api8-dbgsym_3.4.3-2_amd64.deb: OK sha256: liblaszip-api8_3.4.3-2_amd64.deb: OK sha256: liblaszip-dev_3.4.3-2_amd64.deb: OK sha256: liblaszip8-dbgsym_3.4.3-2_amd64.deb: OK sha256: liblaszip8_3.4.3-2_amd64.deb: OK Checksums: OK