Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kismet.spec'], chrootPath='/var/lib/mock/f41-build-824864-154210/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/kismet-0.0.2023.07.R1-7.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kismet.spec'], chrootPath='/var/lib/mock/f41-build-824864-154210/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.BJQ529 + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + test -d /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + /usr/bin/rm -rf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + /usr/bin/mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + /usr/bin/mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HIar3I + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (kismet-include.patch):' Patch #0 (kismet-include.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file plugin-alertsyslog/alertsyslog.cc + echo 'Patch #1 (kismet-install.patch):' Patch #1 (kismet-install.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.in patching file Makefile.in + echo 'Patch #2 (hak5-types.patch):' 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.tBBWTS + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 + '[' x '!=' x ']' + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS' --disable-python-tools configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-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 riscv64-redhat-linux-gnu-pkg-config... riscv64-redhat-linux-gnu-pkg-config checking whether compiling and linking against OpenSSL works... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-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 checking for btbb_init in -lbtbb... configure: WARNING: "btbb.h is missing" 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 configure: WARNING: unrecognized options: --disable-dependency-tracking Configuration complete: Compiling for: linux-gnu (riscv64) C++ Library: stdc++ 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 -j4 V=1 VERBOSE=1 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/eventbus.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/eventbus.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/kismet.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.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/datasource.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/eventbus.proto protoc-c --c_out=./protobuf_c/ -I protobuf_definitions/ protobuf_definitions/datasource.proto protoc --cpp_out=./protobuf_cpp/ -I protobuf_definitions/ protobuf_definitions/datasource.proto g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_pcapnglogfile.cc.o kis_pcapnglogfile.cc -MF kis_pcapnglogfile.cc.d g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_wiglecsvlogfile.cc.o kis_wiglecsvlogfile.cc -MF kis_wiglecsvlogfile.cc.d g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT messagebus_restclient.cc.o messagebus_restclient.cc -MF messagebus_restclient.cc.d g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT streamtracker.cc.o streamtracker.cc -MF streamtracker.cc.d gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -MT kis_database.cc.o kis_database.cc -MF kis_database.cc.d gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 g++ -std=gnu++17 -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ log_tools/kismetdb_dump_devices.cc:296:23: required from here 296 | fmt::print(ofile, "{}", ss.str()); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./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 g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘void fmt::v9::print(format_string, T&& ...) [with T = {const std::__cxx11::basic_string, std::allocator >&}; format_string = basic_format_string, std::allocator >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ log_tools/kismetdb_statistics.cc:358:27: required from here 358 | fmt::print("{}", ti.first); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c crc32.cc -o crc32.cc.o g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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}]’ 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 ‘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&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ log_tools/kismetdb_to_pcap.cc:183:53: required from here 183 | throw std::runtime_error(fmt::format("Unexpected problem opening output " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | "file '{}': {} (errno {})", path, strerror(errno), errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c xxhash.cc -o xxhash.cc.o g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c sqlite3_cpp11.cc -o sqlite3_cpp11.cc.o g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 ‘int fetch_sys_loadavg(uint8_t*, uint8_t*)’: 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 ‘int fclose(FILE*)’ declared ‘nonnull’ 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ battery.cc:226:24: required from here 226 | fpath = fmt::format("{}/status", bdir); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ configfile.cc:535:9: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_external.cc:434:37: required from here 434 | std::string fp = fmt::format("{}/{}", | ~~~~~~~~~~~^~~~~~~~~ 435 | Globalreg::globalreg->kismet_config->expand_log_path(rp, "", "", 0, 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 436 | in_binary); | ~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_external.cc:919:40: required from here 919 | fmt::format("proxied req {}", con->uri())); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘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]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_external.cc:935:40: required from here 935 | fmt::format("{}", con->verb()), var_remap); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ kis_external.cc:401:18: required from here 401 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.cc:714:25: required from here 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.cc:1555:13: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ datasourcetracker.cc:50:14: required from here 50 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_datasource.cc:1980:36: required from here 1980 | auto alrt = fmt::format("Source {} ({}) has encountered an error ({}). " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1981 | "Remote sources are not locally reconnected; waiting for the remote source " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1982 | "to reconnect to resume capture.", get_source_name(), get_source_uuid(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1983 | get_source_error_reason()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kis_datasource.cc:117:14: required from here 117 | lock.lock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c base64.cc -o base64.cc.o g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 107 | throw std::runtime_error(fmt::format("could not coerce content of key {}", in_key)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ system_monitor.cc:139:76: required from here 139 | Globalreg::globalreg->kismet_config->fetch_opt_as("kis_log_system_status_rate", 30); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘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&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ gpstracker.cc:231:21: required from here 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘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&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ gpstracker.cc:396:36: required from here 396 | auto proposed = fmt::format("{}{}", in_name, num); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsnmea_v2.cc:361:12: required from here 361 | lk.lock(); | ~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsnmea_v2.cc:361:12: required from here 361 | lk.lock(); | ~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ gpsserial_v3.cc:203:14: required from here 203 | lk.unlock(); | ~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ gpsserial_v3.cc:203:14: required from here 203 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ gpstcp_v2.cc:143:13: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘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]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_net_beast_httpd.cc:64:9: required from here 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_net_beast_httpd.cc:125:13: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 > > > >}]’ 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 ‘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 > > > >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_net_beast_httpd.cc:943:15: required from here 943 | fmt::print(sf, "{}", vec); | ~~~~~~~~~~^~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kis_net_beast_httpd.cc:1847:16: required from here 1847 | lk.lock(); | ~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ gpsgpsd_v3.cc:170:13: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsgpsd_v3.cc:645:12: required from here 645 | lk.lock(); | ~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpsgpsd_v3.cc:645:12: required from here 645 | lk.lock(); | ~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ packet_filter.cc:41:27: required from here 41 | base_uri = fmt::format("/filters/packet/{}", in_id); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 107 | throw std::runtime_error(fmt::format("could not coerce content of key {}", in_key)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ packetchain.cc:303:87: required from here 303 | n_packet_threads = Globalreg::globalreg->kismet_config->fetch_opt_as("kismet_packet_threads", 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_shared_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ packetchain.cc:431:18: required from here 431 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ class_filter.cc:41:27: required from here 41 | base_uri = fmt::format("/filters/class/{}", in_id); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘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>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ entrytracker.cc:127:49: required from here 127 | throw std::runtime_error(fmt::format("tried to register field {} of type {}/{} " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | "but field already exists with conflicting type/signature {}/{}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | in_name, in_builder->get_type_as_string(), in_builder->get_signature(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | field_iter->second->builder->get_type_as_string(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | field_iter->second->builder->get_signature())); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ entrytracker.cc:220:14: required from here 220 | lock.lock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/riscv64-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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ devicetracker_view.cc:103:27: required from here 103 | auto uri = fmt::format("/devices/views/{}/devices", in_id); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timetracker.cc:102:18: required from here 102 | lock.lock(); | ~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timetracker.cc:102:18: required from here 102 | lock.lock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alertracker.cc:336:14: required from here 336 | lock.lock(); | ~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alertracker.cc:336:14: required from here 336 | lock.lock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devicetracker_httpd.cc:70:24: required from here 70 | devlist_locker.lock(); | ~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ 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]’ 240 | throw std::runtime_error(fmt::format("invalid use: thread {} attempted to lock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 241 | "unique lock {} when already locked for {}", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | std::this_thread::get_id(), mutex.get_name(), op)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devicetracker_httpd.cc:70:24: required from here 70 | devlist_locker.lock(); | ~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/riscv64-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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {device_key&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ 1918 | return {FMT_FORWARD(args)...}; | ^ devicetracker.cc:483:53: required from here 483 | con->set_target_file(fmt::format("kismet-device-{}.pcapng", devkey)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {uuid&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ 1918 | return {FMT_FORWARD(args)...}; | ^ devicetracker.cc:2019:66: required from here 2019 | std::make_shared(fmt::format("seenby-{}", source_uuid), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ devicetracker.cc:997:14: required from here 997 | lk.unlock(); | ~~~~~~~~~^~ 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 global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie.cc:23:60: required from here 23 | m_tags = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie.cc:23:60: required from here 23 | m_tags = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_45_ht_cap.cc:25:57: required from here 25 | m_mcs = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_45_ht_cap.cc:25:57: required from here 25 | m_mcs = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_48_rsn.cc:24:91: required from here 24 | m_group_cipher = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_48_rsn.cc:24:91: required from here 24 | m_group_cipher = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_dji_droneid.cc:32:70: required from here 32 | auto fr = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./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]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_dji_droneid.cc:32:70: required from here 32 | auto fr = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_wfa_wpa.cc:28:78: required from here 28 | m_unicast_ciphers = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_wfa_wpa.cc:28:78: required from here 28 | m_unicast_ciphers = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_ms_wps.cc:24:80: required from here 24 | m_wps_elements = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_ie_221_ms_wps.cc:24:80: required from here 24 | m_wps_elements = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_action::action_rmm]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_action.cc:27:54: required from here 27 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = dot11_action::action_rmm]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_action.cc:27:54: required from here 27 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_p2p_ie.cc:23:60: required from here 23 | m_tags = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ ./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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ ./kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ ./globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = std::vector >]’ 361 | lk.unlock(); | ~~~~~~~~~^~ dot11_parsers/dot11_p2p_ie.cc:23:60: required from here 23 | m_tags = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {uuid&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ 1918 | return {FMT_FORWARD(args)...}; | ^ phy_adsb.cc:136:43: required from here 136 | auto uri = fmt::format("/phy/ADSB/by-uuid/{}/proxy", src_uuid); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ logtracker.cc:209:21: required from here 93 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_INFO) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ kis_ppilogfile.cc:108:14: required from here 108 | lk.unlock(); | ~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ kis_ppilogfile.cc:108:14: required from here 108 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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}]’ 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 ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {device_key}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_databaselogfile.cc:817:9: required from here 96 | Globalreg::globalreg->messagebus->inject_message(fmt::format(__VA_ARGS__), MSGFLAG_ERROR) | ~~~~~~~~~~~^~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 = 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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]}]’ 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 ‘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]>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_wiglecsvlogfile.cc:311:19: required from here 311 | fmt::print(wigle->csvfile, "{},{},{},{},{},{},{:3.6f},{:3.6f},{:f},0,{}\n", | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | dev->get_macaddr(), | ~~~~~~~~~~~~~~~~~~~ 313 | name, | ~~~~~ 314 | crypt, | ~~~~~~ 315 | ts.str(), | ~~~~~~~~~ 316 | (int) channel, | ~~~~~~~~~~~~~~ 317 | signal, | ~~~~~~~ 318 | gps->lat, gps->lon, gps->alt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 319 | "WIFI"); | ~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ kis_wiglecsvlogfile.cc:191:14: required from here 191 | lk.unlock(); | ~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ kis_wiglecsvlogfile.cc:191:14: required from here 191 | lk.unlock(); | ~~~~~~~~~^~ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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: ‘__builtin_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: ‘__builtin___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 -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 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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 log_tools/kismetdb_statistics log_tools/kismetdb_statistics.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 log_tools/kismetdb_clean log_tools/kismetdb_clean.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 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 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 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 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 -Wl,--as-needed -Wl,--as-needed -rdynamic -o kismet_cap_kismetdb capture_kismetdb.c.o libkismetdatasource.a -lcap -lwebsockets -lpthread -lprotobuf-c -lm -lsqlite3 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_linux_wifi && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' 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 (cd capture_hak5_wifi_coconut && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 make[1]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' 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]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' (cd capture_nrf_mousejack && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' 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 (cd capture_ti_cc_2540 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2540' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2540' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_ti_cc_2531 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2540' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2540' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2540' (cd capture_linux_bluetooth && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' (cd capture_nrf_51822 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 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]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nxp_kw41z && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nrf_52840 && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' (cd capture_rz_killerbee && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' gcc -MM -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 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]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 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:1, 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 make[1]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' g++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-format-truncation -Wno-unused-local-typedefs -Wno-unused-function -Wno-infinite-recursion -g -I. -fPIE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D__STDC_FORMAT_MACROS -O3 -DKS_STR_ENCODING_NONE -c kismet_server.cc -o kismet_server.cc.o In file included from backward_wrapper.h:28, from kismet_server.cc:25: backward.h:2043:9: warning: #warning ":/ sorry, ain't know no nothing none not of your architecture!" [-Wcpp] 2043 | # warning ":/ sorry, ain't know no nothing none not of your architecture!" | ^~~~~~~ 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 backward.h: In static member function ‘static void backward::SignalHandling::sig_handler(int, siginfo_t*, void*)’: backward.h:2028:29: warning: unused variable ‘uctx’ [-Wunused-variable] 2028 | ucontext_t *uctx = (ucontext_t*) _ctx; | ^~~~ 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]’ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ macaddr.h:473:27: required from here 473 | return fmt::format("{}/{}", mac_to_string(), mac_mask_to_string()); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ datasourcetracker.h:504:9: required from here 504 | _MSG(fmt::format("(Remote) - {}", msg), msgtype); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 > >]’ 1918 | return {FMT_FORWARD(args)...}; | ^ alertracker.h:232:46: required from here 232 | set_hash(adler32_checksum(fmt::format("{} {} {} {} {} {} {} {} {}", | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | get_header(), get_severity(), get_phy(), get_timestamp(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | get_transmitter_mac(), get_source_mac(), get_dest_mac(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | get_other_mac(), get_channel()))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]’ 1777 | return make_value(val); | ~~~~~~~~~~~~~~~~~~~^~~~~ 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 >}]’ 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 ‘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 >&>]’ 1918 | return {FMT_FORWARD(args)...}; | ^ kis_mutex.h:263:49: required from ‘void kis_unique_lock::unlock() [with M = kis_mutex]’ 263 | throw std::runtime_error(fmt::format("unvalid use: thread{} attempted to unlock " | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | "unique lock {} when not locked", std::this_thread::get_id(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | mutex.get_name())); | ~~~~~~~~~~~~~~~~~ globalregistry.h:361:22: required from ‘std::shared_ptr<_Tp> Globalreg::new_from_pool(std::function()>) [with T = tracker_element_alias]’ 361 | lk.unlock(); | ~~~~~~~~~^~ trackedelement.h:418:50: required from here 418 | auto r = Globalreg::new_from_pool(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 global scope: 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.yngFdj + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + '[' /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT ++ dirname /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + mkdir /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/bin + ETC=/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc + /usr/bin/make suidinstall DESTDIR=/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT '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-0.0.2023.07.R1-build/kismet-2023-07-R1' gcc -MM -MP -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,now -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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' (cd capture_hak5_wifi_coconut && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nrf_mousejack && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_ti_cc_2540 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' (cd capture_linux_bluetooth && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' (cd capture_nrf_51822 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' (cd capture_nxp_kw41z && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' (cd capture_nrf_52840 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' (cd capture_rz_killerbee && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' g++ -std=gnu++17 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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,now -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/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin /usr/bin/install -p -m 555 kismet /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet; # Install the alias script /usr/bin/install -p -m 555 kismet_server /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_server; # Install the compiled log tools /usr/bin/install -p -m 555 log_tools/kismetdb_strip_packets /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_strip_packets`; /usr/bin/install -p -m 555 log_tools/kismetdb_dump_devices /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_dump_devices`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_wiglecsv /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_to_wiglecsv`; /usr/bin/install -p -m 555 log_tools/kismetdb_statistics /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_statistics`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_kml /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_to_kml`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_gpx /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_to_gpx`; /usr/bin/install -p -m 555 log_tools/kismetdb_clean /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_clean`; /usr/bin/install -p -m 555 log_tools/kismetdb_to_pcap /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename log_tools/kismetdb_to_pcap`; # Install the other tools /usr/bin/install -p -m 555 tools/kismet_discovery /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/`basename tools/kismet_discovery`; mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/lib64/pkgconfig /usr/bin/install -p -m 644 packaging/kismet.pc /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/lib64/pkgconfig/kismet.pc mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/kismet/httpd/ cp -r http_data/* /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/kismet/httpd/ cp conf/kismet_manuf.txt.gz /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/kismet//kismet_manuf.txt.gz cp conf/kismet_adsb_icao.txt.gz /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/kismet//kismet_adsb_icao.txt.gz make[1]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1' (cd capture_linux_wifi && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_wifi' (cd capture_hak5_wifi_coconut && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_hak5_wifi_coconut' (cd capture_nrf_mousejack && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_mousejack' (cd capture_ti_cc_2540 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-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-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_ti_cc_2531' (cd capture_linux_bluetooth && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_linux_bluetooth' (cd capture_nrf_51822 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_51822' (cd capture_nxp_kw41z && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nxp_kw41z' (cd capture_nrf_52840 && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_nrf_52840' (cd capture_rz_killerbee && /usr/bin/make) make[2]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/capture_rz_killerbee' mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1' make[1]: Entering directory '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1' install -m 644 conf/kismet.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet.conf install -m 644 conf/kismet_httpd.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_httpd.conf install -m 644 conf/kismet_alerts.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_alerts.conf install -m 644 conf/kismet_memory.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_memory.conf install -m 644 conf/kismet_logging.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_logging.conf install -m 644 conf/kismet_filter.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_filter.conf install -m 644 conf/kismet_uav.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_uav.conf install -m 644 conf/kismet_80211.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/etc/kismet/kismet_80211.conf install -m 644 conf/kismet_wardrive.conf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/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-0.0.2023.07.R1-build/kismet-2023-07-R1' Installed kismet into /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/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/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/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 -j4 --strict-build-id -m -i --build-id-seed 0.0.2023.07.R1-7.fc41 --unique-debug-suffix -0.0.2023.07.R1-7.fc41.riscv64 --unique-debug-src-base kismet-0.0.2023.07.R1-7.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1 find-debuginfo: starting Extracting debug info from 22 files objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_linux_bluetooth'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_hak5_wifi_coconut'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_linux_bluetooth'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_hak5_wifi_coconut'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_51822'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_linux_wifi'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_52840'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_51822'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_linux_wifi'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_52840'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_mousejack'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nxp_kw41z'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nrf_mousejack'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_nxp_kw41z'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_rz_killerbee'; reason: Permission denied objcopy: objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_ti_cc_2531'; reason: Permissunable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_ti_cc_2540'; reason: Permission deniedion denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_rz_killerbee'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_ti_cc_2531'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_cap_ti_cc_2540'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_discovery'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet_discovery'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_clean'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_clean'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_dump_devices'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_strip_packets'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_strip_packets'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_statistics'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_dump_devices'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_statistics'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_gpx'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_gpx'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_kml'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_pcap'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_kml'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_pcap'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_wiglecsv'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismetdb_to_wiglecsv'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/bin/kismet'; reason: Permission denied objcopy: unable to copy file '/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/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-7.fc41.riscv64 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/text.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/reset.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/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/nav.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 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT Scanned 121 directories and 1142 files, processed 4 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: kismet-0.0.2023.07.R1-7.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7FNvLa + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + cd kismet-2023-07-R1 + DOCDIR=/builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/doc/kismet + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/README.OLD /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/README.SSL /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/doc/kismet + cp -pr /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/kismet-2023-07-R1/README.md /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT/usr/share/doc/kismet + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(kismet) = 0.0.2023.07.R1-7.fc41 kismet = 0.0.2023.07.R1-7.fc41 kismet(riscv-64) = 0.0.2023.07.R1-7.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 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(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) 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.4)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libgcc_s.so.1(GCC_4.5.0)(64bit) libgobject-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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-7.fc41.riscv64 Provides: kismet-debugsource = 0.0.2023.07.R1-7.fc41 kismet-debugsource(riscv-64) = 0.0.2023.07.R1-7.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-7.fc41.riscv64 Provides: debuginfo(build-id) = 048a4c7693b748ec161a705e06bd8f917c0de5fa debuginfo(build-id) = 17ac476deae0c35c9b66cd8c64783a4459df835e debuginfo(build-id) = 1ae5fc5525684be3cba1550fe593871f939a71ad debuginfo(build-id) = 1b2ab0766804d3b255baa771877bd39c5a022c95 debuginfo(build-id) = 2022381565a3817a33229e7b8da010f3218db8e9 debuginfo(build-id) = 350fa8a0c12b0224e53e4a8c37126b72c8cc1636 debuginfo(build-id) = 4fb00fb924f4030ce735e10f60abf4214185c2ce debuginfo(build-id) = 5210068d4a93909d7896630878fdc8cbd26ff3c0 debuginfo(build-id) = 576896891e3a4aed22f58cb2202bb9f13abc5a91 debuginfo(build-id) = 601f4fc0f7a29fa5bb3cca8668f509fcac83870d debuginfo(build-id) = 6ba27569775db3e2b68afa32f49e49846c66ab97 debuginfo(build-id) = 6ed9ddd3bcea9ea494bb33a50ad971dad0af62b3 debuginfo(build-id) = 89a61edddfbdf63c04a35634c97cad384fe94215 debuginfo(build-id) = 8db151851a0a7383f9e8c4fdb61171bc501479be debuginfo(build-id) = c8bc16d191e4b8ccdc16e6c1a99fb32aa098f42e debuginfo(build-id) = d3ac755b32ee3d67bb32a075da2bf36132906d78 debuginfo(build-id) = dc7c334d67d70fe20f4e598281ff568f9e179612 debuginfo(build-id) = e5cddf900072034c39d4bb8743ba25bb0aabce30 debuginfo(build-id) = e858804aa0f6b4986de136628f87b5fb5fdc44ef debuginfo(build-id) = ed2344698db0275d26b8a8bbd3039ea9f0d398bc debuginfo(build-id) = eef96c5cc32829bf4f5ed6d06396c66c98df73b0 debuginfo(build-id) = f98c159fcb9d29170fc504dd02fc5cd9217d3614 kismet-debuginfo = 0.0.2023.07.R1-7.fc41 kismet-debuginfo(riscv-64) = 0.0.2023.07.R1-7.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kismet-debugsource(riscv-64) = 0.0.2023.07.R1-7.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/kismet-0.0.2023.07.R1-build/BUILDROOT Wrote: /builddir/build/RPMS/kismet-debugsource-0.0.2023.07.R1-7.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/kismet-0.0.2023.07.R1-7.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/kismet-debuginfo-0.0.2023.07.R1-7.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.qOCi1f + umask 022 + cd /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + test -d /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + rm -rf /builddir/build/BUILD/kismet-0.0.2023.07.R1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0