=>> Building devel/re2c build started at Thu Nov 16 21:45:58 CST 2023 port directory: /usr/ports/devel/re2c package name: re2c-3.0 building for: FreeBSD 140amd64-current-job-05 14.0-RELEASE FreeBSD 14.0-RELEASE amd64 maintained by: chalpin@cs.wisc.edu Makefile ident: Poudriere version: 3.3.7_1 Host OSVERSION: 1400097 Jail OSVERSION: 1400097 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE UNAME_r=14.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root USE_COLORS=no LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.7_1 MASTERMNT=/poudriere/data/.m/140amd64-current/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color PWD=/poudriere/data/.m/140amd64-current/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=140amd64-current SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/140amd64-current/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for re2c-3.0: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples LIBRE2C=off: Build libre2c (Experimental) RE2GO=on: Build RE2GO (identical to re2c --lang go) RE2RUST=on: Build RE2RUST (identical to re2c --lang rust) ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- chalpin@cs.wisc.edu --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/re2c/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/re2c/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/re2c/work/.cache HOME=/wrkdirs/usr/ports/devel/re2c/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/re2c/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/re2c/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/re2c/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/re2c/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/re2c/work/.cache HOME=/wrkdirs/usr/ports/devel/re2c/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/re2c/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/re2c/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/devel/re2c/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LIBRE2C="@comment " NO_LIBRE2C="" RE2GO="" NO_RE2GO="@comment " RE2RUST="" NO_RE2RUST="@comment " CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd14 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/re2c" EXAMPLESDIR="share/examples/re2c" DATADIR="share/re2c" WWWDIR="www/re2c" ETCDIR="etc/re2c" --End PLIST_SUB-- --SUB_LIST-- DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " LIBRE2C="@comment " NO_LIBRE2C="" RE2GO="" NO_RE2GO="@comment " RE2RUST="" NO_RE2RUST="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd14 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/re2c DOCSDIR=/usr/local/share/doc/re2c EXAMPLESDIR=/usr/local/share/examples/re2c WWWDIR=/usr/local/www/re2c ETCDIR=/usr/local/etc/re2c --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /poudriere/control/default-make.conf #### #DEFAULT_VERSIONS+=apache=2.4 #DEFAULT_VERSIONS+=corosync=3 #DEFAULT_VERSIONS+=gcc=12 DEFAULT_VERSIONS+=ghostscript=agpl DEFAULT_VERSIONS+=java=17 DEFAULT_VERSIONS+=linux=c7_64 #DEFAULT_VERSIONS+=llvm=17 #DEFAULT_VERSIONS+=lua=5.4 #DEFAULT_VERSIONS+=mono=5.20 DEFAULT_VERSIONS+=mysql=10.11m #DEFAULT_VERSIONS+=perl5=5.38 DEFAULT_VERSIONS+=pgsql=15 #DEFAULT_VERSIONS+=php=8.0 #DEFAULT_VERSIONS+=python2=2.7 #DEFAULT_VERSIONS+=python3=3.9 #DEFAULT_VERSIONS+=python=3.9 #DEFAULT_VERSIONS+=samba=4.16 #DEFAULT_VERSIONS+=ssl=libressl DEFAULT_VERSIONS+=ssl=base DEFAULT_VERSIONS+=tcltk=8.6 WANT_OPENLDAP_SASL=yes # We play ball with... LICENSES_GROUPS_ACCEPTED+=FSF LICENSES_GROUPS_ACCEPTED+=OSI LICENSES_GROUPS_ACCEPTED+=COPYFREE LICENSES_GROUPS_ACCEPTED+=FONTS LICENSES_ACCEPTED+=GPLv2+ LICENSES_ACCEPTED+=MSPAT LICENSES_ACCEPTED+=NONE LICENSES_ACCEPTED+='GPLV2+ MSPAT' # Until 1.18 gets its modules crap sorted #GO_PORT=lang/go117 # Ehh, screw it. DISABLE_LICENSES=yes # FINALLY. BUILD_ALL_PYTHON_FLAVORS=yes # Duh WITH_PKGNG=yes # Workaround for FreeBSD PR 201193 WITH_MPM=event # Workaround for FreeBSD PR 234914 -- JTFC, FreeBSD, figure it out. .if ${.CURDIR:M*/www/mod_php7[0-9]} CONFIGURE_ENV+= pthreads_working="yes" .endif #MESA_LLVM_VER = 13 # ports infrastructure dudes are hacks. security_p5-GSSAPI_SET = GSSAPI_MIT OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_HEIMDAL OPTIONS_UNSET += WAYLAND OPTIONS_SET += GSSAPI_MIT #KRB5_VERSION=121 #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT #OPTIONS_SET += GSSAPI_HEIMDAL WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== =========================================================================== =================================================== ===> re2c-3.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [140amd64-current-job-05] Installing pkg-1.20.9... [140amd64-current-job-05] Extracting pkg-1.20.9: .......... done ===> re2c-3.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of re2c-3.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by re2c-3.0 for building =========================================================================== =================================================== ===> Fetching all distfiles required by re2c-3.0 for building => SHA256 Checksum OK for re2c-3.0.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by re2c-3.0 for building ===> Extracting for re2c-3.0 => SHA256 Checksum OK for re2c-3.0.tar.xz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for re2c-3.0 =========================================================================== =================================================== ===> re2c-3.0 depends on executable: bison - not found ===> Installing existing package /packages/All/bison-3.8.2,1.pkg [140amd64-current-job-05] Installing bison-3.8.2,1... [140amd64-current-job-05] `-- Installing gettext-runtime-0.22.3... [140amd64-current-job-05] | `-- Installing indexinfo-0.3.1... [140amd64-current-job-05] | `-- Extracting indexinfo-0.3.1: . done [140amd64-current-job-05] `-- Extracting gettext-runtime-0.22.3: .......... done [140amd64-current-job-05] `-- Installing libtextstyle-0.22.3... [140amd64-current-job-05] `-- Extracting libtextstyle-0.22.3: .......... done [140amd64-current-job-05] `-- Installing m4-1.4.19,1... [140amd64-current-job-05] | `-- Installing libsigsegv-2.14... [140amd64-current-job-05] | `-- Extracting libsigsegv-2.14: ..... done [140amd64-current-job-05] `-- Extracting m4-1.4.19,1: .......... done [140amd64-current-job-05] `-- Installing readline-8.2.1... [140amd64-current-job-05] `-- Extracting readline-8.2.1: .......... done [140amd64-current-job-05] Extracting bison-3.8.2,1: .......... done ===== Message from libsigsegv-2.14: -- Note that the stackoverflow handling functions of this library need procfs mounted on /proc. ===> re2c-3.0 depends on executable: bison - found ===> Returning to build of re2c-3.0 ===> re2c-3.0 depends on executable: rst2man - not found ===> Installing existing package /packages/All/py39-docutils-0.19,1.pkg [140amd64-current-job-05] Installing py39-docutils-0.19,1... [140amd64-current-job-05] `-- Installing py39-pygments-2.16.1... [140amd64-current-job-05] | `-- Installing python39-3.9.18... [140amd64-current-job-05] | | `-- Installing libffi-3.4.4... [140amd64-current-job-05] | | `-- Extracting libffi-3.4.4: .......... done [140amd64-current-job-05] | | `-- Installing mpdecimal-2.5.1... [140amd64-current-job-05] | | `-- Extracting mpdecimal-2.5.1: .......... done [140amd64-current-job-05] | `-- Extracting python39-3.9.18: .......... done [140amd64-current-job-05] `-- Extracting py39-pygments-2.16.1: .......... done [140amd64-current-job-05] `-- Installing py39-setuptools-63.1.0_1... [140amd64-current-job-05] `-- Extracting py39-setuptools-63.1.0_1: .......... done [140amd64-current-job-05] Extracting py39-docutils-0.19,1: .......... done ===== Message from python39-3.9.18: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===> re2c-3.0 depends on executable: rst2man - found ===> Returning to build of re2c-3.0 ===> re2c-3.0 depends on file: /usr/local/bin/cmake - not found ===> Installing existing package /packages/All/cmake-core-3.27.7.pkg [140amd64-current-job-05] Installing cmake-core-3.27.7... [140amd64-current-job-05] `-- Installing expat-2.5.0... [140amd64-current-job-05] `-- Extracting expat-2.5.0: .......... done [140amd64-current-job-05] `-- Installing jsoncpp-1.9.5... [140amd64-current-job-05] `-- Extracting jsoncpp-1.9.5: .......... done [140amd64-current-job-05] `-- Installing libuv-1.47.0... [140amd64-current-job-05] `-- Extracting libuv-1.47.0: .......... done [140amd64-current-job-05] `-- Installing rhash-1.4.4... [140amd64-current-job-05] `-- Extracting rhash-1.4.4: .......... done [140amd64-current-job-05] Extracting cmake-core-3.27.7: .......... done ===> re2c-3.0 depends on file: /usr/local/bin/cmake - found ===> Returning to build of re2c-3.0 ===> re2c-3.0 depends on executable: ninja - not found ===> Installing existing package /packages/All/ninja-1.11.1,2.pkg [140amd64-current-job-05] Installing ninja-1.11.1,2... [140amd64-current-job-05] Extracting ninja-1.11.1,2: ..... done ===> re2c-3.0 depends on executable: ninja - found ===> Returning to build of re2c-3.0 ===> re2c-3.0 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_4.pkg [140amd64-current-job-05] Installing ccache-3.7.12_4... [140amd64-current-job-05] Extracting ccache-3.7.12_4: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> re2c-3.0 depends on file: /usr/local/bin/ccache - found ===> Returning to build of re2c-3.0 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for re2c-3.0 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/devel/re2c/work/.build -- The C compiler identification is Clang 16.0.6 -- The CXX compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test cxxflag__W -- Performing Test cxxflag__W - Success -- Performing Test cxxflag__Wall -- Performing Test cxxflag__Wall - Success -- Performing Test cxxflag__Wextra -- Performing Test cxxflag__Wextra - Success -- Performing Test cxxflag__Weffc__ -- Performing Test cxxflag__Weffc__ - Success -- Performing Test cxxflag__pedantic -- Performing Test cxxflag__pedantic - Success -- Performing Test cxxflag__Wformat_2 -- Performing Test cxxflag__Wformat_2 - Success -- Performing Test cxxflag__Wredundant_decls -- Performing Test cxxflag__Wredundant_decls - Success -- Performing Test cxxflag__Wsuggest_attribute_format -- Performing Test cxxflag__Wsuggest_attribute_format - Failed -- Performing Test cxxflag__Wconversion -- Performing Test cxxflag__Wconversion - Success -- Performing Test cxxflag__Wsign_conversion -- Performing Test cxxflag__Wsign_conversion - Success -- Performing Test cxxflag__Werror_return_type -- Performing Test cxxflag__Werror_return_type - Success -- Performing Test cxxflag__Weverything -- Performing Test cxxflag__Weverything - Success -- Performing Test cxxflag__fdiagnostics_color_always -- Performing Test cxxflag__fdiagnostics_color_always - Success -- C compiler flags: -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -- C++ compiler flags: -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -- Linker flags for executables: -fstack-protector-strong -- Linker flags for shared libs: -fstack-protector-strong -- Release C compiler flags: -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -- Release C++ compiler flags: -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -- Release linker flags for executables: -- Release linker flags for shared libs: -- Found BISON: /usr/local/bin/bison (found version "3.8.2") -- Found Python3: /usr/local/bin/python3.9 (found version "3.9.18") found components: Interpreter -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of char -- Check size of char - done -- Check size of short -- Check size of short - done -- Check size of int -- Check size of int - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of __int64 -- Check size of __int64 - failed -- Check size of void * -- Check size of void * - done -- Check size of 0l -- Check size of 0l - done -- Check size of 0ll -- Check size of 0ll - done -- Check size of 0i8 -- Check size of 0i8 - failed -- Writing config.h -- Configuring done (16.3s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BOOST_PYTHON_SUFFIX CMAKE_COLOR_MAKEFILE CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE FETCHCONTENT_FULLY_DISCONNECTED Python_ADDITIONAL_VERSIONS Python_EXECUTABLE THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /wrkdirs/usr/ports/devel/re2c/work/.build =========================================================================== =================================================== ===> Building for re2c-3.0 [ 0% 6/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_range.dir/src/test/range/test.cc.o -MF CMakeFiles/re2c_test_range.dir/src/test/range/test.cc.o.d -o CMakeFiles/re2c_test_range.dir/src/test/range/test.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/range/test.cc In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/range/test.cc:4: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/test/range/test-impl.h:5: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/range.h:8: /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/fixed_allocator.h:42:17: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] T * p = slabs.back() + index; ^~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/range.h:58:20: note: in instantiation of member function 'fixed_allocator_t::alloc' requested here Range *r = alc.alloc(); ^ 1 warning generated. [ 0% 7/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/test/s_to_n32_unsafe/test.cc.o -MF CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/test/s_to_n32_unsafe/test.cc.o.d -o CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/test/s_to_n32_unsafe/test.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:13:57: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static char * u64_to_s_fastest_ever (uint64_t u, char * s) ~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:16:12: note: used in pointer arithmetic here *--s = '0'; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:21:16: note: used in pointer arithmetic here *--s = static_cast (d); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:30:10: warning: 's' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char s [DIGITS]; ~~~~~^~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:31:26: note: used in pointer arithmetic here char * const s_end = s + DIGITS; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:44:10: warning: 's' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char s [DIGITS]; ~~~~~^~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:45:26: note: used in pointer arithmetic here char * const s_end = s + DIGITS; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:49:12: warning: 's_start' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char * s_start = u64_to_s_fastest_ever (i_abs, s_end); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/s_to_n32_unsafe/test.cc:52:12: note: used in pointer arithmetic here *--s_start = '-'; ^~~~~~~ 4 warnings generated. [ 1% 8/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_range.dir/src/util/range.cc.o -MF CMakeFiles/re2c_test_range.dir/src/util/range.cc.o.d -o CMakeFiles/re2c_test_range.dir/src/util/range.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/range.cc In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/range.cc:1: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/range.h:8: /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/fixed_allocator.h:42:17: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] T * p = slabs.back() + index; ^~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/range.h:58:20: note: in instantiation of member function 'fixed_allocator_t::alloc' requested here Range *r = alc.alloc(); ^ 1 warning generated. [ 1% 9/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/parse/lex.cc src/parse/lex.cc && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/parse/lex.h src/parse/lex.h [ 1% 10/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/util/s_to_n32_unsafe.cc.o -MF CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/util/s_to_n32_unsafe.cc.o.d -o CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/util/s_to_n32_unsafe.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:10:36: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool s_to_u32_unsafe (const char * s, const char * s_end, uint32_t & number) ~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:13:26: note: used in pointer arithmetic here for (; s != s_end; ++s) ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:28:36: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] bool s_to_i32_unsafe (const char * s, const char * s_end, int32_t & number) ~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:33:11: note: used in pointer arithmetic here ++s; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:34:30: note: used in pointer arithmetic here for (; s != s_end; ++s) ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/util/s_to_n32_unsafe.cc:46:30: note: used in pointer arithmetic here for (; s != s_end; ++s) ^ 2 warnings generated. [ 2% 11/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/parse/lex_conf.cc src/parse/lex_conf.cc [ 2% 12/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_argsubst.dir/src/test/argsubst/test.cc.o -MF CMakeFiles/re2c_test_argsubst.dir/src/test/argsubst/test.cc.o.d -o CMakeFiles/re2c_test_argsubst.dir/src/test/argsubst/test.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/argsubst/test.cc In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/argsubst/test.cc:3: /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:30:17: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *s = str.c_str(), *e = s + str.length(), *p, *q; ~~~~~~~~~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/argsubst/test.cc:13:11: note: in instantiation of function template specialization 're2c::argsubst' requested here re2c::argsubst(os, stub, arg, allow_unnamed, val); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:30:39: note: used in pointer arithmetic here const char *s = str.c_str(), *e = s + str.length(), *p, *q; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:51:15: note: used in pointer arithmetic here ++s; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:30:58: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *s = str.c_str(), *e = s + str.length(), *p, *q; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:36:9: note: used in pointer arithmetic here p += stub.length(); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:37:32: note: used in pointer arithmetic here q = *p == '{' ? strchr(p + 1, '}') : NULL; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:39:53: note: used in pointer arithmetic here if (q && l == (size_t)(q - p - 1) && memcmp(p + 1, arg, l) == 0) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:30:62: warning: 'q' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *s = str.c_str(), *e = s + str.length(), *p, *q; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/helpers.h:42:17: note: used in pointer arithmetic here s = q + 1; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/argsubst/test.cc:8:20: warning: unused function 'f' [-Wunused-function] static std::string f(const std::string &str, const std::string &stub, ^ 4 warnings generated. [ 3% 13/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_argsubst.dir/src/codegen/helpers.cc.o -MF CMakeFiles/re2c_test_argsubst.dir/src/codegen/helpers.cc.o.d -o CMakeFiles/re2c_test_argsubst.dir/src/codegen/helpers.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/helpers.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/helpers.cc:23:25: warning: 'sHex' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static const char * sHex = "0123456789ABCDEF"; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/helpers.cc:24:12: note: used in buffer access here return sHex[c & 0x0F]; ^~~~ 1 warning generated. [ 3% 14/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/options/parse_opts.cc src/options/parse_opts.cc [ 3% 15/253] : && /usr/local/libexec/ccache/c++ -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-strong CMakeFiles/re2c_test_range.dir/src/test/range/test.cc.o CMakeFiles/re2c_test_range.dir/src/util/range.cc.o -o re2c_test_range && : [ 4% 16/253] : && /usr/local/libexec/ccache/c++ -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-strong CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/test/s_to_n32_unsafe/test.cc.o CMakeFiles/re2c_test_s_to_n32_unsafe.dir/src/util/s_to_n32_unsafe.cc.o -o re2c_test_s_to_n32_unsafe && : [ 4% 17/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E make_directory src/parse && /usr/local/bin/bison --defines="src/parse/parser.h" -o src/parse/parser.cc ../re2c-3.0/src/parse/parser.ypp && /usr/local/bin/cmake -E copy_if_different src/parse/parser.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/parse/parser.cc && /usr/local/bin/cmake -E copy_if_different src/parse/parser.h /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/parse/parser.h [ 5% 17/253] : && /usr/local/libexec/ccache/c++ -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-strong CMakeFiles/re2c_test_argsubst.dir/src/test/argsubst/test.cc.o CMakeFiles/re2c_test_argsubst.dir/src/codegen/helpers.cc.o -o re2c_test_argsubst && : [ 5% 17/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E copy /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/msg/ver_to_vernum.cc src/msg/ver_to_vernum.cc [ 5% 19/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c_test_ver_to_vernum.dir/src/test/ver_to_vernum/test.cc.o -MF CMakeFiles/re2c_test_ver_to_vernum.dir/src/test/ver_to_vernum/test.cc.o.d -o CMakeFiles/re2c_test_ver_to_vernum.dir/src/test/ver_to_vernum/test.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/ver_to_vernum/test.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/ver_to_vernum/test.cc:14:25: warning: 'EXAMPLES' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const examples_t EXAMPLES[] = ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/test/ver_to_vernum/test.cc:116:32: note: used in buffer access here const examples_t & e = EXAMPLES[i]; ^~~~~~~~ 1 warning generated. [ 6% 19/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIC -MD -MT CMakeFiles/re2c_objects_autogen_ver_to_vernum.dir/src/msg/ver_to_vernum.cc.o -MF CMakeFiles/re2c_objects_autogen_ver_to_vernum.dir/src/msg/ver_to_vernum.cc.o.d -o CMakeFiles/re2c_objects_autogen_ver_to_vernum.dir/src/msg/ver_to_vernum.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/ver_to_vernum.cc ../src/msg/ver_to_vernum.re:14:17: warning: 'YYCURSOR' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char *YYCURSOR = ver, *YYMARKER, ~~~~~~~~~~~~^~~~~~~~~~~~~~ src/msg/ver_to_vernum.cc:75:4: note: used in pointer arithmetic here ++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:81:24: note: used in pointer arithmetic here yych = *(YYMARKER = ++YYCURSOR); ^~~~~~~~ src/msg/ver_to_vernum.cc:98:4: note: used in pointer arithmetic here ++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:125:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:137:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:150:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:167:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:175:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:184:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:197:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:211:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:219:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:230:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:239:12: note: used in pointer arithmetic here yych = *++YYCURSOR; ^~~~~~~~ src/msg/ver_to_vernum.cc:34:29: warning: 'yybm' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] static const unsigned char yybm[] = { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ src/msg/ver_to_vernum.cc:169:6: note: used in buffer access here if (yybm[0+yych] & 128) { ^~~~ src/msg/ver_to_vernum.cc:212:6: note: used in buffer access here if (yybm[0+yych] & 128) { ^~~~ ../src/msg/ver_to_vernum.re:36:14: warning: 'buffer' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] char buffer[SIZE], *q, *q0; ~~~~~^~~~~~~~~~~~ ../src/msg/ver_to_vernum.re:40:18: note: used in pointer arithmetic here q0 = buffer + 2 * i; ^~~~~~ ../src/msg/ver_to_vernum.re:41:18: note: used in pointer arithmetic here q = buffer + 2 * (i + 1); ^~~~~~ ../src/msg/ver_to_vernum.re:36:29: warning: 'q' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] char buffer[SIZE], *q, *q0; ~~~~~~~~~~~~~~~~~~~~^ ../src/msg/ver_to_vernum.re:44:31: note: used in pointer arithmetic here while (p > p0) *--q = *--p; ^ ../src/msg/ver_to_vernum.re:45:31: note: used in pointer arithmetic here while (q > q0) *--q = '0'; ^ ../src/msg/ver_to_vernum.re:37:22: warning: 'bounds' is an unsafe buffer that does not perform bounds checks [-Wunsafe-buffer-usage] const char * bounds[] = {p1, e1, p2, e2, p3, e3}, *p, *p0; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/msg/ver_to_vernum.re:42:18: note: used in buffer access here p0 = bounds[2 * i]; ^~~~~~ ../src/msg/ver_to_vernum.re:43:18: note: used in buffer access here p = bounds[2 * i + 1]; ^~~~~~ ../src/msg/ver_to_vernum.re:37:60: warning: 'p' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const char * bounds[] = {p1, e1, p2, e2, p3, e3}, *p, *p0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ../src/msg/ver_to_vernum.re:44:38: note: used in pointer arithmetic here while (p > p0) *--q = *--p; ^ 6 warnings generated. [ 6% 20/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg && /usr/local/bin/rst2man /wrkdirs/usr/ports/devel/re2c/work/.build/doc/help.rst /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/help.cc.1 && /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/build/gen_help.sh /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/help.cc.1 /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/help.cc && /usr/local/bin/cmake -E copy_if_different /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/help.cc /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/src/msg/help.cc [ 7% 20/253] : && /usr/local/libexec/ccache/c++ -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fstack-protector-strong CMakeFiles/re2c_objects_autogen_ver_to_vernum.dir/src/msg/ver_to_vernum.cc.o CMakeFiles/re2c_test_ver_to_vernum.dir/src/test/ver_to_vernum/test.cc.o -o re2c_test_ver_to_vernum && : [ 7% 20/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/devel/re2c/work/.build/doc && /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/build/split_man.sh /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst.go go && /usr/local/bin/rst2man --tab-width=4 /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst.go /wrkdirs/usr/ports/devel/re2c/work/.build/doc/re2go.1 && /usr/local/bin/cmake -E copy_if_different /wrkdirs/usr/ports/devel/re2c/work/.build/doc/re2go.1 /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/doc/re2go.1 [ 7% 20/253] cd /wrkdirs/usr/ports/devel/re2c/work/.build && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/devel/re2c/work/.build/doc && /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/build/split_man.sh /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst.c c && /usr/local/bin/rst2man --tab-width=4 /wrkdirs/usr/ports/devel/re2c/work/.build/doc/manpage.rst.c /wrkdirs/usr/ports/devel/re2c/work/.build/doc/re2c.1 && /usr/local/bin/cmake -E copy_if_different /wrkdirs/usr/ports/devel/re2c/work/.build/doc/re2c.1 /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/bootstrap/doc/re2c.1 [ 8% 26/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIC -MD -MT CMakeFiles/re2c_objects_autogen.dir/src/msg/help.cc.o -MF CMakeFiles/re2c_objects_autogen.dir/src/msg/help.cc.o.d -o CMakeFiles/re2c_objects_autogen.dir/src/msg/help.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/.build/src/msg/help.cc [ 8% 27/253] /usr/local/libexec/ccache/c++ -DRE2C_STDLIB_DIR=\"/usr/local/share/re2c/stdlib\" -I/wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/. -I/wrkdirs/usr/ports/devel/re2c/work/.build -W -Wall -Wextra -Weffc++ -pedantic -Wformat=2 -Wredundant-decls -Wconversion -Wsign-conversion -Werror=return-type -Weverything -Wno-unknown-warning-option -Wno-reserved-id-macro -Wno-padded -Wno-old-style-cast -Wno-nested-anon-types -Wno-global-constructors -Wno-shadow-field-in-constructor -Wno-undefined-func-template -fdiagnostics-color=always -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c++98 -fPIE -MD -MT CMakeFiles/re2c.dir/src/codegen/code_goto.cc.o -MF CMakeFiles/re2c.dir/src/codegen/code_goto.cc.o.d -o CMakeFiles/re2c.dir/src/codegen/code_goto.cc.o -c /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:5: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/adfa/adfa.h:11: /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/code.h:77:44: warning: unused parameter 'check_used' [-Wunused-parameter] Scratchbuf& label(const Label &l, bool check_used = true) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:29:57: warning: 'ranges_end' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] int64_t *ranges = alc.alloct(nspans * 2), *ranges_end = ranges; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:60:22: note: used in pointer arithmetic here *ranges_end++ = ub; ^~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:61:22: note: used in pointer arithmetic here *ranges_end++ = s->ub; ^~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:30:17: warning: 'cases' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] CodeGoCase *cases = go->cases, *c; ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:45:15: note: used in pointer arithmetic here ++cases; ^~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:30:37: warning: 'c' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] CodeGoCase *cases = go->cases, *c; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:39:42: note: used in pointer arithmetic here for (c = go->cases; c < cases; ++c) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:79:38: note: used in pointer arithmetic here for (c = go->cases; c < cases; ++c) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:31:17: warning: 'span' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const Span *span = spans, *endspan = span + nspans, *s; ~~~~~~~~~~~~^~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:31:42: note: used in pointer arithmetic here const Span *span = spans, *endspan = span + nspans, *s; ^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:33:30: note: used in pointer arithmetic here for (; span < endspan; ++span) { ^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:57:47: note: used in pointer arithmetic here int64_t ub = span == spans ? 0 : (span - 1)->ub; ^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:31:32: warning: 'endspan' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const Span *span = spans, *endspan = span + nspans, *s; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:78:24: note: used in pointer arithmetic here State *defstate = (endspan - 1)->to; ^~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:31:58: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] const Span *span = spans, *endspan = span + nspans, *s; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:58:43: note: used in pointer arithmetic here for (s = span; s < endspan; ++s) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:97:59: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static CodeGoIfB *code_goifb(code_alc_t &alc, const Span *s, uint32_t n, State *next, ~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:108:40: note: used in buffer access here x->goelse = code_goif(alc, ekind, &s[l], h, next, skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:106:35: note: used in buffer access here x->cond = code_cmp(alc, "<=", s[l - 1].ub - 1); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:115:28: warning: unsafe buffer access [-Wunsafe-buffer-usage] CodeGoIfL::Branch &b = go->branches[go->nbranches++]; ^~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:130:59: warning: 's' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static CodeGoIfL *code_goifl(code_alc_t &alc, const Span *s, uint32_t n, State *next, ~~~~~~~~~~~~^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:155:20: note: used in buffer access here && s[1].ub - s[0].ub == 1 ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:166:20: note: used in buffer access here && s[2].tags == s[0].tags) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:165:20: note: used in buffer access here && s[2].to == s[0].to ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:149:47: note: used in buffer access here add_branch(x, cmp, s[1].to, next, s[1], skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:154:20: note: used in buffer access here && s[1].to == next ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:156:20: note: used in buffer access here && s[2].to == s[0].to ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:157:20: note: used in buffer access here && s[2].tags == s[0].tags) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:160:45: note: used in buffer access here add_branch(x, NULL, NULL, next, s[1], skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:164:20: note: used in buffer access here && s[1].ub - s[0].ub == 1 ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:149:32: note: used in buffer access here add_branch(x, cmp, s[1].to, next, s[1], skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:168:32: note: used in buffer access here add_branch(x, cmp, s[1].to, next, s[1], skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:168:47: note: used in buffer access here add_branch(x, cmp, s[1].to, next, s[1], skip, eof, opts); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:170:13: note: used in pointer arithmetic here s += 2; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:176:13: note: used in pointer arithmetic here s += 1; ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:197:61: warning: 'sp' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static CodeGoSwIf *code_goswif(code_alc_t &alc, const Span *sp, uint32_t nsp, ~~~~~~~~~~~~^~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:202:29: note: used in buffer access here || (nsp > 8 && (sp[nsp - 2].ub - sp[0].ub <= 3 * (nsp - 2)))) { ^~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:220:29: warning: 'new_span' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static uint32_t unmap(Span *new_span, const Span *old_span, uint32_t old_nspans, ~~~~~~^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:234:17: note: used in buffer access here new_span[new_nspans].tags = old_span[i].tags; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:233:17: note: used in buffer access here new_span[new_nspans].ub = old_span[i].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:240:9: note: used in buffer access here new_span[new_nspans - 1].ub = old_span[old_nspans - 1].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:232:17: note: used in buffer access here new_span[new_nspans].to = old_span[i].to; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:228:20: note: used in buffer access here && new_span[new_nspans - 1].tags == old_span[i].tags) { ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:229:17: note: used in buffer access here new_span[new_nspans - 1].ub = old_span[i].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:227:20: note: used in buffer access here && new_span[new_nspans - 1].to == old_span[i].to ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:220:51: warning: 'old_span' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static uint32_t unmap(Span *new_span, const Span *old_span, uint32_t old_nspans, ~~~~~~~~~~~~^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:233:43: note: used in buffer access here new_span[new_nspans].ub = old_span[i].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:232:43: note: used in buffer access here new_span[new_nspans].to = old_span[i].to; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:228:53: note: used in buffer access here && new_span[new_nspans - 1].tags == old_span[i].tags) { ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:229:47: note: used in buffer access here new_span[new_nspans - 1].ub = old_span[i].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:225:13: note: used in buffer access here if (old_span[i].to != x) { ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:234:45: note: used in buffer access here new_span[new_nspans].tags = old_span[i].tags; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:227:51: note: used in buffer access here && new_span[new_nspans - 1].to == old_span[i].to ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:240:39: note: used in buffer access here new_span[new_nspans - 1].ub = old_span[old_nspans - 1].ub; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:279:13: warning: unsafe buffer access [-Wunsafe-buffer-usage] x->table[c] = to; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:270:69: warning: 'span' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] static CodeGoCpTable *code_gocp_table(code_alc_t &alc, const Span * span, uint32_t nSpans) ~~~~~~~~~~~~~^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:278:25: note: used in buffer access here State *to = span[i].to; ^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:277:19: note: used in buffer access here for(; c < span[i].ub && c < CodeGoCpTable::TABLE_SIZE; ++c) { ^~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:298:38: warning: unused parameter 'opts' [-Wunused-parameter] const DFA &dfa, const opt_t *opts, const State *state, tcid_t *ptags) { ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:355:22: warning: unsafe buffer access [-Wunsafe-buffer-usage] hspan = &go->span[i]; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:363:13: warning: unsafe buffer access [-Wunsafe-buffer-usage] if (go->span[i].tags != TCID0) { ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:374:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] State *s = go->span[i].to; ^~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:332:11: warning: 'span' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage] Span *span = go->span; ~~~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:354:13: note: used in buffer access here if (span[i].ub > 0x100) { ^~~~ In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/src/codegen/code_goto.cc:5: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/adfa/adfa.h:11: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/code.h:16: In file included from /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/dfa/tcmd.h:10: /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/slab_allocator.h:51:13: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] current_slab_ += size; ^~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/util/slab_allocator.h:73:37: note: in instantiation of member function 're2c::slab_allocator_t<1048576, 8>::alloc' requested here return static_cast(alloc(n * sizeof(data_t))); ^ /wrkdirs/usr/ports/devel/re2c/work/re2c-3.0/./src/codegen/code.h:53:20: note: in instantiation of function template specialization 're2c::slab_allocator_t<1048576, 8>::alloct' requested here Label *l = alc.alloct