Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/kismet.spec'], chrootPath='/var/lib/mock/f41-build-50365267-6027536/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '651c0ab3c6e04f8eb431de8c03d40c84', '-D', '/var/lib/mock/f41-build-50365267-6027536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/kismet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/kismet-0.0.2023.07.R1-6.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/kismet.spec'], chrootPath='/var/lib/mock/f41-build-50365267-6027536/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f3fe89e7f95341f9b16f411e1d4b3dfd', '-D', '/var/lib/mock/f41-build-50365267-6027536/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10ynjlwh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/kismet.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V0GWvv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kismet-2023-07-R1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kismet-2023-07-R1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd kismet-2023-07-R1 + rm -rf /builddir/build/BUILD/kismet-2023-07-R1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/kismet-2023-07-R1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (kismet-include.patch): + echo 'Patch #0 (kismet-include.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file plugin-alertsyslog/alertsyslog.cc Patch #1 (kismet-install.patch): + echo 'Patch #1 (kismet-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.in patching file Makefile.in Patch #2 (hak5-types.patch): + echo 'Patch #2 (hak5-types.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file capture_hak5_wifi_coconut/libwifiuserspace/kernel/types.h + sed -i 's!\$(prefix)/lib/!/usr/lib64/!g' plugin-alertsyslog/Makefile plugin-dashboard/Makefile plugin-demo-eventbus/Makefile plugin-demo-externalhttp/Makefile plugin-demo-webonly/Makefile + sed -i -e '\!^ouifile=/etc/manuf!d' -e '\!^ouifile=/usr/share/wireshark/wireshark/manuf!d' conf/kismet.conf + sed -i s/@VERSION@/0.0.2023.07.R1/g packaging/kismet.pc.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RxKagL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kismet-2023-07-R1 + export ac_cv_lib_uClibcpp_main=no + ac_cv_lib_uClibcpp_main=no + export LDFLAGS=-Wl,--as-needed + LDFLAGS=-Wl,--as-needed + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=-Wl,--as-needed + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-07-20 14:02:04.000000000 +0000 +++ ./configure 2024-04-17 18:59:18.383433284 +0000 @@ -1978,7 +1978,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/kismet 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS' --disable-python-tools configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for ppc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for platform-specific compiler flags... none needed checking gcc version... 14 checking whether g++ supports C++17 features with -std=gnu++17... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no configure: WARNING: Disabling Python and Python-related tools checking for dwarf_begin in -ldw... no checking for bfd_alloc in -lbfd... no checking for unwind.h... yes checking for execinfo.h... yes checking for stdint.h... (cached) yes checking for strerror_r() return... char * checking for accept() addrlen type... socklen_t checking for pipe2... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for dlopen in -ldl... yes checking for deflate in -lz... yes checking for libatomic... yes checking for pthread_mutex_timedlock... yes checking for libm math function in std libs... yes checking for main in -lstdc++... yes checking for group 'root'... yes checking for setproctitle... no checking for libutil.h... no checking for setproctitle in -lutil... no checking for sys/pstat.h... no checking how to run the C++ preprocessor... g++ -std=gnu++17 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether __progname and __progname_full are available... yes checking which argv replacement method to use... writeable checking for linux/wireless.h... yes checking that linux/wireless.h is what we expect... yes checking can we use iw_freq.flags... yes checking for cap_init in -lcap... yes checking for sys/prctl.h... yes checking for sys/capability.h... yes checking Checking C++17 parallel functions... ok checking for sqlite3_libversion in -lsqlite3... yes checking for sqlite3.h... yes checking for ppc64le-redhat-linux-gnu-pkg-config... ppc64le-redhat-linux-gnu-pkg-config checking whether compiling and linking against OpenSSL works... yes checking for ppc64le-redhat-linux-gnu-pkg-config... /usr/bin/ppc64le-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libwebsockets >= 3.1.0... yes checking for lws_client_connect_via_info in -lwebsockets... yes checking for libpcap... yes checking for protobuf... yes checking for protoc... yes checking for libprotobuf-c... yes checking for protoc-c... yes Using local radiotap headers checking for libnm... yes checking For nm_device_set_managed in libnm... checking for libnl-3.0... yes checking for libnl-genl-3.0... yes checking for libnl-2.0... no checking for libnl-1... no checking For mac80211 support in netlink library... yes checking for libusb-1.0... yes checking for btbb.h... no configure: WARNING: "btbb.h is missing" checking for btbb_init in -lbtbb... no configure: WARNING: "libbtbb is missing" configure: WARNING: missing libbtbb, ubertooth-one support will not be built configure: WARNING: missing one or more required libraries for ubertooth-one checking for sensors/sensors.h... no configure: WARNING: "libsensors lm-sensors missing" configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.inc config.status: WARNING: 'Makefile.inc.in' seems to ignore the --datarootdir setting config.status: creating packaging/kismet.pc config.status: creating packaging/systemd/kismet.service config.status: creating packaging/systemd/debug/kismet-debug.service config.status: creating capture_linux_bluetooth/Makefile config.status: creating capture_linux_wifi/Makefile config.status: creating capture_osx_corewlan_wifi/Makefile config.status: creating capture_sdr_rtl433/Makefile config.status: creating capture_sdr_rtlamr/Makefile config.status: creating capture_sdr_rtladsb/Makefile config.status: creating capture_bt_geiger/Makefile config.status: creating capture_freaklabs_zigbee/Makefile config.status: creating capture_nrf_mousejack/Makefile config.status: creating capture_ti_cc_2540/Makefile config.status: creating capture_ti_cc_2531/Makefile config.status: creating capture_ubertooth_one/Makefile config.status: creating capture_nrf_51822/Makefile config.status: creating capture_nxp_kw41z/Makefile config.status: creating capture_rz_killerbee/Makefile config.status: creating capture_bladerf_wiphy/Makefile config.status: creating capture_proxy_adsb/Makefile config.status: creating capture_nrf_52840/Makefile config.status: creating capture_hak5_wifi_coconut/Makefile config.status: creating config.h Configuration complete: Compiling for: linux-gnu (powerpc64le) C++ Library: stdc++ configure: WARNING: unrecognized options: --disable-dependency-tracking Protobuf Library: protobuf Installing as group: root Installing into: /usr Setuid group: kismet Prelude SIEM : no PCRE regex: libpcre2 Websocket datasources: yes LibCapability (enhanced privilege dropping): yes Linux Wi-Fi capture : yes Linux Netlink: yes (mac80211 VAP creation) - libnl-3.0 libnl-genl-3.0 Linux NetworkManager: yes (libnm NetworkManager control) Linux HCI Bluetooth: yes OSX/Darwin capture : n/a (only OSX/Darwin) nRF MouseJack: yes TI CC 2540 BTLE: yes TI CC 2531 Zigbee: yes Ubertooth One: no (libubertooth, libbtbb, or libusb-1.0 not available) NRF51822 BTLE: yes NRF52840 Zigbee: yes NXP KW41Z BLE/Zigbee: yes RZ KILLERBEE: yes Python Modules: no (will not build Python based sources) Python interpreter: python3 RTL-SDR RTL_433: no (python modules are disabled) RTL-SDR RTLAMR: no (python modules are disabled) RTL-SDR RTLADSB: no (python modules are disabled) BTLE Geiger Sensor: no (not explicitly enabled) Freaklabs Zigbee: no (python modules are disabled) ADSB Proxy: no (python modules are disabled) bladeRF-wiphy: no (bladeRF support not enabled) Hak5 WiFi Coconut: yes lm-sensors monitoring: no (will not be able to monitor system temperature, etc) Built-in Debug: partial - Missing libdw or libbfd will not print full stacks on crash + /usr/bin/make -O -j8 V=1 VERBOSE=1 protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/http.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/http.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/linuxbluetooth.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/datasource.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/datasource.proto gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT version.c.o version.c -MF version.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT protobuf_c/kismet.pb-c.c.o protobuf_c/kismet.pb-c.c -MF protobuf_c/kismet.pb-c.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT protobuf_c/linuxbluetooth.pb-c.c.o protobuf_c/linuxbluetooth.pb-c.c -MF protobuf_c/linuxbluetooth.pb-c.c.d protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.proto gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT protobuf_c/eventbus.pb-c.c.o protobuf_c/eventbus.pb-c.c -MF protobuf_c/eventbus.pb-c.c.d protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.proto gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT simple_ringbuf_c.c.o simple_ringbuf_c.c -MF simple_ringbuf_c.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT log_tools/kismetdb_strip_packet_content.c.o log_tools/kismetdb_strip_packet_content.c -MF log_tools/kismetdb_strip_packet_content.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT capture_kismetdb.c.o capture_kismetdb.c -MF capture_kismetdb.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT capture_pcapfile.c.o capture_pcapfile.c -MF capture_pcapfile.c.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT capture_framework.c.o capture_framework.c -MF capture_framework.c.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT crc32.cc.o crc32.cc -MF crc32.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT protobuf_cpp/http.pb.cc.o protobuf_cpp/http.pb.cc -MF protobuf_cpp/http.pb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT xxhash.cc.o xxhash.cc -MF xxhash.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT protobuf_cpp/kismet.pb.cc.o protobuf_cpp/kismet.pb.cc -MF protobuf_cpp/kismet.pb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT boost_like_hash.cc.o boost_like_hash.cc -MF boost_like_hash.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT protobuf_cpp/eventbus.pb.cc.o protobuf_cpp/eventbus.pb.cc -MF protobuf_cpp/eventbus.pb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT sqlite3_cpp11.cc.o sqlite3_cpp11.cc -MF sqlite3_cpp11.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT protobuf_cpp/linuxbluetooth.pb.cc.o protobuf_cpp/linuxbluetooth.pb.cc -MF protobuf_cpp/linuxbluetooth.pb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT macaddr.cc.o macaddr.cc -MF macaddr.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT uuid.cc.o uuid.cc -MF uuid.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT battery.cc.o battery.cc -MF battery.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT configfile.cc.o configfile.cc -MF configfile.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT ipctracker_v2.cc.o ipctracker_v2.cc -MF ipctracker_v2.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT globalregistry.cc.o globalregistry.cc -MF globalregistry.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT util.cc.o util.cc -MF util.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_external.cc.o kis_external.cc -MF kis_external.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT packet.cc.o packet.cc -MF packet.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT eventbus.cc.o eventbus.cc -MF eventbus.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dlttracker.cc.o dlttracker.cc -MF dlttracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT antennatracker.cc.o antennatracker.cc -MF antennatracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_datasource.cc.o kis_datasource.cc -MF kis_datasource.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_linux_bluetooth.cc.o datasource_linux_bluetooth.cc -MF datasource_linux_bluetooth.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_rtlamr.cc.o datasource_rtlamr.cc -MF datasource_rtlamr.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_rtl433.cc.o datasource_rtl433.cc -MF datasource_rtl433.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasourcetracker.cc.o datasourcetracker.cc -MF datasourcetracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_rtladsb.cc.o datasource_rtladsb.cc -MF datasource_rtladsb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_ti_cc_2540.cc.o datasource_ti_cc_2540.cc -MF datasource_ti_cc_2540.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_ti_cc_2531.cc.o datasource_ti_cc_2531.cc -MF datasource_ti_cc_2531.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_ubertooth_one.cc.o datasource_ubertooth_one.cc -MF datasource_ubertooth_one.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_nrf_51822.cc.o datasource_nrf_51822.cc -MF datasource_nrf_51822.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_nxp_kw41z.cc.o datasource_nxp_kw41z.cc -MF datasource_nxp_kw41z.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_nrf_52840.cc.o datasource_nrf_52840.cc -MF datasource_nrf_52840.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT base64.cc.o base64.cc -MF base64.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_rz_killerbee.cc.o datasource_rz_killerbee.cc -MF datasource_rz_killerbee.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_scan.cc.o datasource_scan.cc -MF datasource_scan.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT datasource_bt_geiger.cc.o datasource_bt_geiger.cc -MF datasource_bt_geiger.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_net_beast_httpd.cc.o kis_net_beast_httpd.cc -MF kis_net_beast_httpd.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_httpd_registry.cc.o kis_httpd_registry.cc -MF kis_httpd_registry.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT system_monitor.cc.o system_monitor.cc -MF system_monitor.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_gps.cc.o kis_gps.cc -MF kis_gps.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsnmea_v2.cc.o gpsnmea_v2.cc -MF gpsnmea_v2.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpstracker.cc.o gpstracker.cc -MF gpstracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsserial_v3.cc.o gpsserial_v3.cc -MF gpsserial_v3.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpstcp_v2.cc.o gpstcp_v2.cc -MF gpstcp_v2.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsgpsd_v3.cc.o gpsgpsd_v3.cc -MF gpsgpsd_v3.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsfake.cc.o gpsfake.cc -MF gpsfake.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsweb.cc.o gpsweb.cc -MF gpsweb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT trackedelement.cc.o trackedelement.cc -MF trackedelement.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT gpsmeta.cc.o gpsmeta.cc -MF gpsmeta.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT packetchain.cc.o packetchain.cc -MF packetchain.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT trackedelement_workers.cc.o trackedelement_workers.cc -MF trackedelement_workers.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT class_filter.cc.o class_filter.cc -MF class_filter.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT trackedcomponent.cc.o trackedcomponent.cc -MF trackedcomponent.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT packet_filter.cc.o packet_filter.cc -MF packet_filter.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT entrytracker.cc.o entrytracker.cc -MF entrytracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT trackedlocation.cc.o trackedlocation.cc -MF trackedlocation.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT devicetracker_view_workers.cc.o devicetracker_view_workers.cc -MF devicetracker_view_workers.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT json_adapter.cc.o json_adapter.cc -MF json_adapter.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_server_announce.cc.o kis_server_announce.cc -MF kis_server_announce.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT plugintracker.cc.o plugintracker.cc -MF plugintracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT devicetracker_component.cc.o devicetracker_component.cc -MF devicetracker_component.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT timetracker.cc.o timetracker.cc -MF timetracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT devicetracker_view.cc.o devicetracker_view.cc -MF devicetracker_view.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT alertracker.cc.o alertracker.cc -MF alertracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kaitaistream.cc.o kaitaistream.cc -MF kaitaistream.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_dlt.cc.o kis_dlt.cc -MF kis_dlt.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT devicetracker_httpd.cc.o devicetracker_httpd.cc -MF devicetracker_httpd.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_7_country.cc.o dot11_parsers/dot11_ie_7_country.cc -MF dot11_parsers/dot11_ie_7_country.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT channeltracker2.cc.o channeltracker2.cc -MF channeltracker2.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT devicetracker.cc.o devicetracker.cc -MF devicetracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_33_power.cc.o dot11_parsers/dot11_ie_33_power.cc -MF dot11_parsers/dot11_ie_33_power.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_36_supported_channels.cc.o dot11_parsers/dot11_ie_36_supported_channels.cc -MF dot11_parsers/dot11_ie_36_supported_channels.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_11_qbss.cc.o dot11_parsers/dot11_ie_11_qbss.cc -MF dot11_parsers/dot11_ie_11_qbss.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_dlt_ppi.cc.o kis_dlt_ppi.cc -MF kis_dlt_ppi.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie.cc.o dot11_parsers/dot11_ie.cc -MF dot11_parsers/dot11_ie.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_54_mobility.cc.o dot11_parsers/dot11_ie_54_mobility.cc -MF dot11_parsers/dot11_ie_54_mobility.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_52_rmm_neighbor.cc.o dot11_parsers/dot11_ie_52_rmm_neighbor.cc -MF dot11_parsers/dot11_ie_52_rmm_neighbor.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_55_fastbss.cc.o dot11_parsers/dot11_ie_55_fastbss.cc -MF dot11_parsers/dot11_ie_55_fastbss.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_dlt_radiotap.cc.o kis_dlt_radiotap.cc -MF kis_dlt_radiotap.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_61_ht_op.cc.o dot11_parsers/dot11_ie_61_ht_op.cc -MF dot11_parsers/dot11_ie_61_ht_op.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_70_rm_capabilities.cc.o dot11_parsers/dot11_ie_70_rm_capabilities.cc -MF dot11_parsers/dot11_ie_70_rm_capabilities.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_113_mesh_config.cc.o dot11_parsers/dot11_ie_113_mesh_config.cc -MF dot11_parsers/dot11_ie_113_mesh_config.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_133_cisco_ccx.cc.o dot11_parsers/dot11_ie_133_cisco_ccx.cc -MF dot11_parsers/dot11_ie_133_cisco_ccx.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_150_vendor.cc.o dot11_parsers/dot11_ie_150_vendor.cc -MF dot11_parsers/dot11_ie_150_vendor.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_150_cisco_powerlevel.cc.o dot11_parsers/dot11_ie_150_cisco_powerlevel.cc -MF dot11_parsers/dot11_ie_150_cisco_powerlevel.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_191_vht_cap.cc.o dot11_parsers/dot11_ie_191_vht_cap.cc -MF dot11_parsers/dot11_ie_191_vht_cap.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_192_vht_op.cc.o dot11_parsers/dot11_ie_192_vht_op.cc -MF dot11_parsers/dot11_ie_192_vht_op.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_127_extended_capabilities.cc.o dot11_parsers/dot11_ie_127_extended_capabilities.cc -MF dot11_parsers/dot11_ie_127_extended_capabilities.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_vendor.cc.o dot11_parsers/dot11_ie_221_vendor.cc -MF dot11_parsers/dot11_ie_221_vendor.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_ms_wmm.cc.o dot11_parsers/dot11_ie_221_ms_wmm.cc -MF dot11_parsers/dot11_ie_221_ms_wmm.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_dlt_btle_radio.cc.o kis_dlt_btle_radio.cc -MF kis_dlt_btle_radio.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_cisco_client_mfp.cc.o dot11_parsers/dot11_ie_221_cisco_client_mfp.cc -MF dot11_parsers/dot11_ie_221_cisco_client_mfp.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_rsn_pmkid.cc.o dot11_parsers/dot11_ie_221_rsn_pmkid.cc -MF dot11_parsers/dot11_ie_221_rsn_pmkid.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_wfa.cc.o dot11_parsers/dot11_ie_221_wfa.cc -MF dot11_parsers/dot11_ie_221_wfa.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_255_ext_tag.cc.o dot11_parsers/dot11_ie_255_ext_tag.cc -MF dot11_parsers/dot11_ie_255_ext_tag.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_wpa_transition.cc.o dot11_parsers/dot11_ie_221_wpa_transition.cc -MF dot11_parsers/dot11_ie_221_wpa_transition.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_wpa_eap.cc.o dot11_parsers/dot11_wpa_eap.cc -MF dot11_parsers/dot11_wpa_eap.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_48_rsn.cc.o dot11_parsers/dot11_ie_48_rsn.cc -MF dot11_parsers/dot11_ie_48_rsn.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_45_ht_cap.cc.o dot11_parsers/dot11_ie_45_ht_cap.cc -MF dot11_parsers/dot11_ie_45_ht_cap.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT bluetooth_parsers/btle.cc.o bluetooth_parsers/btle.cc -MF bluetooth_parsers/btle.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_wfa_wpa.cc.o dot11_parsers/dot11_ie_221_wfa_wpa.cc -MF dot11_parsers/dot11_ie_221_wfa_wpa.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_dji_droneid.cc.o dot11_parsers/dot11_ie_221_dji_droneid.cc -MF dot11_parsers/dot11_ie_221_dji_droneid.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_ie_221_ms_wps.cc.o dot11_parsers/dot11_ie_221_ms_wps.cc -MF dot11_parsers/dot11_ie_221_ms_wps.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_action.cc.o dot11_parsers/dot11_action.cc -MF dot11_parsers/dot11_action.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT dot11_parsers/dot11_p2p_ie.cc.o dot11_parsers/dot11_p2p_ie.cc -MF dot11_parsers/dot11_p2p_ie.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_80211.cc.o phy_80211.cc -MF phy_80211.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_80211_components.cc.o phy_80211_components.cc -MF phy_80211_components.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_80211_dissectors.cc.o phy_80211_dissectors.cc -MF phy_80211_dissectors.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_meter.cc.o phy_meter.cc -MF phy_meter.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_adsb.cc.o phy_adsb.cc -MF phy_adsb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_sensor.cc.o phy_sensor.cc -MF phy_sensor.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_zwave.cc.o phy_zwave.cc -MF phy_zwave.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_bluetooth.cc.o phy_bluetooth.cc -MF phy_bluetooth.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_uav_drone.cc.o phy_uav_drone.cc -MF phy_uav_drone.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_802154.cc.o phy_802154.cc -MF phy_802154.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_btle.cc.o phy_btle.cc -MF phy_btle.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_nrf_mousejack.cc.o phy_nrf_mousejack.cc -MF phy_nrf_mousejack.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_radiation.cc.o phy_radiation.cc -MF phy_radiation.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT phy_80211_ssidtracker.cc.o phy_80211_ssidtracker.cc -MF phy_80211_ssidtracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT manuf.cc.o manuf.cc -MF manuf.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_dissector_ipdata.cc.o kis_dissector_ipdata.cc -MF kis_dissector_ipdata.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT adsb_icao.cc.o adsb_icao.cc -MF adsb_icao.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT bluetooth_ids.cc.o bluetooth_ids.cc -MF bluetooth_ids.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT logtracker.cc.o logtracker.cc -MF logtracker.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_databaselogfile.cc.o kis_databaselogfile.cc -MF kis_databaselogfile.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_pcapnglogfile.cc.o kis_pcapnglogfile.cc -MF kis_pcapnglogfile.cc.d gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c version.c -o version.c.o g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT messagebus_restclient.cc.o messagebus_restclient.cc -MF messagebus_restclient.cc.d gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT protobuf_c/datasource.pb-c.c.o protobuf_c/datasource.pb-c.c -MF protobuf_c/datasource.pb-c.c.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_ppilogfile.cc.o kis_ppilogfile.cc -MF kis_ppilogfile.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_wiglecsvlogfile.cc.o kis_wiglecsvlogfile.cc -MF kis_wiglecsvlogfile.cc.d gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c protobuf_c/eventbus.pb-c.c -o protobuf_c/eventbus.pb-c.c.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c protobuf_c/linuxbluetooth.pb-c.c -o protobuf_c/linuxbluetooth.pb-c.c.o g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT streamtracker.cc.o streamtracker.cc -MF streamtracker.cc.d gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c protobuf_c/kismet.pb-c.c -o protobuf_c/kismet.pb-c.c.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c simple_ringbuf_c.c -o simple_ringbuf_c.c.o g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_database.cc.o kis_database.cc -MF kis_database.cc.d gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c log_tools/kismetdb_strip_packet_content.c -o log_tools/kismetdb_strip_packet_content.c.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_kismetdb.c -o capture_kismetdb.c.o capture_kismetdb.c: In function ‘capture_thread’: capture_kismetdb.c:494:12: warning: variable ‘packet_frequency’ set but not used [-Wunused-but-set-variable] 494 | double packet_frequency; | ^~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_pcapfile.c -o capture_pcapfile.c.o g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_to_wiglecsv.cc.o log_tools/kismetdb_to_wiglecsv.cc -MF log_tools/kismetdb_to_wiglecsv.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_dump_devices.cc.o log_tools/kismetdb_dump_devices.cc -MF log_tools/kismetdb_dump_devices.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_statistics.cc.o log_tools/kismetdb_statistics.cc -MF log_tools/kismetdb_statistics.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT pcapng_stream_futurebuf.cc.o pcapng_stream_futurebuf.cc -MF pcapng_stream_futurebuf.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT tools/kismet_discovery.cc.o tools/kismet_discovery.cc -MF tools/kismet_discovery.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_to_kml.cc.o log_tools/kismetdb_to_kml.cc -MF log_tools/kismetdb_to_kml.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_to_gpx.cc.o log_tools/kismetdb_to_gpx.cc -MF log_tools/kismetdb_to_gpx.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_clean.cc.o log_tools/kismetdb_clean.cc -MF log_tools/kismetdb_clean.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT log_tools/kismetdb_to_pcap.cc.o log_tools/kismetdb_to_pcap.cc -MF log_tools/kismetdb_to_pcap.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT protobuf_cpp/datasource.pb.cc.o protobuf_cpp/datasource.pb.cc -MF protobuf_cpp/datasource.pb.cc.d g++ -std=gnu++17 -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kismet_server.cc.o kismet_server.cc -MF kismet_server.cc.d g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c crc32.cc -o crc32.cc.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_framework.c -o capture_framework.c.o capture_framework.c: In function ‘cf_send_rb_packet’: capture_framework.c:2946:5: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 2946 | strncpy(frame->command, command, 32); | ^ capture_framework.c: In function ‘cf_send_ws_packet’: capture_framework.c:2997:5: warning: ‘__strncpy_chk’ specified bound 32 equals destination size [-Wstringop-truncation] 2997 | strncpy(frame->command, command, 32); | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c xxhash.cc -o xxhash.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c boost_like_hash.cc -o boost_like_hash.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c protobuf_cpp/eventbus.pb.cc -o protobuf_cpp/eventbus.pb.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c protobuf_cpp/linuxbluetooth.pb.cc -o protobuf_cpp/linuxbluetooth.pb.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c protobuf_cpp/kismet.pb.cc -o protobuf_cpp/kismet.pb.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c protobuf_cpp/http.pb.cc -o protobuf_cpp/http.pb.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c sqlite3_cpp11.cc -o sqlite3_cpp11.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c macaddr.cc -o macaddr.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from macaddr.h:47, from macaddr.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c uuid.cc -o uuid.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from uuid.h:38, from uuid.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c battery.cc -o battery.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from battery.cc:69: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ battery.cc:226:24: required from here fmt/core.h:1735:46: note: 226 | fpath = fmt::format("{}/status", bdir); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c globalregistry.cc -o globalregistry.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from globalregistry.cc:22: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c util.cc -o util.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from util.cc:71: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from util.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ util.cc: In function ‘fetch_sys_loadavg(unsigned char*, unsigned char*)’: util.cc:818:15: warning: argument 1 null where non-null expected [-Wnonnull] 818 | fclose(lf); | ~~~~~~^~~~ In file included from util.h:24: /usr/include/stdio.h:184:12: note: in a call to function ‘fclose’ declared ‘nonnull’ 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ At top level: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c packet.cc -o packet.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from packet.cc:35: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from packet.cc:33: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c configfile.cc -o configfile.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from configfile.cc:32: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ configfile.cc:535:9: required from here fmt/core.h:1735:46: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dlttracker.cc -o dlttracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from dlttracker.h:32, from dlttracker.cc:23: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from dlttracker.h:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from dlttracker.h:25: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c ipctracker_v2.cc -o ipctracker_v2.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from ipctracker_v2.h:31, from ipctracker_v2.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c eventbus.cc -o eventbus.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from eventbus.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from eventbus.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c antennatracker.cc -o antennatracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from antennatracker.h:23, from antennatracker.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_net_beast_httpd.h:40: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ���-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_external.cc -o kis_external.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from json_adapter.h:26, from kis_external.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from kis_external.cc:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from kis_external.cc:19: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, const std::__cxx11::basic_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_external.cc:434:37: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 434 | std::string fp = fmt::format("{}/{}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~ 435 | Globalreg::globalreg->kismet_config->expand_log_path(rp, "", "", 0, 1), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 436 | in_binary); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const boost::basic_string_view >&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const boost::basic_string_view >&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const boost::basic_string_view >&}; Context = fmt::v9::basic_format_context; Args = {boost::basic_string_view >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const boost::basic_string_view >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_external.cc:919:40: required from here fmt/core.h:1735:46: note: 919 | fmt::format("proxied req {}", con->uri())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = boost::beast::http::verb&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = boost::beast::http::verb&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {boost::beast::http::verb&}; Context = fmt::v9::basic_format_context; Args = {boost::beast::http::verb}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {boost::beast::http::verb&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_external.cc:935:40: required from here fmt/core.h:1735:46: note: 935 | fmt::format("{}", con->verb()), var_remap); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & * & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ kis_external.cc:401:18: required from here fmt/core.h:1735:46: note: 401 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_rtl433.cc -o datasource_rtl433.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_rtl433.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_rtlamr.cc -o datasource_rtlamr.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_rtlamr.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_linux_bluetooth.cc -o datasource_linux_bluetooth.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_linux_bluetooth.h:26, from datasource_linux_bluetooth.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_rtladsb.cc -o datasource_rtladsb.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_rtladsb.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_ti_cc_2540.cc -o datasource_ti_cc_2540.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_ti_cc_2540.h:26, from datasource_ti_cc_2540.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasourcetracker.cc -o datasourcetracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from alertracker.h:34, from datasourcetracker.cc:24: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from alertracker.h:32: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from alertracker.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ datasourcetracker.h:504:9: required from here fmt/core.h:1735:46: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, uuid&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ datasourcetracker.cc:714:25: required from here fmt/core.h:1735:46: note: 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((uuid&)args#1), args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, const uuid&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, const uuid&, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, const uuid&, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ datasourcetracker.cc:1555:13: required from here fmt/core.h:1735:46: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), args#1, ((std::__cxx11::basic_string&)args#2))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ datasourcetracker.cc:50:14: required from here fmt/core.h:1735:46: note: 50 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_datasource.cc -o kis_datasource.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from kis_datasource.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ alertracker.h:232:46: required from here fmt/core.h:1735:46: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, uuid&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, uuid, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_datasource.cc:1980:36: required from here fmt/core.h:1735:46: note: 1980 | auto alrt = fmt::format("Source {} ({}) has encountered an error ({}). " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1981 | "Remote sources are not locally reconnected; waiting for the remote source " fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1982 | "to reconnect to resume capture.", get_source_name(), get_source_uuid(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1983 | get_source_error_reason()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((uuid&)args#1), ((std::__cxx11::basic_string&)args#2))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kis_datasource.cc:117:14: required from here fmt/core.h:1735:46: note: 117 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_ubertooth_one.cc -o datasource_ubertooth_one.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_ubertooth_one.h:26, from datasource_ubertooth_one.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_ti_cc_2531.cc -o datasource_ti_cc_2531.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_ti_cc_2531.h:26, from datasource_ti_cc_2531.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_nrf_51822.cc -o datasource_nrf_51822.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_nrf_51822.h:26, from datasource_nrf_51822.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_nxp_kw41z.cc -o datasource_nxp_kw41z.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_nxp_kw41z.h:26, from datasource_nxp_kw41z.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c base64.cc -o base64.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_nrf_52840.cc -o datasource_nrf_52840.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_nrf_52840.h:26, from datasource_nrf_52840.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_rz_killerbee.cc -o datasource_rz_killerbee.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_rz_killerbee.h:26, from datasource_rz_killerbee.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_scan.cc -o datasource_scan.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasourcetracker.h:32, from datasource_scan.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from datasourcetracker.h:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from datasourcetracker.h:25: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c datasource_bt_geiger.cc -o datasource_bt_geiger.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasource_bt_geiger.h:23, from datasource_bt_geiger.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_datasource.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from kis_datasource.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_httpd_registry.cc -o kis_httpd_registry.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from kis_httpd_registry.h:28, from kis_httpd_registry.cc:23: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from messagebus.h:29, from kis_httpd_registry.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c system_monitor.cc -o system_monitor.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from json_adapter.h:26, from system_monitor.cc:37: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from system_monitor.cc:33: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from system_monitor.cc:21: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ configfile.h:107:49: required from ‘T config_file::fetch_opt_as(const std::string&, const T&) [with T = unsigned int; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 107 | throw std::runtime_error(fmt::format("could not coerce content of key {}", in_key)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system_monitor.cc:139:76: required from here fmt/core.h:1735:46: note: 139 | Globalreg::globalreg->kismet_config->fetch_opt_as("kis_log_system_status_rate", 30); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_gps.cc -o kis_gps.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from kis_gps.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_gps.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/stl_tree.h:63, from /usr/include/c++/14/map:62, from entrytracker.h:27: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsnmea_v2.cc -o gpsnmea_v2.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsnmea_v2.h:24, from gpsnmea_v2.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_gps.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/stdexcept:39, from gpsnmea_v2.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsnmea_v2.cc:361:12: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.lock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsnmea_v2.cc:361:12: required from here fmt/core.h:1735:46: note: 361 | lk.lock(); fmt/core.h:1735:46: note: | ~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpstracker.cc -o gpstracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from gpstracker.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from gpstracker.cc:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, uuid&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, uuid}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, uuid&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, uuid&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ gpstracker.cc:231:21: required from here fmt/core.h:1735:46: note: 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, unsigned int&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned int}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, unsigned int&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, unsigned int&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ gpstracker.cc:396:36: required from here fmt/core.h:1735:46: note: 396 | auto proposed = fmt::format("{}{}", in_name, num); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsserial_v3.cc -o gpsserial_v3.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsnmea_v2.h:24, from gpsserial_v3.h:25, from gpsserial_v3.cc:23: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from gpsserial_v3.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ gpsserial_v3.cc:203:14: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 203 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ gpsserial_v3.cc:203:14: required from here fmt/core.h:1735:46: note: 203 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpstcp_v2.cc -o gpstcp_v2.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsnmea_v2.h:24, from gpstcp_v2.h:25, from gpstcp_v2.cc:23: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from gpstcp_v2.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = boost::asio::ip::basic_endpoint&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = boost::asio::ip::basic_endpoint&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {boost::asio::ip::basic_endpoint&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {boost::asio::ip::basic_endpoint, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {boost::asio::ip::basic_endpoint, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ gpstcp_v2.cc:143:13: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((boost::asio::ip::basic_endpoint&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsfake.cc -o gpsfake.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsfake.h:24, from gpsfake.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_gps.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/stl_tree.h:63, from /usr/include/c++/14/map:62, from entrytracker.h:27: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsgpsd_v3.cc -o gpsgpsd_v3.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsgpsd_v3.h:25, from gpsgpsd_v3.cc:24: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from gpsgpsd_v3.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/mutex:40, from /usr/include/c++/14/future:40, from gpsgpsd_v3.cc:22: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = boost::asio::ip::basic_endpoint&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = boost::asio::ip::basic_endpoint&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {boost::asio::ip::basic_endpoint&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {boost::asio::ip::basic_endpoint, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {boost::asio::ip::basic_endpoint, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ gpsgpsd_v3.cc:170:13: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((boost::asio::ip::basic_endpoint&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsgpsd_v3.cc:645:12: required from here fmt/core.h:1735:46: note: 645 | lk.lock(); fmt/core.h:1735:46: note: | ~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsgpsd_v3.cc:645:12: required from here fmt/core.h:1735:46: note: 645 | lk.lock(); fmt/core.h:1735:46: note: | ~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsweb.cc -o gpsweb.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsweb.h:24, from gpsweb.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_gps.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from base64.h:22, from gpsweb.cc:19: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c gpsmeta.cc -o gpsmeta.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from gpsmeta.h:24, from gpsmeta.cc:20: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_gps.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/sstream:40, from base64.h:22, from gpsmeta.cc:19: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c class_filter.cc -o class_filter.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from class_filter.h:21, from class_filter.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from class_filter.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/fstream:40, from fmt/ostream.h:11: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ class_filter.cc:41:27: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 41 | base_uri = fmt::format("/filters/class/{}", in_id); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c trackedelement_workers.cc -o trackedelement_workers.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from kis_mutex.h:36, from trackedelement_workers.h:26, from trackedelement_workers.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c packet_filter.cc -o packet_filter.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet_filter.h:21, from packet_filter.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from packet_filter.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/ios:44, from /usr/include/c++/14/istream:40, from /usr/include/c++/14/fstream:40, from fmt/ostream.h:11: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ packet_filter.cc:41:27: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 41 | base_uri = fmt::format("/filters/packet/{}", in_id); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c packetchain.cc -o packetchain.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from alertracker.h:34, from packetchain.cc:30: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from alertracker.h:32: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from alertracker.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ configfile.h:107:49: required from ‘T config_file::fetch_opt_as(const std::string&, const T&) [with T = unsigned int; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 107 | throw std::runtime_error(fmt::format("could not coerce content of key {}", in_key)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packetchain.cc:303:87: required from here fmt/core.h:1735:46: note: 303 | n_packet_threads = Globalreg::globalreg->kismet_config->fetch_opt_as("kismet_packet_threads", 0); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_shared_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ packetchain.cc:431:18: required from here fmt/core.h:1735:46: note: 431 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c trackedcomponent.cc -o trackedcomponent.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from trackedcomponent.h:35, from trackedcomponent.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_net_beast_httpd.cc -o kis_net_beast_httpd.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from kis_net_beast_httpd.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from entrytracker.h:32, from kis_net_beast_httpd.h:40: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from kis_net_beast_httpd.h:25: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = boost::asio::ip::address&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = boost::asio::ip::address&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {boost::asio::ip::address&, short unsigned int&}; Context = fmt::v9::basic_format_context; Args = {boost::asio::ip::address, short unsigned int}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {boost::asio::ip::address, short unsigned int}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_net_beast_httpd.cc:64:9: required from here fmt/core.h:1735:46: note: 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((boost::asio::ip::address&)args#0), ((short unsigned int&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_net_beast_httpd.cc:125:13: required from here fmt/core.h:1735:46: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::vector, std::allocator > >&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::vector, std::allocator > >&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > >, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > > > >&}; Context = fmt::v9::basic_format_context; Args = {std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > >, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > > > >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘void fmt::v9::print(FILE*, format_string, T&& ...) [with T = {std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > >, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > > > >&}; FILE = FILE; format_string = basic_format_string, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > >, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector > > > >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_net_beast_httpd.cc:943:15: required from here fmt/core.h:1735:46: note: 943 | fmt::print(sf, "{}", vec); fmt/core.h:1735:46: note: | ~~~~~~~~~~^~~~~~~~~~~~~~~ fmt/core.h:3311:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>((* & args#0))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map, std::allocator > >&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kis_net_beast_httpd.cc:1847:16: required from here fmt/core.h:1735:46: note: 1847 | lk.lock(); fmt/core.h:1735:46: note: | ~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c trackedelement.cc -o trackedelement.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from trackedelement.cc:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c trackedlocation.cc -o trackedlocation.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from trackedlocation.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from trackedlocation.h:35, from trackedlocation.cc:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/specfun.h:43, from /usr/include/c++/14/cmath:3898, from /usr/include/c++/14/math.h:36, from trackedlocation.cc:21: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c devicetracker_view_workers.cc -o devicetracker_view_workers.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from devicetracker_view_workers.h:30, from devicetracker_view_workers.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from kis_mutex.h:36, from devicetracker_view_workers.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from devicetracker_view_workers.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c entrytracker.cc -o entrytracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from entrytracker.cc:26: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from entrytracker.cc:22: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, unsigned int&, std::__cxx11::basic_string, std::allocator >&, unsigned int&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::__cxx11::basic_string, std::allocator >, unsigned int}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >, unsigned int, std::__cxx11::basic_string, std::allocator >, unsigned int}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >, unsigned int, std::__cxx11::basic_string, std::allocator >, unsigned int>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ entrytracker.cc:127:49: required from here fmt/core.h:1735:46: note: 127 | throw std::runtime_error(fmt::format("tried to register field {} of type {}/{} " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | "but field already exists with conflicting type/signature {}/{}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | in_name, in_builder->get_type_as_string(), in_builder->get_signature(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | field_iter->second->builder->get_type_as_string(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | field_iter->second->builder->get_signature())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, ((std::__cxx11::basic_string&)args#1), ((unsigned int&)args#2), ((std::__cxx11::basic_string&)args#3), ((unsigned int&)args#4))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ entrytracker.cc:220:14: required from here fmt/core.h:1735:46: note: 220 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c json_adapter.cc -o json_adapter.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from json_adapter.cc:36: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from json_adapter.cc:31: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from json_adapter.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_server_announce.cc -o kis_server_announce.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasourcetracker.h:32, from kis_server_announce.h:26, from kis_server_announce.cc:30: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from datasourcetracker.h:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from kis_server_announce.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c devicetracker_component.cc -o devicetracker_component.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from devicetracker_component.cc:33: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from devicetracker_component.h:38: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from devicetracker_component.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c plugintracker.cc -o plugintracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from kis_external.h:43, from plugintracker.h:107, from plugintracker.cc:36: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from plugintracker.cc:33: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c devicetracker_view.cc -o devicetracker_view.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from devicetracker_view.h:30, from devicetracker_view.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /usr/include/c++/14/ppc64le-redhat-linux/bits/c++config.h:887, from /usr/include/c++/14/bits/requires_hosted.h:31, from /usr/include/c++/14/execution:30, from devicetracker_view.cc:22: /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_unique(_RandomAccessIterator, _RandomAccessIterator, _BinaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:1219:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 1219 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:1929:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 1929 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_stable_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2029:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2029 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_merge(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2715:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2715 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘void __pstl::__internal::__brick_inplace_merge(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2764:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2764 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_OutputIterator __pstl::__internal::__brick_set_union(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _OutputIterator, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3141:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3141 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_intersection(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3202:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3202 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3298:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3298 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_symmetric_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3390 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from uuid.h:38, from devicetracker_view.h:27: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1777 | return make_value(val); /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ^ fmt/format-inl.h:65:14: required from here /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from /usr/include/c++/14/pstl/algorithm_impl.h:13, from /usr/include/c++/14/pstl/glue_execution_defs.h:50, from /usr/include/c++/14/execution:39: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ devicetracker_view.cc:103:27: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 103 | auto uri = fmt::format("/devices/views/{}/devices", in_id); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ At top level: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c timetracker.cc -o timetracker.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from timetracker.h:35, from timetracker.cc:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timetracker.cc:102:18: required from here fmt/core.h:1735:46: note: 102 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timetracker.cc:102:18: required from here fmt/core.h:1735:46: note: 102 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_dlt.cc -o kis_dlt.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from kis_dlt.cc:24: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_dlt.cc:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kaitaistream.cc -o kaitaistream.cc.o kaitaistream.cc: In member function ‘float kaitai::kstream::read_f4be()’: kaitaistream.cc:256:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 256 | return reinterpret_cast(t); | ^ kaitaistream.cc: In member function ‘double kaitai::kstream::read_f8be()’: kaitaistream.cc:265:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 265 | return reinterpret_cast(t); | ^ kaitaistream.cc: In member function ‘float kaitai::kstream::read_f4le()’: kaitaistream.cc:278:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 278 | return reinterpret_cast(t); | ^ kaitaistream.cc: In member function ‘double kaitai::kstream::read_f8le()’: kaitaistream.cc:287:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 287 | return reinterpret_cast(t); | ^ At top level: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c channeltracker2.cc -o channeltracker2.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from channeltracker2.h:31, from channeltracker2.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from channeltracker2.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/specfun.h:43, from /usr/include/c++/14/cmath:3898, from /usr/include/c++/14/math.h:36, from util.h:38: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_7_country.cc -o dot11_parsers/dot11_ie_7_country.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c devicetracker_httpd.cc -o devicetracker_httpd.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from devicetracker_httpd.cc:39: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from devicetracker_httpd.cc:35: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from devicetracker_httpd.cc:21: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devicetracker_httpd.cc:70:24: required from here fmt/core.h:1735:46: note: 70 | devlist_locker.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devicetracker_httpd.cc:70:24: required from here fmt/core.h:1735:46: note: 70 | devlist_locker.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_33_power.cc -o dot11_parsers/dot11_ie_33_power.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c alertracker.cc -o alertracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from alertracker.h:34, from alertracker.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from alertracker.h:32: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from alertracker.cc:21: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alertracker.cc:336:14: required from here fmt/core.h:1735:46: note: 336 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, const std::__cxx11::basic_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:240:49: required from ‘void kis_unique_lock::lock(const std::string&) [with M = kis_mutex; std::string = std::__cxx11::basic_string]’ fmt/core.h:1735:46: note: 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alertracker.cc:336:14: required from here fmt/core.h:1735:46: note: 336 | lock.lock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1, args#2)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_dlt_ppi.cc -o kis_dlt_ppi.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from kis_dlt_ppi.cc:27: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_dlt_ppi.cc:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_dlt_btle_radio.cc -o kis_dlt_btle_radio.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from kis_dlt_btle_radio.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_dlt_btle_radio.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_52_rmm_neighbor.cc -o dot11_parsers/dot11_ie_52_rmm_neighbor.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_11_qbss.cc -o dot11_parsers/dot11_ie_11_qbss.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from dot11_parsers/dot11_ie_11_qbss.cc:20: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_54_mobility.cc -o dot11_parsers/dot11_ie_54_mobility.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie.cc -o dot11_parsers/dot11_ie.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie.cc:23:60: required from here ./fmt/core.h:1735:46: note: 23 | m_tags = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie.cc:23:60: required from here ./fmt/core.h:1735:46: note: 23 | m_tags = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_61_ht_op.cc -o dot11_parsers/dot11_ie_61_ht_op.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_70_rm_capabilities.cc -o dot11_parsers/dot11_ie_70_rm_capabilities.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_113_mesh_config.cc -o dot11_parsers/dot11_ie_113_mesh_config.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_55_fastbss.cc -o dot11_parsers/dot11_ie_55_fastbss.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_133_cisco_ccx.cc -o dot11_parsers/dot11_ie_133_cisco_ccx.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_36_supported_channels.cc -o dot11_parsers/dot11_ie_36_supported_channels.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from dot11_parsers/dot11_ie_36_supported_channels.cc:20: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_150_cisco_powerlevel.cc -o dot11_parsers/dot11_ie_150_cisco_powerlevel.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_dlt_radiotap.cc -o kis_dlt_radiotap.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from kis_dlt_radiotap.cc:27: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_dlt_radiotap.cc:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_150_vendor.cc -o dot11_parsers/dot11_ie_150_vendor.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_191_vht_cap.cc -o dot11_parsers/dot11_ie_191_vht_cap.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_192_vht_op.cc -o dot11_parsers/dot11_ie_192_vht_op.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_127_extended_capabilities.cc -o dot11_parsers/dot11_ie_127_extended_capabilities.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_ms_wmm.cc -o dot11_parsers/dot11_ie_221_ms_wmm.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_vendor.cc -o dot11_parsers/dot11_ie_221_vendor.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_cisco_client_mfp.cc -o dot11_parsers/dot11_ie_221_cisco_client_mfp.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_rsn_pmkid.cc -o dot11_parsers/dot11_ie_221_rsn_pmkid.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_wpa_transition.cc -o dot11_parsers/dot11_ie_221_wpa_transition.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./macaddr.h:47, from dot11_parsers/dot11_ie_221_wpa_transition.h:27, from dot11_parsers/dot11_ie_221_wpa_transition.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_wfa.cc -o dot11_parsers/dot11_ie_221_wfa.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_255_ext_tag.cc -o dot11_parsers/dot11_ie_255_ext_tag.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_wpa_eap.cc -o dot11_parsers/dot11_wpa_eap.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_45_ht_cap.cc -o dot11_parsers/dot11_ie_45_ht_cap.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie_45_ht_cap.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_45_ht_cap::dot11_ie_45_rx_mcs]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_45_ht_cap.cc:25:57: required from here ./fmt/core.h:1735:46: note: 25 | m_mcs = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_45_ht_cap::dot11_ie_45_rx_mcs]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_45_ht_cap.cc:25:57: required from here ./fmt/core.h:1735:46: note: 25 | m_mcs = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c bluetooth_parsers/btle.cc -o bluetooth_parsers/btle.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./macaddr.h:47, from bluetooth_parsers/btle.h:27, from bluetooth_parsers/btle.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_48_rsn.cc -o dot11_parsers/dot11_ie_48_rsn.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie_48_rsn.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_48_rsn::dot11_ie_48_rsn_rsn_cipher]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_48_rsn.cc:24:91: required from here ./fmt/core.h:1735:46: note: 24 | m_group_cipher = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_48_rsn::dot11_ie_48_rsn_rsn_cipher]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_48_rsn.cc:24:91: required from here ./fmt/core.h:1735:46: note: 24 | m_group_cipher = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_dji_droneid.cc -o dot11_parsers/dot11_ie_221_dji_droneid.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie_221_dji_droneid.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_221_dji_droneid::dji_subcommand_flight_reg]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_dji_droneid.cc:32:70: required from here ./fmt/core.h:1735:46: note: 32 | auto fr = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_ie_221_dji_droneid::dji_subcommand_flight_reg]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_dji_droneid.cc:32:70: required from here ./fmt/core.h:1735:46: note: 32 | auto fr = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_wfa_wpa.cc -o dot11_parsers/dot11_ie_221_wfa_wpa.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie_221_wfa_wpa.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_wfa_wpa.cc:28:78: required from here ./fmt/core.h:1735:46: note: 28 | m_unicast_ciphers = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_wfa_wpa.cc:28:78: required from here ./fmt/core.h:1735:46: note: 28 | m_unicast_ciphers = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_action.cc -o dot11_parsers/dot11_action.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_action.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_action::action_rmm]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_action.cc:27:54: required from here ./fmt/core.h:1735:46: note: 27 | auto r = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_action::action_rmm]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_action.cc:27:54: required from here ./fmt/core.h:1735:46: note: 27 | auto r = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_p2p_ie.cc -o dot11_parsers/dot11_p2p_ie.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_p2p_ie.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_p2p_ie.cc:23:60: required from here ./fmt/core.h:1735:46: note: 23 | m_tags = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_p2p_ie.cc:23:60: required from here ./fmt/core.h:1735:46: note: 23 | m_tags = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c dot11_parsers/dot11_ie_221_ms_wps.cc -o dot11_parsers/dot11_ie_221_ms_wps.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from ./globalregistry.h:29, from dot11_parsers/dot11_ie_221_ms_wps.cc:19: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_ms_wps.cc:24:80: required from here ./fmt/core.h:1735:46: note: 24 | m_wps_elements = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ ./fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ ./fmt/core.h:1735:46: note: 361 | lk.unlock(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_ms_wps.cc:24:80: required from here ./fmt/core.h:1735:46: note: 24 | m_wps_elements = Globalreg::new_from_pool(); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c devicetracker.cc -o devicetracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from kis_gps.h:25, from alertracker.h:34, from devicetracker.cc:38: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /usr/include/c++/14/ppc64le-redhat-linux/bits/c++config.h:887, from /usr/include/c++/14/bits/memoryfwd.h:48, from /usr/include/c++/14/memory:63, from devicetracker.cc:21: /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_unique(_RandomAccessIterator, _RandomAccessIterator, _BinaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:1219:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 1219 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:1929:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 1929 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator __pstl::__internal::__brick_stable_partition(_RandomAccessIterator, _RandomAccessIterator, _UnaryPredicate, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2029:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2029 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_merge(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2715:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2715 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘void __pstl::__internal::__brick_inplace_merge(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:2764:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 2764 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial") | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_OutputIterator __pstl::__internal::__brick_set_union(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _OutputIterator, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3141:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3141 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_intersection(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3202:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3202 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3298:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3298 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14/pstl/algorithm_impl.h: In function ‘_RandomAccessIterator3 __pstl::__internal::__brick_set_symmetric_difference(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _RandomAccessIterator2, _RandomAccessIterator3, _Compare, std::true_type)’: /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: ‘#pragma message: [Parallel STL message]: "Vectorized algorithm unimplemented, redirected to serial"’ 3390 | _PSTL_PRAGMA_MESSAGE("Vectorized algorithm unimplemented, redirected to serial"); | ^~~~~~~~~~~~~~~~~~~~ In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from alertracker.h:32: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1777 | return make_value(val); /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ^ fmt/format-inl.h:65:14: required from here /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); /usr/include/c++/14/pstl/algorithm_impl.h:3390:5: note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ datasourcetracker.h:504:9: required from here fmt/core.h:1735:46: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = device_key&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = device_key&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {device_key&}; Context = fmt::v9::basic_format_context; Args = {device_key}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {device_key&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ devicetracker.cc:483:53: required from here fmt/core.h:1735:46: note: 483 | con->set_target_file(fmt::format("kismet-device-{}.pcapng", devkey)); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {uuid&}; Context = fmt::v9::basic_format_context; Args = {uuid}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {uuid&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ devicetracker.cc:2019:66: required from here fmt/core.h:1735:46: note: 2019 | std::make_shared(fmt::format("seenby-{}", source_uuid), fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ devicetracker.cc:997:14: required from here fmt/core.h:1735:46: note: 997 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ At top level: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_zwave.cc -o phy_zwave.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from phy_zwave.h:26, from phy_zwave.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_zwave.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_80211_components.cc -o phy_80211_components.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_80211.h:48, from phy_80211_components.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from manuf.h:39, from phy_80211_components.cc:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from dot11_parsers/dot11_ie.h:31, from phy_80211_components.cc:20: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_meter.cc -o phy_meter.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from phy_meter.h:26, from phy_meter.cc:24: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from phy_meter.cc:22: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from /usr/include/c++/14/bits/locale_classes.h:40, from /usr/include/c++/14/bits/ios_base.h:41, from /usr/include/c++/14/streambuf:43, from /usr/include/c++/14/bits/streambuf_iterator.h:35, from /usr/include/c++/14/iterator:66, from fmt/core.h:14: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_sensor.cc -o phy_sensor.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from phy_sensor.h:26, from phy_sensor.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_sensor.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_adsb.cc -o phy_adsb.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from gpstracker.h:27, from kis_datasource.h:29, from datasourcetracker.h:32, from phy_adsb.h:27, from phy_adsb.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from adsb_icao.h:39, from phy_adsb.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from adsb_icao.h:37: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {uuid&}; Context = fmt::v9::basic_format_context; Args = {uuid}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {uuid&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ phy_adsb.cc:136:43: required from here fmt/core.h:1735:46: note: 136 | auto uri = fmt::format("/phy/ADSB/by-uuid/{}/proxy", src_uuid); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_80211_dissectors.cc -o phy_80211_dissectors.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_80211.h:48, from phy_80211_dissectors.cc:36: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_80211.h:47: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/bits/stl_tree.h:63, from /usr/include/c++/14/map:62, from phy_80211_dissectors.cc:28: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_bluetooth.cc -o phy_bluetooth.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_bluetooth.cc:31: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_bluetooth.cc:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from phy_bluetooth.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_nrf_mousejack.cc -o phy_nrf_mousejack.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_nrf_mousejack.cc:31: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_nrf_mousejack.cc:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from phy_nrf_mousejack.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_802154.cc -o phy_802154.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_802154.cc:31: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_802154.cc:30: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from phy_802154.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_uav_drone.cc -o phy_uav_drone.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phyhandler.h:28, from phy_uav_drone.h:25, from phy_uav_drone.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from trackedelement.h:41, from phy_uav_drone.h:23: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from trackedelement.h:31: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_btle.cc -o phy_btle.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_btle.cc:32: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_btle.cc:31: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from phy_btle.cc:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_radiation.cc -o phy_radiation.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phyhandler.h:28, from phy_radiation.h:25, from phy_radiation.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_radiation.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_80211.cc -o phy_80211.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from phy_80211.cc:35: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from phy_80211.cc:34: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/list:62, from phy_80211.cc:23: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_dissector_ipdata.cc -o kis_dissector_ipdata.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from kis_dissector_ipdata.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_dissector_ipdata.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c manuf.cc -o manuf.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from manuf.cc:22: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c bluetooth_ids.cc -o bluetooth_ids.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from bluetooth_ids.h:31, from bluetooth_ids.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c phy_80211_ssidtracker.cc -o phy_80211_ssidtracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from devicetracker.h:44, from phy_80211_ssidtracker.h:26, from phy_80211_ssidtracker.cc:19: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from devicetracker.h:40: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/functional:53, from phy_80211_ssidtracker.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c adsb_icao.cc -o adsb_icao.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from adsb_icao.cc:22: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c logtracker.cc -o logtracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from logtracker.h:29, from logtracker.cc:23: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from logtracker.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from logtracker.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = uuid&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = uuid&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {uuid&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {uuid, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {uuid, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ logtracker.cc:209:21: required from here fmt/core.h:1735:46: note: 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((uuid&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_ppilogfile.cc -o kis_ppilogfile.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from kis_ppilogfile.h:36, from kis_ppilogfile.cc:26: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_ppilogfile.h:33: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from kis_ppilogfile.h:27: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ kis_ppilogfile.cc:108:14: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 108 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ kis_ppilogfile.cc:108:14: required from here fmt/core.h:1735:46: note: 108 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_pcapnglogfile.cc -o kis_pcapnglogfile.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from logtracker.h:29, from kis_pcapnglogfile.h:25, from kis_pcapnglogfile.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from kis_pcapnglogfile.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from configfile.h:31: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c messagebus_restclient.cc -o messagebus_restclient.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from messagebus_restclient.h:34, from messagebus_restclient.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from eventbus.h:53, from messagebus.h:29, from messagebus_restclient.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/deque:62, from /usr/include/c++/14/queue:62, from messagebus.h:25: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_strip_packets log_tools/kismetdb_strip_packet_content.c.o -lsqlite3 -rdynamic gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c protobuf_c/datasource.pb-c.c -o protobuf_c/datasource.pb-c.c.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_wiglecsvlogfile.cc -o kis_wiglecsvlogfile.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from logtracker.h:29, from kis_wiglecsvlogfile.h:26, from kis_wiglecsvlogfile.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from configfile.h:35, from kis_wiglecsvlogfile.h:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/string:51, from configfile.h:31: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {mac_addr&, std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, int&, int&, double&, double&, double&, const char (&)[5]}; Context = fmt::v9::basic_format_context; Args = {mac_addr, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, int, int, double, double, double, char [5]}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘void fmt::v9::print(FILE*, format_string, T&& ...) [with T = {mac_addr, std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >, int, int&, double&, double&, double&, const char (&)[5]}; FILE = FILE; format_string = basic_format_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >, int, int&, double&, double&, double&, const char (&)[5]>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_wiglecsvlogfile.cc:311:19: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 311 | fmt::print(wigle->csvfile, "{},{},{},{},{},{},{:3.6f},{:3.6f},{:f},0,{}\n", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | dev->get_macaddr(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 313 | name, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~ 314 | crypt, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~ 315 | ts.str(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~ 316 | (int) channel, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~ 317 | signal, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~ 318 | gps->lat, gps->lon, gps->alt, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | "WIFI"); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~ fmt/core.h:3311:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>((* & args#0), (* & args#1), (* & args#2), (* & args#3), (* & args#4), (* & args#5), (* & args#6), (* & args#7), (* & args#8), (* & args#9))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ kis_wiglecsvlogfile.cc:191:14: required from here fmt/core.h:1735:46: note: 191 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ kis_wiglecsvlogfile.cc:191:14: required from here fmt/core.h:1735:46: note: 191 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_databaselogfile.cc -o kis_databaselogfile.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from packet.h:40, from devicetracker_component.h:41, from json_adapter.h:26, from kis_databaselogfile.cc:25: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_databaselogfile.cc:24: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from globalregistry.h:26: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ alertracker.h:232:46: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = device_key&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = device_key&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {device_key&}; Context = fmt::v9::basic_format_context; Args = {device_key}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {device_key}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_databaselogfile.cc:817:9: required from here fmt/core.h:1735:46: note: 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((device_key&)args#0))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c streamtracker.cc -o streamtracker.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from streamtracker.h:29, from streamtracker.cc:21: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from streamtracker.h:26: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_tempbuf.h:62, from /usr/include/c++/14/memory:66, from streamtracker.h:24: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c pcapng_stream_futurebuf.cc -o pcapng_stream_futurebuf.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from packetchain.h:42, from pcapng_stream_futurebuf.h:30, from pcapng_stream_futurebuf.cc:22: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from kis_mutex.h:36, from pcapng_stream_futurebuf.cc:21: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/tuple:38, from /usr/include/c++/14/mutex:40, from /usr/include/c++/14/future:40, from kis_mutex.h:27: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 361 | lk.unlock(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 418 | auto r = Globalreg::new_from_pool(); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kis_database.cc -o kis_database.cc.o In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from globalregistry.h:29, from kis_database.h:32, from kis_database.cc:19: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_to_wiglecsv.cc -o log_tools/kismetdb_to_wiglecsv.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_to_wiglecsv.cc:46: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c tools/kismet_discovery.cc -o tools/kismet_discovery.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_dump_devices.cc -o log_tools/kismetdb_dump_devices.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_dump_devices.cc:39: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘void fmt::v9::print(FILE*, format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >}; FILE = FILE; format_string = basic_format_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ log_tools/kismetdb_dump_devices.cc:296:23: required from here ./fmt/core.h:1735:46: note: 296 | fmt::print(ofile, "{}", ss.str()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3311:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>((* & args#0))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics ar rcs libkismetdatasource.a protobuf_c/kismet.pb-c.c.o protobuf_c/datasource.pb-c.c.o protobuf_c/linuxbluetooth.pb-c.c.o protobuf_c/eventbus.pb-c.c.o simple_ringbuf_c.c.o capture_framework.c.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_statistics.cc -o log_tools/kismetdb_statistics.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_statistics.cc:41: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘void fmt::v9::print(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; format_string = basic_format_string, std::allocator >&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ log_tools/kismetdb_statistics.cc:358:27: required from here ./fmt/core.h:1735:46: note: 358 | fmt::print("{}", ti.first); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ./fmt/core.h:3294:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>((* & args#0))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_to_gpx.cc -o log_tools/kismetdb_to_gpx.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_to_gpx.cc:45: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_clean.cc -o log_tools/kismetdb_clean.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_clean.cc:41: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c protobuf_cpp/datasource.pb.cc -o protobuf_cpp/datasource.pb.cc.o g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_to_kml.cc -o log_tools/kismetdb_to_kml.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_to_kml.cc:46: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_to_wiglecsv log_tools/kismetdb_to_wiglecsv.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o tools/kismet_discovery tools/kismet_discovery.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_dump_devices log_tools/kismetdb_dump_devices.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic (cd capture_linux_wifi && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread ../interface_control.c | sed -e "s/\.o/\.c.o/" > ../interface_control.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread ../wifi_ht_channels.c | sed -e "s/\.o/\.c.o/" > ../wifi_ht_channels.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread linux_wireless_control.c | sed -e "s/\.o/\.c.o/" > linux_wireless_control.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread linux_netlink_control.c | sed -e "s/\.o/\.c.o/" > linux_netlink_control.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread linux_nexmon_control.c | sed -e "s/\.o/\.c.o/" > linux_nexmon_control.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread linux_wireless_rfkill.c | sed -e "s/\.o/\.c.o/" > linux_wireless_rfkill.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -o kismet_cap_kismetdb capture_kismetdb.c.o libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lsqlite3 make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c ../interface_control.c -o ../interface_control.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c log_tools/kismetdb_to_pcap.cc -o log_tools/kismetdb_to_pcap.cc.o In file included from ./fmt/format.h:48, from ./fmt/ostream.h:20, from ./fmt.h:23, from log_tools/kismetdb_to_pcap.cc:46: ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ 1899 | data_{detail::make_arg< | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./fmt/format-inl.h:65:14: required from here 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ ./macaddr.h:473:27: required from here ./fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: ./fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ ./fmt/core.h:1735:46: note: 1777 | return make_value(val); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ ./fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, char*&, int&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, char*, int}]’ ./fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ ./fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&, char*, int&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&, char*, int&>]’ ./fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; ./fmt/core.h:1735:46: note: | ^ log_tools/kismetdb_to_pcap.cc:183:53: required from here ./fmt/core.h:1735:46: note: 183 | throw std::runtime_error(fmt::format("Unexpected problem opening output " ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | "file '{}': {} (errno {})", path, strerror(errno), errno)); ./fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, ((char*&)args#1), args#2)’ ./fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ ./fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics (cd capture_hak5_wifi_coconut && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/kernel/crc_ccit.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/kernel/crc_ccit.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/kernel/cfg80211.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/kernel/cfg80211.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_statistics log_tools/kismetdb_statistics.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/rt2800usb/rt2x00mac.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/rt2800usb/rt2x00mac.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/rt2800usb/rt2800lib.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/rt2800usb/rt2800lib.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_linux_wifi.c | sed -e "s/\.o/\.c.o/" > capture_linux_wifi.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/rt2800usb/rt2800usb.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/rt2800usb/rt2800usb.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c ../wifi_ht_channels.c -o ../wifi_ht_channels.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/rt2800usb/rt2x00.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/rt2800usb/rt2x00.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/rt2800usb/rt2x00usb.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/rt2800usb/rt2x00usb.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" libwifiuserspace/userspace/userspace.c | sed -e "s/\.o/\.c.o/" > libwifiuserspace/userspace/userspace.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" wifi_coconut/wifi_coconut.c | sed -e "s/\.o/\.c.o/" > wifi_coconut/wifi_coconut.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/kernel/crc_ccit.c -o libwifiuserspace/kernel/crc_ccit.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" capture_hak5_coconut.c | sed -e "s/\.o/\.c.o/" > capture_hak5_coconut.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/kernel/cfg80211.c -o libwifiuserspace/kernel/cfg80211.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/rt2800usb/rt2x00mac.c -o libwifiuserspace/rt2800usb/rt2x00mac.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -o kismet_cap_pcapfile capture_pcapfile.c.o libkismetdatasource.a -lpcap -lcap -lwebsockets -lpthread -lprotobuf-c -lm (cd capture_nrf_mousejack && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_nrf_mousejack.c | sed -e "s/\.o/\.c.o/" > capture_nrf_mousejack.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c linux_wireless_control.c -o linux_wireless_control.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_clean log_tools/kismetdb_clean.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic (cd capture_ti_cc_2540 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_ti_cc_2540.c | sed -e "s/\.o/\.c.o/" > capture_ti_cc_2540.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/rt2800usb/rt2800usb.c -o libwifiuserspace/rt2800usb/rt2800usb.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/rt2800usb/rt2x00.c -o libwifiuserspace/rt2800usb/rt2x00.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c linux_netlink_control.c -o linux_netlink_control.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -I/usr/include/libusb-1.0 -c capture_ti_cc_2540.c -o capture_ti_cc_2540.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -I/usr/include/libusb-1.0 -c capture_nrf_mousejack.c -o capture_nrf_mousejack.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' capture_nrf_mousejack.c: In function ‘probe_callback’: capture_nrf_mousejack.c:206:9: warning: variable ‘matched_device’ set but not used [-Wunused-but-set-variable] 206 | int matched_device = 0; | ^~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c linux_wireless_rfkill.c -o linux_wireless_rfkill.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c linux_nexmon_control.c -o linux_nexmon_control.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/rt2800usb/rt2x00usb.c -o libwifiuserspace/rt2800usb/rt2x00usb.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' In function ‘rt2x00usb_find_endpoints’, inlined from ‘rt2x00usb_initialize’ at libwifiuserspace/rt2800usb/rt2x00usb.c:364:14: libwifiuserspace/rt2800usb/rt2x00usb.c:339:8: warning: ‘found_in’ may be used uninitialized [-Wmaybe-uninitialized] 339 | if (!found_in || !found_out) { | ^ libwifiuserspace/rt2800usb/rt2x00usb.c: In function ‘rt2x00usb_initialize’: libwifiuserspace/rt2800usb/rt2x00usb.c:265:10: note: ‘found_in’ was declared here 265 | bool found_in, found_out; | ^~~~~~~~ In function ‘rt2x00usb_find_endpoints’, inlined from ‘rt2x00usb_initialize’ at libwifiuserspace/rt2800usb/rt2x00usb.c:364:14: libwifiuserspace/rt2800usb/rt2x00usb.c:339:19: warning: ‘found_out’ may be used uninitialized [-Wmaybe-uninitialized] 339 | if (!found_in || !found_out) { | ~~~~~~~~~~^~~~~~~~~~~~~ libwifiuserspace/rt2800usb/rt2x00usb.c: In function ‘rt2x00usb_initialize’: libwifiuserspace/rt2800usb/rt2x00usb.c:265:20: note: ‘found_out’ was declared here 265 | bool found_in, found_out; | ^~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/userspace/userspace.c -o libwifiuserspace/userspace/userspace.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' libwifiuserspace/userspace/userspace.c: In function ‘userspace_load_firmware_file’: libwifiuserspace/userspace/userspace.c:268:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | fread((*firmware_blob), *blob_len, 1, fwfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c wifi_coconut/wifi_coconut.c -o wifi_coconut/wifi_coconut.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_ti_cc_2531 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_ti_cc_2531.c | sed -e "s/\.o/\.c.o/" > capture_ti_cc_2531.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c capture_hak5_coconut.c -o capture_hak5_coconut.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' In file included from libwifiuserspace/kernel/ieee80211.h:29, from libwifiuserspace/kernel/cfg80211.h:22, from wifi_coconut/wifi_coconut.h:27, from capture_hak5_coconut.c:56: libwifiuserspace/kernel/stddef.h:26:9: warning: "__struct_group" redefined 26 | #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ | ^~~~~~~~~~~~~~ In file included from /usr/include/linux/posix_types.h:5, from /usr/include/asm-generic/socket.h:5, from /usr/include/asm/socket.h:19, from /usr/include/bits/socket.h:390, from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from /usr/include/arpa/inet.h:22, from ../capture_framework.h:54, from capture_hak5_coconut.c:50: /usr/include/linux/stddef.h:26:9: note: this is the location of the previous definition 26 | #define __struct_group(TAG, NAME, ATTRS, MEMBERS...) \ | ^~~~~~~~~~~~~~ cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics (cd capture_linux_bluetooth && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread linux_bt_rfkill.c | sed -e "s/\.o/\.c.o/" > linux_bt_rfkill.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_linux_bluetooth.c | sed -e "s/\.o/\.c.o/" > capture_linux_bluetooth.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -I/usr/include/libusb-1.0 -c capture_ti_cc_2531.c -o capture_ti_cc_2531.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c linux_bt_rfkill.c -o linux_bt_rfkill.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_to_gpx log_tools/kismetdb_to_gpx.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic (cd capture_nrf_51822 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_nrf_51822.c | sed -e "s/\.o/\.c.o/" > capture_nrf_51822.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_linux_bluetooth.c -o capture_linux_bluetooth.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' capture_linux_bluetooth.c: In function ‘handle_mgmt_response’: capture_linux_bluetooth.c:455:32: warning: unused variable ‘cstat’ [-Wunused-variable] 455 | struct mgmt_ev_cmd_status *cstat; | ^~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_linux_wifi.c -o capture_linux_wifi.c.o capture_linux_wifi.c: In function ‘chancontrol_callback’: capture_linux_wifi.c:1265:21: warning: variable ‘check_r’ set but not used [-Wunused-but-set-variable] 1265 | int check_r = 0; | ^~~~~~~ capture_linux_wifi.c: In function ‘open_callback’: capture_linux_wifi.c:2276:13: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 2276 | nm_device_set_managed(nmdevice, 0); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/libnm/NetworkManager.h:100, from capture_linux_wifi.c:82: /usr/include/libnm/nm-device.h:152:6: note: declared here 152 | void nm_device_set_managed(NMDevice *device, gboolean managed); | ^~~~~~~~~~~~~~~~~~~~~ capture_linux_wifi.c:2785:13: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 2785 | nm_device_set_managed(nmdevice, 0); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libnm/nm-device.h:152:6: note: declared here 152 | void nm_device_set_managed(NMDevice *device, gboolean managed); | ^~~~~~~~~~~~~~~~~~~~~ capture_linux_wifi.c: In function ‘main’: capture_linux_wifi.c:3353:29: warning: ‘nm_device_set_managed’ is deprecated [-Wdeprecated-declarations] 3353 | nm_device_set_managed((NMDevice *) d, 1); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libnm/nm-device.h:152:6: note: declared here 152 | void nm_device_set_managed(NMDevice *device, gboolean managed); | ^~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_nrf_51822.c -o capture_nrf_51822.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_ti_cc_2540 capture_ti_cc_2540.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lusb-1.0 make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' (cd capture_nxp_kw41z && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_nxp_kw41z.c | sed -e "s/\.o/\.c.o/" > capture_nxp_kw41z.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Ilibwifiuserspace/ -DFIRMWAREDIR=\"/usr/share/kismet//firmware/\" -c libwifiuserspace/rt2800usb/rt2800lib.c -o libwifiuserspace/rt2800usb/rt2800lib.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_nxp_kw41z.c -o capture_nxp_kw41z.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_ti_cc_2531 capture_ti_cc_2531.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lusb-1.0 make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' (cd capture_nrf_52840 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_nrf_52840.c | sed -e "s/\.o/\.c.o/" > capture_nrf_52840.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_nrf_mousejack capture_nrf_mousejack.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lusb-1.0 make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_rz_killerbee && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' gcc -MM -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread capture_rz_killerbee.c | sed -e "s/\.o/\.c.o/" > capture_rz_killerbee.c.d make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c capture_nrf_52840.c -o capture_nrf_52840.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' capture_nrf_52840.c: In function ‘nrf_write_cmd’: capture_nrf_52840.c:62:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | write(localnrf->fd,tx_buf,tx_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -I/usr/include/libusb-1.0 -c capture_rz_killerbee.c -o capture_rz_killerbee.c.o make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_linux_bluetooth linux_bt_rfkill.c.o capture_linux_bluetooth.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_nrf_51822 capture_nrf_51822.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_nxp_kw41z capture_nxp_kw41z.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_linux_wifi ../interface_control.c.o ../wifi_ht_channels.c.o linux_wireless_control.c.o linux_netlink_control.c.o linux_nexmon_control.c.o linux_wireless_rfkill.c.o capture_linux_wifi.c.o ../libkismetdatasource.a -lpcap -lnm -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lnl-genl-3 -lnl-3 -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_nrf_52840 capture_nrf_52840.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_rz_killerbee capture_rz_killerbee.c.o ../libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lusb-1.0 make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -Wl,--as-needed -Wl,--as-needed -rdynamic -Wl,--as-needed -rdynamic -o kismet_cap_hak5_wifi_coconut libwifiuserspace/kernel/crc_ccit.c.o libwifiuserspace/kernel/cfg80211.c.o libwifiuserspace/rt2800usb/rt2x00mac.c.o libwifiuserspace/rt2800usb/rt2800lib.c.o libwifiuserspace/rt2800usb/rt2800usb.c.o libwifiuserspace/rt2800usb/rt2x00.c.o libwifiuserspace/rt2800usb/rt2x00usb.c.o libwifiuserspace/userspace/userspace.c.o wifi_coconut/wifi_coconut.c.o capture_hak5_coconut.c.o ../libkismetdatasource.a -lusb-1.0 -lcap -lwebsockets -lpthread -lprotobuf-c -lm make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_to_pcap log_tools/kismetdb_to_pcap.cc.o sqlite3_cpp11.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -lpcap -rdynamic g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o log_tools/kismetdb_to_kml log_tools/kismetdb_to_kml.cc.o sqlite3_cpp11.cc.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic g++ -std=gnu++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kismet_server.cc -o kismet_server.cc.o In file included from jwt-cpp/jwt.h:8, from kis_net_beast_httpd.h:35, from kis_external.h:43, from plugintracker.h:107, from kismet_server.cc:53: ./picojson/picojson.h:78:9: warning: "__STDC_FORMAT_MACROS" redefined 78 | #define __STDC_FORMAT_MACROS | ^~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from fmt/format.h:48, from fmt/ostream.h:20, from fmt.h:23, from util.h:62, from kismet_server.cc:46: fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::basic_string_view&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = fmt::v9::basic_string_view&; typename std::enable_if::type = 0]’ : note: 1777 | return make_value(val); : note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::basic_string_view&, const char (&)[3]}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::basic_string_view, char [3]}]’ : note: 1899 | data_{detail::make_arg< : note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, : note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( : note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { : note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {basic_string_view&, const char (&)[3]}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string&, const char (&)[3]>]’ : note: 1918 | return {FMT_FORWARD(args)...}; : note: | ^ fmt/format-inl.h:65:14: required from here : note: 65 | format_to(it, FMT_STRING("{}{}"), message, SEP); : note: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3235:52: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0, args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const fmt::v9::basic_string_view*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ macaddr.h:473:27: required from here fmt/core.h:1735:46: note: 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((std::__cxx11::basic_string&)args#1))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((*(const std::__cxx11::basic_string*)(& val)))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/bits/stl_algobase.h:64, from /usr/include/c++/14/algorithm:60, from backward.h:62, from backward_wrapper.h:28, from kismet_server.cc:25: /usr/include/c++/14/bits/stl_pair.h: In instantiation of ‘constexpr std::pair::type>::__type, typename std::__strip_reference_wrapper::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = const double&; _T2 = const double&; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp>::type = double; typename __strip_reference_wrapper::type>::__type = double; typename decay<_Tp2>::type = double]’: trackedelement.h:1711:30: required from ‘void tracker_element_core_pair::set(const T1&, const T2&) [with T1 = double; T2 = double; tracker_type TT = tracker_type::tracker_pair_double]’ fmt/core.h:1735:46: note: 1711 | pair = std::make_pair(t1, t2); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~^~~~~~~~ trackedlocation.h:74:22: required from here fmt/core.h:1735:46: note: 74 | geopoint->set(lon, lat); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: parameter passing for argument of type ‘std::pair’ when C++17 is enabled changed to match C++14 in GCC 10.1 1116 | make_pair(_T1&& __x, _T2&& __y) | ^~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::__cxx11::basic_string&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::string_type; T = const std::__cxx11::basic_string&; typename std::enable_if::type = 0]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1777 | return make_value(val); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >}]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1899 | data_{detail::make_arg< /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 1918 | return {FMT_FORWARD(args)...}; /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ^ datasourcetracker.h:504:9: required from here /usr/include/c++/14/bits/stl_pair.h:1116:5: note: 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); /usr/include/c++/14/bits/stl_pair.h:1116:5: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = mac_addr&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = mac_addr&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >&, unsigned char&, unsigned int&, double&, mac_addr&, mac_addr&, mac_addr&, mac_addr&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::__cxx11::basic_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator >}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >, unsigned char, unsigned int, double, mac_addr, mac_addr, mac_addr, mac_addr, std::__cxx11::basic_string, std::allocator > >]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ alertracker.h:232:46: required from here fmt/core.h:1735:46: note: 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::__cxx11::basic_string&)args#0), ((unsigned char&)args#1), ((unsigned int&)args#2), ((double&)args#3), ((mac_addr&)args#4), ((mac_addr&)args#5), ((mac_addr&)args#6), ((mac_addr&)args#7), ((std::__cxx11::basic_string&)args#8))’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::thread::id&]’: fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::thread::id&; typename std::enable_if::type = 0]’ fmt/core.h:1735:46: note: 1777 | return make_value(val); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~^~~~~ fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::thread::id&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::thread::id, std::__cxx11::basic_string, std::allocator >}]’ fmt/core.h:1735:46: note: 1899 | data_{detail::make_arg< fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ 1900 | is_packed, Context, fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~ 1901 | detail::mapped_type_constant, Context>::value>( fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1902 | FMT_FORWARD(args))...} { fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~ fmt/core.h:1918:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::thread::id, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >&>]’ fmt/core.h:1735:46: note: 1918 | return {FMT_FORWARD(args)...}; fmt/core.h:1735:46: note: | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ fmt/core.h:1735:46: note: 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " fmt/core.h:1735:46: note: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ fmt/core.h:1735:46: note: 361 | lk.unlock(); fmt/core.h:1735:46: note: | ~~~~~~~~~^~ trackedelement.h:418:50: required from here fmt/core.h:1735:46: note: 418 | auto r = Globalreg::new_from_pool(); fmt/core.h:1735:46: note: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fmt/core.h:3206:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(((std::thread::id&)args#0), args#1)’ fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -Wl,--as-needed -Wl,--as-needed -rdynamic -o kismet util.cc.o crc32.cc.o macaddr.cc.o uuid.cc.o xxhash.cc.o boost_like_hash.cc.o sqlite3_cpp11.cc.o globalregistry.cc.o eventbus.cc.o packet.cc.o configfile.cc.o battery.cc.o ipctracker_v2.cc.o protobuf_cpp/kismet.pb.cc.o protobuf_cpp/http.pb.cc.o protobuf_cpp/datasource.pb.cc.o protobuf_cpp/linuxbluetooth.pb.cc.o protobuf_cpp/eventbus.pb.cc.o kis_external.cc.o dlttracker.cc.o antennatracker.cc.o datasourcetracker.cc.o kis_datasource.cc.o datasource_linux_bluetooth.cc.o datasource_rtl433.cc.o datasource_rtlamr.cc.o datasource_rtladsb.cc.o datasource_ti_cc_2540.cc.o datasource_ti_cc_2531.cc.o datasource_ubertooth_one.cc.o datasource_nrf_51822.cc.o datasource_nxp_kw41z.cc.o datasource_nrf_52840.cc.o datasource_rz_killerbee.cc.o datasource_scan.cc.o datasource_bt_geiger.cc.o kis_net_beast_httpd.cc.o kis_httpd_registry.cc.o system_monitor.cc.o base64.cc.o gpstracker.cc.o kis_gps.cc.o gpsnmea_v2.cc.o gpsserial_v3.cc.o gpstcp_v2.cc.o gpsgpsd_v3.cc.o gpsfake.cc.o gpsweb.cc.o gpsmeta.cc.o packetchain.cc.o packet_filter.cc.o class_filter.cc.o trackedelement.cc.o trackedelement_workers.cc.o trackedcomponent.cc.o entrytracker.cc.o trackedlocation.cc.o devicetracker_component.cc.o devicetracker_view.cc.o devicetracker_view_workers.cc.o kis_server_announce.cc.o json_adapter.cc.o plugintracker.cc.o alertracker.cc.o timetracker.cc.o channeltracker2.cc.o devicetracker.cc.o devicetracker_httpd.cc.o kis_dlt.cc.o kis_dlt_ppi.cc.o kis_dlt_radiotap.cc.o kis_dlt_btle_radio.cc.o kaitaistream.cc.o dot11_parsers/dot11_ie.cc.o dot11_parsers/dot11_ie_7_country.cc.o dot11_parsers/dot11_ie_11_qbss.cc.o dot11_parsers/dot11_ie_33_power.cc.o dot11_parsers/dot11_ie_36_supported_channels.cc.o dot11_parsers/dot11_ie_45_ht_cap.cc.o dot11_parsers/dot11_ie_48_rsn.cc.o dot11_parsers/dot11_ie_52_rmm_neighbor.cc.o dot11_parsers/dot11_ie_54_mobility.cc.o dot11_parsers/dot11_ie_55_fastbss.cc.o dot11_parsers/dot11_ie_61_ht_op.cc.o dot11_parsers/dot11_ie_70_rm_capabilities.cc.o dot11_parsers/dot11_ie_113_mesh_config.cc.o dot11_parsers/dot11_ie_133_cisco_ccx.cc.o dot11_parsers/dot11_ie_150_vendor.cc.o dot11_parsers/dot11_ie_150_cisco_powerlevel.cc.o dot11_parsers/dot11_ie_191_vht_cap.cc.o dot11_parsers/dot11_ie_192_vht_op.cc.o dot11_parsers/dot11_ie_127_extended_capabilities.cc.o dot11_parsers/dot11_ie_221_vendor.cc.o dot11_parsers/dot11_ie_221_ms_wps.cc.o dot11_parsers/dot11_ie_221_ms_wmm.cc.o dot11_parsers/dot11_ie_221_dji_droneid.cc.o dot11_parsers/dot11_ie_221_wfa_wpa.cc.o dot11_parsers/dot11_ie_221_cisco_client_mfp.cc.o dot11_parsers/dot11_ie_221_wpa_transition.cc.o dot11_parsers/dot11_ie_221_rsn_pmkid.cc.o dot11_parsers/dot11_ie_221_wfa.cc.o dot11_parsers/dot11_ie_255_ext_tag.cc.o dot11_parsers/dot11_action.cc.o dot11_parsers/dot11_wpa_eap.cc.o dot11_parsers/dot11_p2p_ie.cc.o bluetooth_parsers/btle.cc.o phy_80211.cc.o phy_80211_components.cc.o phy_80211_dissectors.cc.o phy_sensor.cc.o phy_meter.cc.o phy_adsb.cc.o phy_zwave.cc.o phy_bluetooth.cc.o phy_uav_drone.cc.o phy_nrf_mousejack.cc.o phy_btle.cc.o phy_802154.cc.o phy_80211_ssidtracker.cc.o phy_radiation.cc.o kis_dissector_ipdata.cc.o manuf.cc.o bluetooth_ids.cc.o adsb_icao.cc.o logtracker.cc.o kis_ppilogfile.cc.o kis_databaselogfile.cc.o kis_pcapnglogfile.cc.o kis_wiglecsvlogfile.cc.o messagebus_restclient.cc.o streamtracker.cc.o pcapng_stream_futurebuf.cc.o kis_database.cc.o kismet_server.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -lpcap -lpthread -lprotobuf -lssl -lcrypto -rdynamic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pABCli + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le ++ dirname /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kismet-2023-07-R1 + BIN=/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/bin + ETC=/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc + /usr/bin/make suidinstall DESTDIR=/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le 'INSTALL=/usr/bin/install -p' groupadd -r -f kismet groupadd: Permission denied. groupadd: cannot lock /etc/group; try again later. make: [Makefile:602: suidinstall] Error 10 (ignored) make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1' gcc -MM -MP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -MT version.c.o version.c -MF version.c.d gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wno-unknown-warning-option -Wno-format-truncation -Wno-unused-function -g -I. -fPIE -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I/usr/include/libnl3 -pthread -c version.c -o version.c.o g++ -std=gnu++17 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--as-needed -rdynamic -o kismet util.cc.o crc32.cc.o macaddr.cc.o uuid.cc.o xxhash.cc.o boost_like_hash.cc.o sqlite3_cpp11.cc.o globalregistry.cc.o eventbus.cc.o packet.cc.o configfile.cc.o battery.cc.o ipctracker_v2.cc.o protobuf_cpp/kismet.pb.cc.o protobuf_cpp/http.pb.cc.o protobuf_cpp/datasource.pb.cc.o protobuf_cpp/linuxbluetooth.pb.cc.o protobuf_cpp/eventbus.pb.cc.o kis_external.cc.o dlttracker.cc.o antennatracker.cc.o datasourcetracker.cc.o kis_datasource.cc.o datasource_linux_bluetooth.cc.o datasource_rtl433.cc.o datasource_rtlamr.cc.o datasource_rtladsb.cc.o datasource_ti_cc_2540.cc.o datasource_ti_cc_2531.cc.o datasource_ubertooth_one.cc.o datasource_nrf_51822.cc.o datasource_nxp_kw41z.cc.o datasource_nrf_52840.cc.o datasource_rz_killerbee.cc.o datasource_scan.cc.o datasource_bt_geiger.cc.o kis_net_beast_httpd.cc.o kis_httpd_registry.cc.o system_monitor.cc.o base64.cc.o gpstracker.cc.o kis_gps.cc.o gpsnmea_v2.cc.o gpsserial_v3.cc.o gpstcp_v2.cc.o gpsgpsd_v3.cc.o gpsfake.cc.o gpsweb.cc.o gpsmeta.cc.o packetchain.cc.o packet_filter.cc.o class_filter.cc.o trackedelement.cc.o trackedelement_workers.cc.o trackedcomponent.cc.o entrytracker.cc.o trackedlocation.cc.o devicetracker_component.cc.o devicetracker_view.cc.o devicetracker_view_workers.cc.o kis_server_announce.cc.o json_adapter.cc.o plugintracker.cc.o alertracker.cc.o timetracker.cc.o channeltracker2.cc.o devicetracker.cc.o devicetracker_httpd.cc.o kis_dlt.cc.o kis_dlt_ppi.cc.o kis_dlt_radiotap.cc.o kis_dlt_btle_radio.cc.o kaitaistream.cc.o dot11_parsers/dot11_ie.cc.o dot11_parsers/dot11_ie_7_country.cc.o dot11_parsers/dot11_ie_11_qbss.cc.o dot11_parsers/dot11_ie_33_power.cc.o dot11_parsers/dot11_ie_36_supported_channels.cc.o dot11_parsers/dot11_ie_45_ht_cap.cc.o dot11_parsers/dot11_ie_48_rsn.cc.o dot11_parsers/dot11_ie_52_rmm_neighbor.cc.o dot11_parsers/dot11_ie_54_mobility.cc.o dot11_parsers/dot11_ie_55_fastbss.cc.o dot11_parsers/dot11_ie_61_ht_op.cc.o dot11_parsers/dot11_ie_70_rm_capabilities.cc.o dot11_parsers/dot11_ie_113_mesh_config.cc.o dot11_parsers/dot11_ie_133_cisco_ccx.cc.o dot11_parsers/dot11_ie_150_vendor.cc.o dot11_parsers/dot11_ie_150_cisco_powerlevel.cc.o dot11_parsers/dot11_ie_191_vht_cap.cc.o dot11_parsers/dot11_ie_192_vht_op.cc.o dot11_parsers/dot11_ie_127_extended_capabilities.cc.o dot11_parsers/dot11_ie_221_vendor.cc.o dot11_parsers/dot11_ie_221_ms_wps.cc.o dot11_parsers/dot11_ie_221_ms_wmm.cc.o dot11_parsers/dot11_ie_221_dji_droneid.cc.o dot11_parsers/dot11_ie_221_wfa_wpa.cc.o dot11_parsers/dot11_ie_221_cisco_client_mfp.cc.o dot11_parsers/dot11_ie_221_wpa_transition.cc.o dot11_parsers/dot11_ie_221_rsn_pmkid.cc.o dot11_parsers/dot11_ie_221_wfa.cc.o dot11_parsers/dot11_ie_255_ext_tag.cc.o dot11_parsers/dot11_action.cc.o dot11_parsers/dot11_wpa_eap.cc.o dot11_parsers/dot11_p2p_ie.cc.o bluetooth_parsers/btle.cc.o phy_80211.cc.o phy_80211_components.cc.o phy_80211_dissectors.cc.o phy_sensor.cc.o phy_meter.cc.o phy_adsb.cc.o phy_zwave.cc.o phy_bluetooth.cc.o phy_uav_drone.cc.o phy_nrf_mousejack.cc.o phy_btle.cc.o phy_802154.cc.o phy_80211_ssidtracker.cc.o phy_radiation.cc.o kis_dissector_ipdata.cc.o manuf.cc.o bluetooth_ids.cc.o adsb_icao.cc.o logtracker.cc.o kis_ppilogfile.cc.o kis_databaselogfile.cc.o kis_pcapnglogfile.cc.o kis_wiglecsvlogfile.cc.o messagebus_restclient.cc.o streamtracker.cc.o pcapng_stream_futurebuf.cc.o kis_database.cc.o kismet_server.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -lpcap -lpthread -lprotobuf -lssl -lcrypto -rdynamic (cd capture_linux_wifi && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' (cd capture_hak5_wifi_coconut && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nrf_mousejack && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_ti_cc_2540 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' (cd capture_ti_cc_2531 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' (cd capture_linux_bluetooth && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' (cd capture_nrf_51822 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' (cd capture_nxp_kw41z && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' (cd capture_nrf_52840 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' (cd capture_rz_killerbee && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' g++ -std=gnu++17 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--as-needed -rdynamic -o log_tools/kismetdb_to_pcap log_tools/kismetdb_to_pcap.cc.o sqlite3_cpp11.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -lpcap -rdynamic g++ -std=gnu++17 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--as-needed -rdynamic -o tools/kismet_discovery tools/kismet_discovery.cc.o version.c.o -lcap -ldl -lz -latomic -lpcre2-8 -lsqlite3 -lstdc++ -rdynamic mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin /usr/bin/install -p -m 555 kismet /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet; # Install the alias script /usr/bin/install -p -m 555 kismet_server /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_server; # Install the compiled log tools /usr/bin/install -p -m 555 log_tools/kismetdb_strip_packets /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_strip_packets`; /usr/bin/install -p -m 555 log_tools/kismetdb_dump_devices /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_dump_devices`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_wiglecsv /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_to_wiglecsv`; /usr/bin/install -p -m 555 log_tools/kismetdb_statistics /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_statistics`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_kml /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_to_kml`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_gpx /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_to_gpx`; /usr/bin/install -p -m 555 log_tools/kismetdb_clean /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_clean`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_pcap /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename log_tools/kismetdb_to_pcap`; # Install the other tools /usr/bin/install -p -m 555 tools/kismet_discovery /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/`basename tools/kismet_discovery`; mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/lib64/pkgconfig /usr/bin/install -p -m 644 packaging/kismet.pc /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/lib64/pkgconfig/kismet.pc mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/kismet/httpd/ cp -r http_data/* /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/kismet/httpd/ cp conf/kismet_manuf.txt.gz /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/kismet//kismet_manuf.txt.gz cp conf/kismet_adsb_icao.txt.gz /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/kismet//kismet_adsb_icao.txt.gz make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1' (cd capture_linux_wifi && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_wifi' (cd capture_hak5_wifi_coconut && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nrf_mousejack && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_ti_cc_2540 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2540' (cd capture_ti_cc_2531 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_ti_cc_2531' (cd capture_linux_bluetooth && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_linux_bluetooth' (cd capture_nrf_51822 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_51822' (cd capture_nxp_kw41z && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nxp_kw41z' (cd capture_nrf_52840 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_nrf_52840' (cd capture_rz_killerbee && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1/capture_rz_killerbee' mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1' make[1]: Entering directory '/builddir/build/BUILD/kismet-2023-07-R1' install -m 644 conf/kismet.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet.conf install -m 644 conf/kismet_httpd.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_httpd.conf install -m 644 conf/kismet_alerts.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_alerts.conf install -m 644 conf/kismet_memory.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_memory.conf install -m 644 conf/kismet_logging.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_logging.conf install -m 644 conf/kismet_filter.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_filter.conf install -m 644 conf/kismet_uav.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_uav.conf install -m 644 conf/kismet_80211.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_80211.conf install -m 644 conf/kismet_wardrive.conf /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet_wardrive.conf Existing config files have not been replaced; if the Kismet configuration files have changed, you will need to manually reconcile the differences in the config files! You can replace all config files with: make forceconfigs You can simplify future configuration changes by using the kismet_site.conf config file, for more info see the docs at: https://www.kismetwireless.net/docs/readme/config_files/ make[1]: Leaving directory '/builddir/build/BUILD/kismet-2023-07-R1' Installed kismet into /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/. If you have not done so already, read the README file and the FAQ file. Additional documentation is in the docs/ directory. You MUST edit /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/etc/kismet/kismet.conf and configure Kismet for your system, or it will NOT run properly! Kismet has been installed with a SUID ROOT CAPTURE HELPER executable by users in the group ' kismet '. This WILL ALLOW USERS IN THIS GROUP TO ALTER YOUR NETWORK INTERFACE STATES, but is more secure than running all of Kismet as root. ONLY users in this group will be able to run Kismet and capture from physical network devices. If you have just created this group, you will need to log out and back in before your user will have access. Check the output of the 'groups' command to make sure your user has the proper group! If you have installed Kismet in the past, you may need to UPDATE YOUR CONFIG FILES or Kismet may not work properly! You can manually reconcile differences or you can replace the previously installed config files entirely by running make forceconfigs + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.0.2023.07.R1-6.fc41 --unique-debug-suffix -0.0.2023.07.R1-6.fc41.ppc64le --unique-debug-src-base kismet-0.0.2023.07.R1-6.fc41.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kismet-2023-07-R1 find-debuginfo: starting Extracting debug info from 22 files objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_linux_bluetooth'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_hak5_wifi_coconut'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_linux_wifi'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_51822'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_mousejack'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_52840'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_51822'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_52840'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_hak5_wifi_coconut'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nrf_mousejack'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_linux_wifi'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_linux_bluetooth'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_discovery'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_rz_killerbee'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_ti_cc_2531'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nxp_kw41z'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_ti_cc_2540'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_clean'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_discovery'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_rz_killerbee'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_ti_cc_2531'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_nxp_kw41z'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet_cap_ti_cc_2540'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_clean'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_strip_packets'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_strip_packets'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_dump_devices'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_statistics'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_gpx'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_wiglecsv'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_pcap'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_dump_devices'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_statistics'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_kml'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_gpx'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_wiglecsv'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_pcap'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismetdb_to_kml'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/bin/kismet'; reason: Permission denied DWARF-compressing 22 files sepdebugcrcfix: Updated 22 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/kismet-0.0.2023.07.R1-6.fc41.ppc64le 25854 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/kismet_server from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/kismet/httpd/css/grid.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/ie.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/ie6.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/layout.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/nav.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/reset.css is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/kismet/httpd/css/text.css is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: kismet-0.0.2023.07.R1-6.fc41.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eTVFLI + umask 022 + cd /builddir/build/BUILD + cd kismet-2023-07-R1 + DOCDIR=/builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/doc/kismet + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-2023-07-R1/README.OLD /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-2023-07-R1/README.SSL /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-2023-07-R1/README.md /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le/usr/share/doc/kismet + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(kismet) = 0.0.2023.07.R1-6.fc41 kismet = 0.0.2023.07.R1-6.fc41 kismet(ppc-64) = 0.0.2023.07.R1-6.fc41 pkgconfig(kismet) = 0.0.2023.07.R1 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires: /usr/bin/pkg-config /usr/bin/sh ld64.so.2()(64bit) ld64.so.2(GLIBC_2.23)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcap.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libgobject-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libnm.so.0()(64bit) libnm.so.0(libnm_1_0_0)(64bit) libnm.so.0(libnm_1_2_0)(64bit) libpcap.so.1()(64bit) libpcre2-8.so.0()(64bit) libprotobuf-c.so.1()(64bit) libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) libprotobuf.so.30()(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libusb-1.0.so.0()(64bit) libwebsockets.so.19()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: kismet-debugsource-0.0.2023.07.R1-6.fc41.ppc64le Provides: kismet-debugsource = 0.0.2023.07.R1-6.fc41 kismet-debugsource(ppc-64) = 0.0.2023.07.R1-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kismet-debuginfo-0.0.2023.07.R1-6.fc41.ppc64le Provides: debuginfo(build-id) = 06206d06c51911196ee37537d3c07f0b0e534a3b debuginfo(build-id) = 0bcce9b48065cc4870f77d47c43464c5fcb33442 debuginfo(build-id) = 120252bda57671dac4b5afcaee8b954aee3e6525 debuginfo(build-id) = 1756ae9fc973b2c8c1da96418209620e9bed6c51 debuginfo(build-id) = 21e858d1c527ef2bee24e62b49d85173015cd971 debuginfo(build-id) = 2644df8c9fefabd3451b48f142b458ade38e6ca7 debuginfo(build-id) = 2962e0eb2137c67635badd4f50a2c05ac641feb5 debuginfo(build-id) = 4eb44a73ca59201b873000ffdd9b70327eda9982 debuginfo(build-id) = 58ccb6c23b24ae1d6eca9aaf0abed3ae33457878 debuginfo(build-id) = 6ab6370ee15cc50b83c6781e1b31addc31c70ccb debuginfo(build-id) = 7576c25c197de96320044a8a3f1615d50c74cfe4 debuginfo(build-id) = 87b1c18cf74d2bd0d72d24bfe7aeaef3dab87f33 debuginfo(build-id) = a40ab89c46a57f617ca35a9dafc463b2f04cee73 debuginfo(build-id) = ad166cf08b82909c71fcddaa372f132bd80f8173 debuginfo(build-id) = b2dc0b1ecc56fbb14058238a8b142c2af0343a9f debuginfo(build-id) = c4f7ba372e69daea26a2696ec4a26ac383d48d88 debuginfo(build-id) = cb0b8955b3d3df1652efa81d87da6e1981ff3344 debuginfo(build-id) = d6bc68d1235ad9f88a7db5080c661bbd3ae2f019 debuginfo(build-id) = d9fe6a5643a105425f7a86e5661e42cebeddf5de debuginfo(build-id) = e6e5b1450d230462e78f07f5b6478cc01b7319c4 debuginfo(build-id) = f5dd36c8494b9d0e9cfc9fa705d40702def0d774 debuginfo(build-id) = feaf0a05d06a7f003f5c405a985a7ad9ddddf7a6 kismet-debuginfo = 0.0.2023.07.R1-6.fc41 kismet-debuginfo(ppc-64) = 0.0.2023.07.R1-6.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kismet-debugsource(ppc-64) = 0.0.2023.07.R1-6.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kismet-0.0.2023.07.R1-6.fc41.ppc64le Wrote: /builddir/build/RPMS/kismet-debugsource-0.0.2023.07.R1-6.fc41.ppc64le.rpm Wrote: /builddir/build/RPMS/kismet-0.0.2023.07.R1-6.fc41.ppc64le.rpm Wrote: /builddir/build/RPMS/kismet-debuginfo-0.0.2023.07.R1-6.fc41.ppc64le.rpm Child return code was: 0