[00:00:00] =>> Building archivers/laszip [00:00:00] build started at 2025-08-23T16:41:03+02:00 [00:00:00] port directory: /usr/ports/archivers/laszip [00:00:00] package name: laszip-3.5.1 [00:00:00] building for: FreeBSD pkg.mfl.dk 14.3-RELEASE-p2 FreeBSD 14.3-RELEASE-p2 amd64 [00:00:00] maintained by: rhurlin@FreeBSD.org [00:00:00] port version: 3.5.1 [00:00:00] port revision: 0 [00:00:00] Makefile datestamp: -rw-r--r-- 1 root wheel 400 Aug 20 08:25 /usr/ports/archivers/laszip/Makefile [00:00:00] Ports top last git commit: 3b583574f180 [00:00:00] Ports top unclean checkout: no [00:00:02] =>> Inspecting /usr/local/poudriere/data/.m/143amd64-local/06//usr/ports/archivers/laszip for modifications to git checkout... no [00:00:02] Port dir last git commit: 5ef00052578b [00:00:02] Port dir unclean checkout: no [00:00:02] Poudriere version: poudriere-git-3.4.99.20250724 [00:00:02] Host OSVERSION: 1403000 [00:00:02] Jail OSVERSION: 1403000 [00:00:02] Job Id: 06 [00:00:02] [00:00:02] ---Begin Environment--- [00:00:02] SHELL=/bin/sh [00:00:02] OSVERSION=1403000 [00:00:02] UNAME_v=FreeBSD 14.3-RELEASE-p2 [00:00:02] UNAME_r=14.3-RELEASE-p2 [00:00:02] BLOCKSIZE=K [00:00:02] MAIL=/var/mail/root [00:00:02] MM_CHARSET=UTF-8 [00:00:02] LANG=C.UTF-8 [00:00:02] STATUS=1 [00:00:02] HOME=/root [00:00:02] PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin [00:00:02] MAKE_OBJDIR_CHECK_WRITABLE=0 [00:00:02] LOCALBASE=/usr/local [00:00:02] USER=root [00:00:02] POUDRIERE_NAME=poudriere-git [00:00:02] POUDRIERE_VERSION=3.4.99.20250724 [00:00:02] MASTERMNT=/usr/local/poudriere/data/.m/143amd64-local/ref [00:00:02] LC_COLLATE=C [00:00:02] POUDRIERE_BUILD_TYPE=bulk [00:00:02] PACKAGE_BUILDING=yes [00:00:02] SAVED_TERM=tmux-256color [00:00:02] OUTPUT_REDIRECTED_STDERR=4 [00:00:02] OUTPUT_REDIRECTED=1 [00:00:02] PWD=/usr/local/poudriere/data/.m/143amd64-local/06/.p [00:00:02] OUTPUT_REDIRECTED_STDOUT=3 [00:00:02] P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS [00:00:02] MASTERNAME=143amd64-local [00:00:02] OLDPWD=/usr/local/poudriere/data/.m/143amd64-local/ref/.p/pool [00:00:02] POUDRIERE_PKGNAME=poudriere-git-3.4.99.20250724 [00:00:02] PREFIX=/usr/local [00:00:02] POUDRIEREPATH=/usr/local/bin/poudriere [00:00:02] ---End Environment--- [00:00:02] [00:00:02] ---Begin Poudriere Port Flags/Env--- [00:00:02] PORT_FLAGS= [00:00:02] PKGENV= [00:00:02] FLAVOR= [00:00:02] MAKE_ARGS= [00:00:02] ---End Poudriere Port Flags/Env--- [00:00:02] [00:00:02] ---Begin OPTIONS List--- [00:00:02] ---End OPTIONS List--- [00:00:02] [00:00:02] --MAINTAINER-- [00:00:02] rhurlin@FreeBSD.org [00:00:02] --End MAINTAINER-- [00:00:02] [00:00:02] --PORTVERSION-- [00:00:02] 3.5.1 [00:00:02] --End PORTVERSION-- [00:00:02] [00:00:02] --PORTREVISION-- [00:00:02] 0 [00:00:02] --End PORTREVISION-- [00:00:02] [00:00:02] --CONFIGURE_ARGS-- [00:00:02] [00:00:02] --End CONFIGURE_ARGS-- [00:00:02] [00:00:02] --CONFIGURE_ENV-- [00:00:02] XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/laszip/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/laszip/work XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/laszip/work/.cache HOME=/wrkdirs/usr/ports/archivers/laszip/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/laszip/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/laszip/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh [00:00:02] --End CONFIGURE_ENV-- [00:00:02] [00:00:02] --MAKE_ENV-- [00:00:02] NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/laszip/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/laszip/work XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/laszip/work/.cache HOME=/wrkdirs/usr/ports/archivers/laszip/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/laszip/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/laszip/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/archivers/laszip/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" [00:00:02] --End MAKE_ENV-- [00:00:02] [00:00:02] --PLIST_SUB-- [00:00:02] CMAKE_BUILD_TYPE="release" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/laszip" EXAMPLESDIR="share/examples/laszip" DATADIR="share/laszip" WWWDIR="www/laszip" ETCDIR="etc/laszip" [00:00:02] --End PLIST_SUB-- [00:00:02] [00:00:02] --SUB_LIST-- [00:00:02] PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/laszip DOCSDIR=/usr/local/share/doc/laszip EXAMPLESDIR=/usr/local/share/examples/laszip WWWDIR=/usr/local/www/laszip ETCDIR=/usr/local/etc/laszip [00:00:02] --End SUB_LIST-- [00:00:02] [00:00:02] ---Begin make.conf--- [00:00:02] USE_PACKAGE_DEPENDS=yes [00:00:02] BATCH=yes [00:00:02] WRKDIRPREFIX=/wrkdirs [00:00:02] PORTSDIR=/usr/ports [00:00:02] PACKAGES=/packages [00:00:02] DISTDIR=/distfiles [00:00:02] FORCE_PACKAGE=yes [00:00:02] PACKAGE_BUILDING=yes [00:00:02] PACKAGE_BUILDING_FLAVORS=yes [00:00:02] #### /usr/local/etc/poudriere.d/make.conf #### [00:00:02] DEFAULT_VERSIONS+= ssl=openssl [00:00:02] DEFAULT_VERSIONS+= mysql=11.4m [00:00:02] DEFAULT_VERSIONS+= pgsql=17 [00:00:02] OPTIONS_SET+= LDAP [00:00:02] OPTIONS_SET+= QT6 [00:00:02] #OPTIONS_UNSET+= X11 [00:00:02] DEFAULT_VERSIONS+= php=8.3 [00:00:02] DEFAULT_VERSIONS+= samba=4.20 [00:00:02] graphics_cairo_UNSET+= XCB [00:00:02] x11-toolkits_gtk30_UNSET += ATK_BRIDGE COLORD [00:00:02] #ALLOW_UNSUPPORTED_SYSTEM= yes [00:00:02] CCACHE_DIR= /var/cache/ccache [00:00:02] WITH_CCACHE_BUILD= yes [00:00:02] OVERLAYS+= /usr/local/share/sccache/overlay [00:00:02] SCCACHE_DIR= /var/cache/ccache/sccache [00:00:02] WITH_CCACHE_BUILD=yes [00:00:02] CCACHE_DIR=/root/.ccache [00:00:02] #### Misc Poudriere #### [00:00:02] .include "/etc/make.conf.ports_env" [00:00:02] GID=0 [00:00:02] UID=0 [00:00:02] DISABLE_MAKE_JOBS=poudriere [00:00:02] ---End make.conf--- [00:00:02] --Resource limits-- [00:00:02] cpu time (seconds, -t) unlimited [00:00:02] file size (512-blocks, -f) unlimited [00:00:02] data seg size (kbytes, -d) 33554432 [00:00:02] stack size (kbytes, -s) 524288 [00:00:02] core file size (512-blocks, -c) unlimited [00:00:02] max memory size (kbytes, -m) unlimited [00:00:02] locked memory (kbytes, -l) unlimited [00:00:02] max user processes (-u) 58500 [00:00:02] open files (-n) 8192 [00:00:02] virtual mem size (kbytes, -v) unlimited [00:00:02] swap limit (kbytes, -w) unlimited [00:00:02] socket buffer size (bytes, -b) unlimited [00:00:02] pseudo-terminals (-p) unlimited [00:00:02] kqueues (-k) unlimited [00:00:02] umtx shared locks (-o) unlimited [00:00:02] pipebuf (-y) unlimited [00:00:02] --End resource limits-- [00:00:02] =================================================== [00:00:02] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:02] ===> License APACHE20 accepted by the user [00:00:02] =========================================================================== [00:00:02] =================================================== [00:00:02] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:02] ===> laszip-3.5.1 depends on file: /usr/local/sbin/pkg - not found [00:00:02] ===> Installing existing package /packages/All/pkg-2.2.2.pkg [00:00:02] [pkg.mfl.dk] Installing pkg-2.2.2... [00:00:02] [pkg.mfl.dk] Extracting pkg-2.2.2: .......... done [00:00:32] ===> laszip-3.5.1 depends on file: /usr/local/sbin/pkg - found [00:00:32] ===> Returning to build of laszip-3.5.1 [00:00:32] =========================================================================== [00:00:32] =================================================== [00:00:32] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:32] =========================================================================== [00:00:32] =================================================== [00:00:32] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:32] ===> License APACHE20 accepted by the user [00:00:32] ===> Fetching all distfiles required by laszip-3.5.1 for building [00:00:32] =========================================================================== [00:00:32] =================================================== [00:00:32] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:32] ===> License APACHE20 accepted by the user [00:00:32] ===> Fetching all distfiles required by laszip-3.5.1 for building [00:00:32] => SHA256 Checksum OK for LASzip-LASzip-3.5.1-80f9298_GH0.tar.gz. [00:00:32] =========================================================================== [00:00:32] =================================================== [00:00:32] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:32] =========================================================================== [00:00:32] =================================================== [00:00:32] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:32] ===> License APACHE20 accepted by the user [00:00:32] ===> Fetching all distfiles required by laszip-3.5.1 for building [00:00:32] ===> Extracting for laszip-3.5.1 [00:00:32] => SHA256 Checksum OK for LASzip-LASzip-3.5.1-80f9298_GH0.tar.gz. [00:00:33] =========================================================================== [00:00:33] =================================================== [00:00:33] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:33] =========================================================================== [00:00:33] =================================================== [00:00:33] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:33] ===> Patching for laszip-3.5.1 [00:00:33] =========================================================================== [00:00:33] =================================================== [00:00:33] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:33] ===> laszip-3.5.1 depends on file: /usr/local/bin/cmake - not found [00:00:33] ===> Installing existing package /packages/All/cmake-core-3.31.7.pkg [00:00:33] [pkg.mfl.dk] Installing cmake-core-3.31.7... [00:00:33] [pkg.mfl.dk] `-- Installing expat-2.7.1... [00:00:33] [pkg.mfl.dk] `-- Extracting expat-2.7.1: .......... done [00:00:33] [pkg.mfl.dk] `-- Installing jsoncpp-1.9.6_1... [00:00:33] [pkg.mfl.dk] `-- Extracting jsoncpp-1.9.6_1: .......... done [00:00:33] [pkg.mfl.dk] `-- Installing libidn2-2.3.8... [00:00:33] [pkg.mfl.dk] | `-- Installing indexinfo-0.3.1_1... [00:00:33] [pkg.mfl.dk] | `-- Extracting indexinfo-0.3.1_1: .... done [00:00:33] [pkg.mfl.dk] | `-- Installing libunistring-1.3... [00:00:33] [pkg.mfl.dk] | `-- Extracting libunistring-1.3: .......... done [00:00:33] [pkg.mfl.dk] `-- Extracting libidn2-2.3.8: .......... done [00:00:33] [pkg.mfl.dk] `-- Installing libuv-1.51.0... [00:00:33] [pkg.mfl.dk] `-- Extracting libuv-1.51.0: .......... done [00:00:33] [pkg.mfl.dk] `-- Installing openssl-3.0.17,1... [00:00:33] [pkg.mfl.dk] `-- Extracting openssl-3.0.17,1: .......... done [00:00:41] [pkg.mfl.dk] `-- Installing rhash-1.4.4_1... [00:00:41] [pkg.mfl.dk] | `-- Installing gettext-runtime-0.23.1... [00:00:41] [pkg.mfl.dk] | `-- Extracting gettext-runtime-0.23.1: .......... done [00:00:41] [pkg.mfl.dk] `-- Extracting rhash-1.4.4_1: .......... done [00:00:45] [pkg.mfl.dk] Extracting cmake-core-3.31.7: .......... done [00:00:46] ===> laszip-3.5.1 depends on file: /usr/local/bin/cmake - found [00:00:46] ===> Returning to build of laszip-3.5.1 [00:00:46] ===> laszip-3.5.1 depends on executable: ninja - not found [00:00:46] ===> Installing existing package /packages/All/ninja-1.11.1,4.pkg [00:00:46] [pkg.mfl.dk] Installing ninja-1.11.1,4... [00:00:46] [pkg.mfl.dk] `-- Installing python311-3.11.13_1... [00:00:46] [pkg.mfl.dk] | `-- Installing libffi-3.5.1... [00:00:46] [pkg.mfl.dk] | `-- Extracting libffi-3.5.1: .......... done [00:00:46] [pkg.mfl.dk] | `-- Installing mpdecimal-4.0.1... [00:00:46] [pkg.mfl.dk] | `-- Extracting mpdecimal-4.0.1: .......... done [00:00:46] [pkg.mfl.dk] | `-- Installing readline-8.2.13_2... [00:00:46] [pkg.mfl.dk] | `-- Extracting readline-8.2.13_2: .......... done [00:00:46] [pkg.mfl.dk] `-- Extracting python311-3.11.13_1: .......... done [00:00:53] [pkg.mfl.dk] Extracting ninja-1.11.1,4: ........ done [00:00:53] ===== [00:00:53] Message from python311-3.11.13_1: [00:00:53] [00:00:53] -- [00:00:53] Note that some standard Python modules are provided as separate ports [00:00:53] as they require additional dependencies. They are available as: [00:00:53] [00:00:53] py311-gdbm databases/py-gdbm@py311 [00:00:53] py311-sqlite3 databases/py-sqlite3@py311 [00:00:53] py311-tkinter x11-toolkits/py-tkinter@py311 [00:00:53] ===> laszip-3.5.1 depends on executable: ninja - found [00:00:53] ===> Returning to build of laszip-3.5.1 [00:00:53] ===> laszip-3.5.1 depends on file: /usr/local/bin/ccache - not found [00:00:53] ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [00:00:53] [pkg.mfl.dk] Installing ccache-3.7.12_8... [00:00:53] [pkg.mfl.dk] Extracting ccache-3.7.12_8: .......... done [00:00:53] Create compiler links... [00:00:53] create symlink for cc [00:00:53] create symlink for cc (world) [00:00:53] create symlink for c++ [00:00:53] create symlink for c++ (world) [00:00:53] create symlink for CC [00:00:53] create symlink for CC (world) [00:00:53] create symlink for clang [00:00:53] create symlink for clang (world) [00:00:53] create symlink for clang++ [00:00:53] create symlink for clang++ (world) [00:00:53] ===== [00:00:53] Message from ccache-3.7.12_8: [00:00:53] [00:00:53] -- [00:00:53] NOTE: [00:00:53] Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for [00:00:53] information on using ccache with FreeBSD ports and src. [00:00:53] ===> laszip-3.5.1 depends on file: /usr/local/bin/ccache - found [00:00:53] ===> Returning to build of laszip-3.5.1 [00:00:53] =========================================================================== [00:00:54] =================================================== [00:00:54] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:00:54] =========================================================================== [00:00:54] =================================================== [00:00:54] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:54] ===> Configuring for laszip-3.5.1 [00:00:54] ===> Performing out-of-source build [00:00:54] /bin/mkdir -p /wrkdirs/usr/ports/archivers/laszip/work/.build [00:01:09] -- The CXX compiler identification is Clang 19.1.7 [00:01:09] -- The C compiler identification is Clang 19.1.7 [00:01:09] -- Detecting CXX compiler ABI info [00:01:09] -- Detecting CXX compiler ABI info - done [00:01:09] -- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped [00:01:09] -- Detecting CXX compile features [00:01:09] -- Detecting CXX compile features - done [00:01:09] -- Detecting C compiler ABI info [00:01:09] -- Detecting C compiler ABI info - done [00:01:09] -- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped [00:01:09] -- Detecting C compile features [00:01:09] -- Detecting C compile features - done [00:01:12] -- Looking for C++ include unordered_map [00:01:13] -- Looking for C++ include unordered_map - found [00:01:13] CMake Warning (dev) at cmake/macros.cmake:49 (install): [00:01:13] Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run [00:01:13] "cmake --help-policy CMP0177" for policy details. Use the cmake_policy [00:01:13] command to set the policy and suppress this warning. [00:01:13] Call Stack (most recent call first): [00:01:13] dll/CMakeLists.txt:7 (LASZIP_ADD_INCLUDES) [00:01:13] This warning is for project developers. Use -Wno-dev to suppress it. [00:01:13] [00:01:13] -- Configuring done (5.0s) [00:01:13] -- Generating done (0.0s) [00:01:13] CMake Warning: [00:01:13] Manually-specified variables were not used by the project: [00:01:13] [00:01:13] CMAKE_MODULE_LINKER_FLAGS [00:01:13] CMAKE_VERBOSE_MAKEFILE [00:01:13] FETCHCONTENT_FULLY_DISCONNECTED [00:01:13] THREADS_HAVE_PTHREAD_ARG [00:01:13] [00:01:13] [00:01:13] -- Build files have been written to: /wrkdirs/usr/ports/archivers/laszip/work/.build [00:01:13] =========================================================================== [00:01:13] =================================================== [00:01:13] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:01:13] ===> Building for laszip-3.5.1 [00:01:14] [ 4% 1/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/arithmeticdecoder.cpp [00:01:16] [ 8% 2/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/arithmeticencoder.cpp [00:01:16] [ 12% 3/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -MF src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o.d -o src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/arithmeticmodel.cpp [00:01:17] [ 16% 4/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/integercompressor.cpp.o -MF src/CMakeFiles/laszip.dir/integercompressor.cpp.o.d -o src/CMakeFiles/laszip.dir/integercompressor.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/integercompressor.cpp [00:01:20] [ 20% 5/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasindex.cpp.o -MF src/CMakeFiles/laszip.dir/lasindex.cpp.o.d -o src/CMakeFiles/laszip.dir/lasindex.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasindex.cpp [00:01:22] [ 24% 6/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasinterval.cpp.o -MF src/CMakeFiles/laszip.dir/lasinterval.cpp.o.d -o src/CMakeFiles/laszip.dir/lasinterval.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasinterval.cpp [00:01:24] [ 28% 7/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasquadtree.cpp.o -MF src/CMakeFiles/laszip.dir/lasquadtree.cpp.o.d -o src/CMakeFiles/laszip.dir/lasquadtree.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasquadtree.cpp [00:01:25] [ 32% 8/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v1.cpp [00:01:25] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v1.cpp:291:30: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] [00:01:25] 291 | last_gpstime.u64 = *((U64*)item); [00:01:25] | ^ [00:01:25] 1 warning generated. [00:01:26] [ 36% 9/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v2.cpp [00:01:26] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v2.cpp:290:33: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] [00:01:26] 290 | last_gpstime[0].u64 = *((U64*)item); [00:01:26] | ^ [00:01:26] 1 warning generated. [00:01:28] [ 40% 10/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v3.cpp [00:01:28] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v3.cpp:326:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:28] 326 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; [00:01:28] | ^ [00:01:28] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v3.cpp:345:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:28] 345 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; [00:01:28] | ^ [00:01:28] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v3.cpp:370:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:28] 370 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; [00:01:28] | ^ [00:01:28] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v3.cpp:698:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:28] 698 | current_context = ((LASpoint14*)item)->scanner_channel; [00:01:28] | ^ [00:01:28] 4 warnings generated. [00:01:29] [ 44% 11/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -MF src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v4.cpp [00:01:29] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v4.cpp:324:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:29] 324 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; [00:01:29] | ^ [00:01:29] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v4.cpp:343:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:29] 343 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; [00:01:29] | ^ [00:01:29] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v4.cpp:368:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:29] 368 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; [00:01:29] | ^ [00:01:29] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreaditemcompressed_v4.cpp:696:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:29] 696 | current_context = ((LASpoint14*)item)->scanner_channel; [00:01:29] | ^ [00:01:29] 4 warnings generated. [00:01:31] [ 48% 12/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o -MF src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o.d -o src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/lasreadpoint.cpp [00:01:31] [ 52% 13/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:176:30: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 176 | I32 x_diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:177:30: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 177 | I32 y_diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:184:61: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 184 | ic_z->compress(((LASpoint10*)last_item)->z, ((LASpoint10*)item)->z, (k_bits < 19 ? k_bits : 19)); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:187:79: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 187 | I32 changed_values = ((((LASpoint10*)last_item)->intensity != ((LASpoint10*)item)->intensity) << 5) | [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:192:85: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 192 | ((((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:199:79: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 199 | ic_intensity->compress(((LASpoint10*)last_item)->intensity, ((LASpoint10*)item)->intensity); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:244:91: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:31] 244 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:296:30: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] [00:01:31] 296 | last_gpstime.u64 = *((U64*)item); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:303:30: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] [00:01:31] 303 | this_gpstime.i64 = *((I64*)item); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:456:55: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 456 | U32 sym = ((((U16*)last_item)[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:457:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 457 | sym |= ((((U16*)last_item)[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:458:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 458 | sym |= ((((U16*)last_item)[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:459:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 459 | sym |= ((((U16*)last_item)[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:460:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 460 | sym |= ((((U16*)last_item)[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:461:52: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 461 | sym |= ((((U16*)last_item)[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:463:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 463 | if (sym & (1 << 0)) ic_rgb->compress(((U16*)last_item)[0]&255,((U16*)item)[0]&255, 0); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:464:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 464 | if (sym & (1 << 1)) ic_rgb->compress(((U16*)last_item)[0]>>8,((U16*)item)[0]>>8, 1); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:465:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 465 | if (sym & (1 << 2)) ic_rgb->compress(((U16*)last_item)[1]&255,((U16*)item)[1]&255, 2); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:466:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 466 | if (sym & (1 << 3)) ic_rgb->compress(((U16*)last_item)[1]>>8,((U16*)item)[1]>>8, 3); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:467:72: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 467 | if (sym & (1 << 4)) ic_rgb->compress(((U16*)last_item)[2]&255,((U16*)item)[2]&255, 4); [00:01:31] | ^ [00:01:31] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v1.cpp:468:71: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:31] 468 | if (sym & (1 << 5)) ic_rgb->compress(((U16*)last_item)[2]>>8,((U16*)item)[2]>>8, 5); [00:01:31] | ^ [00:01:31] 21 warnings generated. [00:01:32] [ 56% 14/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:141:25: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 141 | U32 r = ((LASpoint10*)item)->return_number; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:142:25: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 142 | U32 n = ((LASpoint10*)item)->number_of_returns_of_given_pulse; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:150:62: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 150 | ((last_intensity[m] != ((LASpoint10*)item)->intensity) << 4) | [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:154:85: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 154 | (((LASpoint10*)last_item)->point_source_ID != ((LASpoint10*)item)->point_source_ID)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:172:61: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 172 | ic_intensity->compress(last_intensity[m], ((LASpoint10*)item)->intensity, (m < 3 ? m : 3)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:173:39: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 173 | last_intensity[m] = ((LASpoint10*)item)->intensity; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:190:55: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 190 | enc->encodeSymbol(m_scan_angle_rank[((LASpoint10*)item)->scan_direction_flag], U8_FOLD(item[16]-last_item[16])); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:207:91: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 207 | ic_point_source_ID->compress(((LASpoint10*)last_item)->point_source_ID, ((LASpoint10*)item)->point_source_ID); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:212:24: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 212 | diff = ((LASpoint10*)item)->x - ((LASpoint10*)last_item)->x; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:219:24: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 219 | diff = ((LASpoint10*)item)->y - ((LASpoint10*)last_item)->y; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:225:48: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 225 | ic_z->compress(last_height[l], ((LASpoint10*)item)->z, (n==1) + (k_bits < 18 ? U32_ZERO_BIT_0(k_bits) : 18)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:226:34: warning: cast from 'const unsigned char *' to 'LASpoint10 *' drops const qualifier [-Wcast-qual] [00:01:32] 226 | last_height[l] = ((LASpoint10*)item)->z; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:283:33: warning: cast from 'const unsigned char *' to 'unsigned long long *' drops const qualifier [-Wcast-qual] [00:01:32] 283 | last_gpstime[0].u64 = *((U64*)item); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:293:30: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] [00:01:32] 293 | this_gpstime.i64 = *((I64*)item); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:508:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 508 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:509:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 509 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:510:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 510 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:511:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 511 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:512:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 512 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:513:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 513 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:514:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 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; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:518:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 518 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:523:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 523 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:530:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 530 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:535:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 535 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:536:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 536 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:541:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 541 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:546:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 546 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; [00:01:32] | ^ [00:01:32] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v2.cpp:547:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:32] 547 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); [00:01:32] | ^ [00:01:32] 36 warnings generated. [00:01:33] [ 60% 15/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:310:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 310 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:329:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 329 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:354:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 354 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:459:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 459 | current_context = ((LASpoint14*)item)->scanner_channel; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:490:39: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 490 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:504:45: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 504 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:505:41: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 505 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:506:43: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 506 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:513:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 513 | U32 n = ((LASpoint14*)item)->number_of_returns; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:514:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 514 | U32 r = ((LASpoint14*)item)->return_number; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:626:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 626 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:633:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 633 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:642:95: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 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)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:643:55: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 643 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:650:38: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 650 | U32 classification = ((LASpoint14*)item)->classification; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:670:30: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:670:80: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:670:129: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 670 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:688:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 688 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:692:136: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 692 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:693:88: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 693 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:702:107: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 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 [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:709:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 709 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:718:123: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 718 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:727:117: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 727 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:739:34: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:33] 739 | gps_time.f64 = ((LASpoint14*)item)->gps_time; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1291:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1291 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1292:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1292 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1293:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1293 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1294:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1294 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1295:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1295 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1296:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1296 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1297:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1301:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1301 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1306:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1306 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1313:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1313 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1318:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1318 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1319:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1319 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1324:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1324 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1329:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1329 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1330:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1330 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1588:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1588 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1589:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1589 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1590:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1590 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1591:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1591 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1592:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1592 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1593:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1593 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1594:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 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; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1598:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1598 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1603:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1603 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1610:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1610 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1615:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1615 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1616:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1616 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1621:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1621 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1626:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1626 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1627:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1627 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1636:43: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1636 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1637:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1637 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1641:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1641 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); [00:01:33] | ^ [00:01:33] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v3.cpp:1646:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:33] 1646 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); [00:01:33] | ^ [00:01:33] 74 warnings generated. [00:01:34] [ 64% 16/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -MF src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o.d -o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:308:49: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 308 | contexts[context].last_Z[i] = ((LASpoint14*)item)->Z; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:327:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 327 | contexts[context].last_intensity[i] = ((LASpoint14*)item)->intensity; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:352:57: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 352 | contexts[context].last_gpstime[0].f64 = ((LASpoint14*)item)->gps_time; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:457:35: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 457 | current_context = ((LASpoint14*)item)->scanner_channel; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:488:39: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 488 | U32 scanner_channel = ((LASpoint14*)item)->scanner_channel; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:502:45: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 502 | BOOL point_source_change = (((LASpoint14*)item)->point_source_ID != ((LASpoint14*)last_item)->point_source_ID); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:503:41: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 503 | BOOL gps_time_change = (((LASpoint14*)item)->gps_time != ((LASpoint14*)last_item)->gps_time); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:504:43: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 504 | BOOL scan_angle_change = (((LASpoint14*)item)->scan_angle != ((LASpoint14*)last_item)->scan_angle); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:511:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 511 | U32 n = ((LASpoint14*)item)->number_of_returns; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:512:25: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 512 | U32 r = ((LASpoint14*)item)->return_number; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:624:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 624 | diff = ((LASpoint14*)item)->X - ((LASpoint14*)last_item)->X; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:631:24: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 631 | diff = ((LASpoint14*)item)->Y - ((LASpoint14*)last_item)->Y; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:640:95: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 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)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:641:55: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 641 | contexts[current_context].last_Z[l] = ((LASpoint14*)item)->Z; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:648:38: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 648 | U32 classification = ((LASpoint14*)item)->classification; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:668:30: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:668:80: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:668:129: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 668 | U32 flags = (((LASpoint14*)item)->edge_of_flight_line << 5) | (((LASpoint14*)item)->scan_direction_flag << 4) | ((LASpoint14*)item)->classification_flags; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:686:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 686 | if (((LASpoint14*)item)->intensity != ((LASpoint14*)last_item)->intensity) [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:690:136: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 690 | contexts[current_context].ic_intensity->compress(contexts[current_context].last_intensity[(cpr<<1) | gps_time_change], ((LASpoint14*)item)->intensity, cpr); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:691:88: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 691 | contexts[current_context].last_intensity[(cpr<<1) | gps_time_change] = ((LASpoint14*)item)->intensity; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:700:107: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 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 [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:707:21: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 707 | if (((LASpoint14*)item)->user_data != ((LASpoint14*)last_item)->user_data) [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:716:123: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 716 | enc_user_data->encodeSymbol(contexts[current_context].m_user_data[((LASpoint14*)last_item)->user_data/4], ((LASpoint14*)item)->user_data); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:725:117: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 725 | contexts[current_context].ic_point_source_ID->compress(((LASpoint14*)last_item)->point_source_ID, ((LASpoint14*)item)->point_source_ID); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:737:34: warning: cast from 'const unsigned char *' to 'LASpoint14 *' drops const qualifier [-Wcast-qual] [00:01:34] 737 | gps_time.f64 = ((LASpoint14*)item)->gps_time; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1289:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1289 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1290:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1290 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1291:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1291 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1292:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1292 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1293:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1293 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1294:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1294 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1295:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1299:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1299 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1304:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1304 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1311:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1311 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1316:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1316 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1317:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1317 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1322:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1322 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1327:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1327 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1328:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1328 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1586:47: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1586 | U32 sym = ((last_item[0]&0x00FF) != (((U16*)item)[0]&0x00FF)) << 0; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1587:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1587 | sym |= ((last_item[0]&0xFF00) != (((U16*)item)[0]&0xFF00)) << 1; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1588:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1588 | sym |= ((last_item[1]&0x00FF) != (((U16*)item)[1]&0x00FF)) << 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1589:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1589 | sym |= ((last_item[1]&0xFF00) != (((U16*)item)[1]&0xFF00)) << 3; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1590:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1590 | sym |= ((last_item[2]&0x00FF) != (((U16*)item)[2]&0x00FF)) << 4; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1591:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1591 | sym |= ((last_item[2]&0xFF00) != (((U16*)item)[2]&0xFF00)) << 5; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:20: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:48: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:78: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:106: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:136: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:164: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:194: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1592:222: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 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; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1596:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1596 | diff_l = ((int)(((U16*)item)[0]&255)) - (last_item[0]&255); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1601:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1601 | diff_h = ((int)(((U16*)item)[0]>>8)) - (last_item[0]>>8); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1608:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1608 | corr = ((int)(((U16*)item)[1]&255)) - U8_CLAMP(diff_l + (last_item[1]&255)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1613:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1613 | diff_l = (diff_l + (((U16*)item)[1]&255) - (last_item[1]&255)) / 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1614:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1614 | corr = ((int)(((U16*)item)[2]&255)) - U8_CLAMP(diff_l + (last_item[2]&255)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1619:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1619 | corr = ((int)(((U16*)item)[1]>>8)) - U8_CLAMP(diff_h + (last_item[1]>>8)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1624:34: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1624 | diff_h = (diff_h + (((U16*)item)[1]>>8) - (last_item[1]>>8)) / 2; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1625:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1625 | corr = ((int)(((U16*)item)[2]>>8)) - U8_CLAMP(diff_h + (last_item[2]>>8)); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1634:43: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1634 | sym = ((last_item[3]&0x00FF) != (((U16*)item)[3]&0x00FF)) << 0; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1635:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1635 | sym |= ((last_item[3]&0xFF00) != (((U16*)item)[3]&0xFF00)) << 1; [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1639:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1639 | diff_l = ((int)(((U16*)item)[3]&255)) - (last_item[3]&255); [00:01:34] | ^ [00:01:34] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemcompressed_v4.cpp:1644:28: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:34] 1644 | diff_h = ((int)(((U16*)item)[3]>>8)) - (last_item[3]>>8); [00:01:34] | ^ [00:01:34] 74 warnings generated. [00:01:36] [ 68% 17/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laswritepoint.cpp.o -MF src/CMakeFiles/laszip.dir/laswritepoint.cpp.o.d -o src/CMakeFiles/laszip.dir/laswritepoint.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswritepoint.cpp [00:01:36] In file included from /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswritepoint.cpp:35: [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:62:37: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] [00:01:36] 62 | *((U32*)&swapped[14]) = *((U32*)&item[14]); // bitfield, classification, scan_angle_rank, user_data [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:221:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 221 | ((LAStempWritePoint14*)buffer)->X = ((LAStempWritePoint10*)item)->X; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:222:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 222 | ((LAStempWritePoint14*)buffer)->Y = ((LAStempWritePoint10*)item)->Y; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:223:64: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 223 | ((LAStempWritePoint14*)buffer)->Z = ((LAStempWritePoint10*)item)->Z; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:224:72: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 224 | ((LAStempWritePoint14*)buffer)->intensity = ((LAStempWritePoint10*)item)->intensity; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:225:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 225 | ((LAStempWritePoint14*)buffer)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:226:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 226 | ((LAStempWritePoint14*)buffer)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:227:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 227 | ((LAStempWritePoint14*)buffer)->classification = (((LAStempWritePoint10*)item)->classification & 31); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:228:72: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 228 | ((LAStempWritePoint14*)buffer)->user_data = ((LAStempWritePoint10*)item)->user_data; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:229:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 229 | ((LAStempWritePoint14*)buffer)->point_source_ID = ((LAStempWritePoint10*)item)->point_source_ID; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:231:32: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 231 | if (((LAStempWritePoint10*)item)->extended_point_type) [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:233:86: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:233:154: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 233 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:234:136: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 234 | if (((LAStempWritePoint14*)buffer)->classification == 0) ((LAStempWritePoint14*)buffer)->classification = ((LAStempWritePoint10*)item)->extended_classification; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:235:80: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 235 | ((LAStempWritePoint14*)buffer)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:236:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 236 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:237:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 237 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:238:75: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 238 | ((LAStempWritePoint14*)buffer)->scan_angle = ((LAStempWritePoint10*)item)->extended_scan_angle; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:242:86: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 242 | ((LAStempWritePoint14*)buffer)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:244:78: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 244 | ((LAStempWritePoint14*)buffer)->return_number = ((LAStempWritePoint10*)item)->return_number; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:245:82: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 245 | ((LAStempWritePoint14*)buffer)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 246 | ((LAStempWritePoint14*)buffer)->scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:246:88: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:249:51: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 249 | *((F64*)&buffer[22]) = ((LAStempWritePoint10*)item)->gps_time; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:266:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 266 | ((LAStempWritePoint14*)swapped)->scan_direction_flag = ((LAStempWritePoint10*)item)->scan_direction_flag; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:267:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 267 | ((LAStempWritePoint14*)swapped)->edge_of_flight_line = ((LAStempWritePoint10*)item)->edge_of_flight_line; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:268:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 268 | ((LAStempWritePoint14*)swapped)->classification = (((LAStempWritePoint10*)item)->classification & 31); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:269:73: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 269 | ((LAStempWritePoint14*)swapped)->user_data = ((LAStempWritePoint10*)item)->user_data; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:272:32: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 272 | if (((LAStempWritePoint10*)item)->extended_point_type) [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:274:87: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:274:155: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 274 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->extended_classification_flags & 8) | (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:275:138: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 275 | if (((LAStempWritePoint14*)swapped)->classification == 0) ((LAStempWritePoint14*)swapped)->classification = ((LAStempWritePoint10*)item)->extended_classification; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:276:81: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 276 | ((LAStempWritePoint14*)swapped)->scanner_channel = ((LAStempWritePoint10*)item)->extended_scanner_channel; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:277:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 277 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->extended_return_number; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:278:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 278 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->extended_number_of_returns; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:283:87: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 283 | ((LAStempWritePoint14*)swapped)->classification_flags = (((LAStempWritePoint10*)item)->classification >> 5); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:285:79: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 285 | ((LAStempWritePoint14*)swapped)->return_number = ((LAStempWritePoint10*)item)->return_number; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:286:83: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 286 | ((LAStempWritePoint14*)swapped)->number_of_returns = ((LAStempWritePoint10*)item)->number_of_returns; [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 287 | I16 scan_angle = I16_QUANTIZE(((LAStempWritePoint10*)item)->scan_angle_rank/0.006f); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:287:60: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laswriteitemraw.hpp:290:50: warning: cast from 'const unsigned char *' to 'LAStempWritePoint10 *' drops const qualifier [-Wcast-qual] [00:01:36] 290 | ENDIAN_SWAP_64((U8*)&(((LAStempWritePoint10*)item)->gps_time), &swapped[22]); [00:01:36] | ^ [00:01:36] 43 warnings generated. [00:01:36] [ 72% 18/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip.cpp.o -MF src/CMakeFiles/laszip.dir/laszip.cpp.o.d -o src/CMakeFiles/laszip.dir/laszip.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:97:24: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 97 | compressor = *((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:99:19: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 99 | coder = *((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:101:26: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] [00:01:36] 101 | version_major = *((U8*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:103:26: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] [00:01:36] 103 | version_minor = *((U8*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:105:30: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 105 | version_revision = *((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:107:21: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] [00:01:36] 107 | options = *((U32*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:109:24: warning: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Wcast-qual] [00:01:36] 109 | chunk_size = *((U32*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:111:37: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] [00:01:36] 111 | number_of_special_evlrs = *((I64*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:113:37: warning: cast from 'const unsigned char *' to 'long long *' drops const qualifier [-Wcast-qual] [00:01:36] 113 | offset_to_special_evlrs = *((I64*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:115:23: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 115 | num_items = *((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:119:44: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 119 | items[i].type = (LASitem::Type)*((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:121:29: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 121 | items[i].size = *((U16*)b); [00:01:36] | ^ [00:01:36] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip.cpp:123:32: warning: cast from 'const unsigned char *' to 'unsigned short *' drops const qualifier [-Wcast-qual] [00:01:36] 123 | items[i].version = *((U16*)b); [00:01:36] | ^ [00:01:36] 13 warnings generated. [00:01:41] [ 76% 19/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/laszip_dll.cpp.o -MF src/CMakeFiles/laszip.dir/laszip_dll.cpp.o.d -o src/CMakeFiles/laszip.dir/laszip_dll.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:1265:101: warning: cast from 'const double *' to 'unsigned char *' drops const qualifier [-Wcast-qual] [00:01:41] 1265 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34736, (laszip_U16)(number*8), 0, (laszip_U8*)geodouble_params)) [00:01:41] | ^ [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:1320:99: warning: cast from 'const char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] [00:01:41] 1320 | if (laszip_add_vlr(laszip_dll, "LASF_Projection", 34737, (laszip_U16)(number), 0, (laszip_U8*)geoascii_params)) [00:01:41] | ^ [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:1859:165: warning: format specifies type 'unsigned long long' but the argument has type 'laszip_U64' (aka 'unsigned long') [-Wformat] [00:01:41] 1859 | 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); [00:01:41] | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:01:41] | %lu [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:1877:193: warning: format specifies type 'unsigned long long' but the argument has type 'laszip_U64' (aka 'unsigned long') [-Wformat] [00:01:41] 1877 | 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]); [00:01:41] | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:01:41] | %lu [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:1926:134: warning: format specifies type 'unsigned long long' but the argument has type 'laszip_U64' (aka 'unsigned long') [-Wformat] [00:01:41] 1926 | 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); [00:01:41] | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:01:41] | %lu [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:2599:113: warning: format specifies type 'unsigned long long' but the argument has type 'laszip_U64' (aka 'unsigned long') [-Wformat] [00:01:41] 2599 | 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); [00:01:41] | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [00:01:41] | %lu [00:01:41] /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/laszip_dll.cpp:4558:122: warning: format specifies type 'long long' but the argument has type 'laszip_I64' (aka 'long') [-Wformat] [00:01:41] 4558 | sprintf(laszip_dll->error, "seeking from index %lld to index %lld for file with %lld points", laszip_dll->p_count, index, laszip_dll->npoints); [00:01:41] | ~~~~ ^~~~~ [00:01:41] | %ld [00:01:41] 7 warnings generated. [00:01:41] [ 80% 20/25] /usr/local/libexec/ccache/c++ -DHAVE_UNORDERED_MAP=1 -DLASZIPDLL_EXPORTS -DUNORDERED -Dlaszip_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT src/CMakeFiles/laszip.dir/mydefs.cpp.o -MF src/CMakeFiles/laszip.dir/mydefs.cpp.o.d -o src/CMakeFiles/laszip.dir/mydefs.cpp.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/src/mydefs.cpp [00:01:41] [ 84% 21/25] : && /usr/local/libexec/ccache/c++ -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=src/CMakeFiles/laszip.dir/link.d -shared -Wl,-soname,liblaszip.so.8 -o lib/liblaszip.so.8.0.6 src/CMakeFiles/laszip.dir/arithmeticdecoder.cpp.o src/CMakeFiles/laszip.dir/arithmeticencoder.cpp.o src/CMakeFiles/laszip.dir/arithmeticmodel.cpp.o src/CMakeFiles/laszip.dir/integercompressor.cpp.o src/CMakeFiles/laszip.dir/lasindex.cpp.o src/CMakeFiles/laszip.dir/lasinterval.cpp.o src/CMakeFiles/laszip.dir/lasquadtree.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v1.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v2.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v3.cpp.o src/CMakeFiles/laszip.dir/lasreaditemcompressed_v4.cpp.o src/CMakeFiles/laszip.dir/lasreadpoint.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v1.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v2.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v3.cpp.o src/CMakeFiles/laszip.dir/laswriteitemcompressed_v4.cpp.o src/CMakeFiles/laszip.dir/laswritepoint.cpp.o src/CMakeFiles/laszip.dir/laszip.cpp.o src/CMakeFiles/laszip.dir/laszip_dll.cpp.o src/CMakeFiles/laszip.dir/mydefs.cpp.o -Wl,-rpath,:::::::::::::: && : [00:01:42] [ 88% 22/25] /usr/local/bin/cmake -E cmake_symlink_library lib/liblaszip.so.8.0.6 lib/liblaszip.so.8 lib/liblaszip.so && : [00:01:42] [ 92% 23/25] /usr/local/libexec/ccache/cc -Dlaszip_api_EXPORTS -I/wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/include -I/wrkdirs/usr/ports/archivers/laszip/work/.build/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -MF dll/CMakeFiles/laszip_api.dir/laszip_api.c.o.d -o dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -c /wrkdirs/usr/ports/archivers/laszip/work/LASzip-80f9298/dll/laszip_api.c [00:01:42] [ 96% 24/25] : && /usr/local/libexec/ccache/cc -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=dll/CMakeFiles/laszip_api.dir/link.d -shared -Wl,-soname,liblaszip_api.so.8 -o lib/liblaszip_api.so.8.0.6 dll/CMakeFiles/laszip_api.dir/laszip_api.c.o -Wl,-rpath,:::::::::::::: && : [00:01:42] [100% 25/25] /usr/local/bin/cmake -E cmake_symlink_library lib/liblaszip_api.so.8.0.6 lib/liblaszip_api.so.8 lib/liblaszip_api.so && : [00:01:42] =========================================================================== [00:01:42] =================================================== [00:01:42] ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 [00:01:42] =========================================================================== [00:01:42] =================================================== [00:01:42] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:01:42] ===> Staging for laszip-3.5.1 [00:01:42] ===> Generating temporary packing list [00:01:42] [ 0% 1/1] cd /wrkdirs/usr/ports/archivers/laszip/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake [00:01:42] -- Install configuration: "Release" [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip.so.8.0.6 [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip.so.8 [00:01:42] -- Set non-toolchain portion of runtime path of "/wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip.so.8.0.6" to "/usr/local/lib" [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip.so [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip_api.so.8.0.6 [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip_api.so.8 [00:01:42] -- Set non-toolchain portion of runtime path of "/wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip_api.so.8.0.6" to "/usr/local/lib" [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/lib/liblaszip_api.so [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/include/laszip/laszip_api.h [00:01:42] -- Installing: /wrkdirs/usr/ports/archivers/laszip/work/stage/usr/local/include/laszip/laszip_api_version.h [00:01:42] ====> Compressing man pages (compress-man) [00:01:43] =========================================================================== [00:01:43] =================================================== [00:01:43] ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-08-23T14:41:03+00:00' 'PKG_NOTE_ports_top_git_hash=3b583574f180' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=5ef00052578b' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20250724' NO_DEPENDS=yes USER=root UID=0 GID=0 [00:01:43] ===> Building packages for laszip-3.5.1 [00:01:43] ===> Building laszip-3.5.1 [00:01:46] =========================================================================== [00:01:46] =>> Cleaning up wrkdir [00:01:46] ===> Cleaning for laszip-3.5.1 [00:01:47] build of archivers/laszip | laszip-3.5.1 ended at 2025-08-23T16:42:50+02:00 [00:01:47] build time: 00:01:58