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/aprsd.spec'], chrootPath='/var/lib/mock/f41-build-849688-164829/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/aprsd.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=1721174400 Wrote: /builddir/build/SRPMS/aprsd-2.2.5-15.6.fc41.35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/aprsd.spec'], chrootPath='/var/lib/mock/f41-build-849688-164829/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/aprsd.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=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.BFplKF + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-build + test -d /builddir/build/BUILD/aprsd-2.2.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/aprsd-2.2.5-build + /usr/bin/rm -rf /builddir/build/BUILD/aprsd-2.2.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KCq29K + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-build + cd /builddir/build/BUILD/aprsd-2.2.5-build + rm -rf aprsd-2.2.5-15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/aprsd-2.2.5-15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd aprsd-2.2.5-15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (aprsd-2.2.5-15-compile.patch):' Patch #0 (aprsd-2.2.5-15-compile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix compile --fuzz=0 patching file aprsd.spec patching file src/aprsd.cpp patching file src/aprsString.h patching file src/servers.cpp Patch #1 (aprsd-2.2.5-15-gcc43-port.patch): + echo 'Patch #1 (aprsd-2.2.5-15-gcc43-port.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix gccport --fuzz=0 patching file src/aprsString.cpp patching file src/aprsd.cpp patching file src/aprsdexception.cpp patching file src/cpqueue.cpp patching file src/dupCheck.cpp patching file src/exceptionguard.cpp patching file src/history.cpp patching file src/httpserver.cpp patching file src/mutex.cpp patching file src/osdep.h patching file src/validate.cpp + echo 'Patch #2 (aprsd-2.2.5-15-sysconfdir.patch):' Patch #2 (aprsd-2.2.5-15-sysconfdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix sysconfdir --fuzz=0 patching file src/aprsd.cpp Hunk #1 succeeded at 99 (offset 2 lines). Patch #3 (aprsd-configure-c99.patch): + echo 'Patch #3 (aprsd-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix configure-c99 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HuHErP + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-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 aprsd-2.2.5-15 + export 'CXXFLAGS=-std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + CXXFLAGS='-std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' + 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='-std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking for pthread_mutexattr_init in -lpthread... yes checking for crypt in -lcrypt... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking netax25/ax25.h usability... yes checking netax25/ax25.h presence... yes checking for netax25/ax25.h... yes checking for ax25_config_load_ports in -lax25... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for strftime... yes checking for gethostbyname... yes checking for gethostname... yes checking for getspnam... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for malloc... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strstr... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating support/Makefile config.status: creating doc/Makefile config.status: creating admin/Makefile config.status: creating aprspass/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' Making all in src make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o aprsd.o `test -f 'aprsd.cpp' || echo './'`aprsd.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o aprsString.o `test -f 'aprsString.cpp' || echo './'`aprsString.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o ax25socket.o `test -f 'ax25socket.cpp' || echo './'`ax25socket.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o cpqueue.o `test -f 'cpqueue.cpp' || echo './'`cpqueue.cpp In file included from /usr/include/c++/14/backward/strstream:50, from aprsString.cpp:33: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from /usr/include/c++/14/backward/strstream:50, from cpqueue.cpp:33: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from cpqueue.h:29, from aprsd.h:9, from servers.h:32, from ax25socket.cpp:54: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ In file included from aprsString.cpp:36: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30, from aprsd.h:9, from aprsString.cpp:37: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ In file included from cpqueue.h:29, from cpqueue.cpp:37: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ aprsString.h: In member function ‘void aprsd::aprsString::parseAPRS()’: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] aprsString.cpp: In member function ‘unsigned int aprsd::aprsString::queryPath(const std::string&, int, int, unsigned int)’: aprsString.cpp:911:20: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 911 | unsigned rc = npos; | ^~~~ aprsString.cpp: In member function ‘bool aprsd::aprsString::thirdPartyReformat(const char*)’: aprsString.cpp:1054:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1054 | co = ":"; | ^~~ aprsString.cpp:1057:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1057 | co = "::"; //convert to new msg format if old | ^~~~ In file included from dupCheck.h:31, from aprsd.cpp:78: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from dupCheck.h:32: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ ax25socket.cpp: In function ‘bool SocketReadWrite(char*)’: ax25socket.cpp:216:28: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 255 bytes from a string of length 999 [-Wstringop-truncation] 216 | strncpy(buf, (char*)textbuf, BUFSIZE); | ^ In file included from aprsd.cpp:91: exceptionguard.h:34:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | extern void assertUnexpected() throw(UnexpectedException); | ^~~~~ aprsd.cpp: In function ‘int main(int, char**)’: aprsd.cpp:927:20: warning: variable ‘tNow’ set but not used [-Wunused-but-set-variable] 927 | time_t lastSec,tNow,tLast,tLastDel, tPstats; | ^~~~ aprsd.cpp:927:25: warning: variable ‘tLast’ set but not used [-Wunused-but-set-variable] 927 | time_t lastSec,tNow,tLast,tLastDel, tPstats; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c `test -f 'crc32.c' || echo './'`crc32.c g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o dupCheck.o `test -f 'dupCheck.cpp' || echo './'`dupCheck.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o aprsdexception.o `test -f 'aprsdexception.cpp' || echo './'`aprsdexception.cpp aprsd.cpp: In function ‘int daemonInit()’: aprsd.cpp:908:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 908 | freopen("/dev/null", "r", stdin); // redirect output | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ aprsd.cpp:909:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 909 | freopen("/dev/null", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ aprsd.cpp:910:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 910 | freopen("/dev/null", "w", stderr); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ aprsd.cpp:913:10: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 913 | chdir(HOMEDIR.c_str()); // change to the aprsd2 directory | ~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14/backward/strstream:50, from dupCheck.cpp:32: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from dupCheck.h:31, from dupCheck.cpp:40: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from dupCheck.h:32: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o exceptionguard.o `test -f 'exceptionguard.cpp' || echo './'`exceptionguard.cpp In file included from exceptionguard.cpp:26: exceptionguard.h:34:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | extern void assertUnexpected() throw(UnexpectedException); | ^~~~~ exceptionguard.cpp:30:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | void assertUnexpected() throw(UnexpectedException) | ^~~~~ exceptionguard.cpp: In constructor ‘aprsd::ExceptionGuard::ExceptionGuard()’: exceptionguard.cpp:48:34: warning: ‘void (* std::set_unexpected(unexpected_handler))()’ is deprecated [-Wdeprecated-declarations] 48 | old = std::set_unexpected(&assertUnexpected); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from aprsdexception.h:30, from exceptionguard.h:28: /usr/include/c++/14/exception:92:22: note: declared here 92 | unexpected_handler set_unexpected(unexpected_handler) _GLIBCXX_USE_NOEXCEPT; | ^~~~~~~~~~~~~~ exceptionguard.cpp: In destructor ‘aprsd::ExceptionGuard::~ExceptionGuard()’: exceptionguard.cpp:53:28: warning: ‘void (* std::set_unexpected(unexpected_handler))()’ is deprecated [-Wdeprecated-declarations] 53 | std::set_unexpected(old); | ~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/14/exception:92:22: note: declared here 92 | unexpected_handler set_unexpected(unexpected_handler) _GLIBCXX_USE_NOEXCEPT; | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o history.o `test -f 'history.cpp' || echo './'`history.cpp In file included from /usr/include/c++/14/backward/strstream:50, from history.cpp:48: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o httpserver.o `test -f 'httpserver.cpp' || echo './'`httpserver.cpp In file included from history.h:29, from history.cpp:55: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30, from aprsd.h:9, from history.cpp:56: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ In file included from cpqueue.h:29, from aprsd.h:9, from servers.h:32, from httpserver.cpp:38: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ httpserver.cpp: In function ‘void buildPage(StringList&)’: httpserver.cpp:166:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 166 | szHdumps = "YES"; | ^~~~~ httpserver.cpp:168:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 168 | szHdumps = "NO"; | ^~~~ httpserver.cpp:171:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 171 | szMicE = "YES"; | ^~~~~ httpserver.cpp:173:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 173 | szMicE = "NO"; | ^~~~ httpserver.cpp:176:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 176 | szTrace = "YES"; | ^~~~~ httpserver.cpp:178:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 178 | szTrace = "NO"; | ^~~~ httpserver.cpp:314:17: warning: variable ‘ntok’ set but not used [-Wunused-but-set-variable] 314 | int ntok = 0; | ^~~~ httpserver.cpp:163:11: warning: variable ‘szHdumps’ set but not used [-Wunused-but-set-variable] 163 | char *szHdumps, *szMicE, *szTrace; | ^~~~~~~~ httpserver.cpp:163:22: warning: variable ‘szMicE’ set but not used [-Wunused-but-set-variable] 163 | char *szHdumps, *szMicE, *szTrace; | ^~~~~~ httpserver.cpp:163:31: warning: variable ‘szTrace’ set but not used [-Wunused-but-set-variable] 163 | char *szHdumps, *szMicE, *szTrace; | ^~~~~~~ httpserver.cpp:373:9: warning: variable ‘npid’ set but not used [-Wunused-but-set-variable] 373 | int npid = -1; | ^~~~ httpserver.cpp: In function ‘void buildPortInfoPage(std::__cxx11::list >&, const std::string&)’: httpserver.cpp:497:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 497 | name[0] = "Local TNC"; | ^~~~~~~~~~~ httpserver.cpp:498:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 498 | name[1] = "User"; | ^~~~~~ httpserver.cpp:499:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 499 | name[2] = "Validated User"; | ^~~~~~~~~~~~~~~~ httpserver.cpp:500:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 500 | name[3] = "Server/Hub"; | ^~~~~~~~~~~~ httpserver.cpp:501:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 501 | name[4] = "System Msgs"; | ^~~~~~~~~~~~~ httpserver.cpp:502:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 502 | name[5] = "UDP Port"; | ^~~~~~~~~~ httpserver.cpp:503:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 503 | name[6] = "History List"; | ^~~~~~~~~~~~~~ httpserver.cpp:504:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 504 | name[7] = "All Messages"; | ^~~~~~~~~~~~~~ httpserver.cpp:505:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 505 | name[8] = "Server Stats"; | ^~~~~~~~~~~~~~ httpserver.cpp:506:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 506 | name[9] = "Server Beacon"; | ^~~~~~~~~~~~~~~ httpserver.cpp:507:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 507 | name[10]= "Rejected Pkts"; | ^~~~~~~~~~~~~~~ httpserver.cpp:508:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 508 | name[11]= "Source Header"; | ^~~~~~~~~~~~~~~ httpserver.cpp:509:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 509 | name[12]= "HTML"; | ^~~~~~ httpserver.cpp:510:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 510 | name[13]= "Raw"; | ^~~~~ httpserver.cpp:511:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 511 | name[14]= "Duplicates"; | ^~~~~~~~~~~~ httpserver.cpp:512:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 512 | name[15]= "History"; | ^~~~~~~~~ httpserver.cpp:513:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 513 | name[16]= "Echo"; | ^~~~~~ httpserver.cpp: In function ‘void* HTTPServerThread(void*)’: httpserver.cpp:572:19: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 572 | unsigned idx, i; | ^ httpserver.cpp:580:13: warning: variable ‘nTokens’ set but not used [-Wunused-but-set-variable] 580 | int err,nTokens; | ^~~~~~~ history.cpp: In function ‘int ReadHistory(const std::string&)’: history.cpp:619:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 619 | delete data; | ^~~~ history.cpp:579:30: note: returned from ‘void* operator new [](std::size_t)’ 579 | char *data = new char[256]; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o mic_e.o `test -f 'mic_e.cpp' || echo './'`mic_e.cpp mic_e.cpp:40:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 40 | "EMERGENCY.", | ^~~~~~~~~~~~ mic_e.cpp:41:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 41 | "PRIORITY..", | ^~~~~~~~~~~~ mic_e.cpp:42:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 42 | "Special...", | ^~~~~~~~~~~~ mic_e.cpp:43:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 43 | "Committed.", | ^~~~~~~~~~~~ mic_e.cpp:44:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 44 | "Returning.", | ^~~~~~~~~~~~ mic_e.cpp:45:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 45 | "In Service", | ^~~~~~~~~~~~ mic_e.cpp:46:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 46 | "Enroute...", | ^~~~~~~~~~~~ mic_e.cpp:47:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 47 | "Off duty..", | ^~~~~~~~~~~~ mic_e.cpp:48:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 48 | " ", | ^~~~~~~~~~~~ mic_e.cpp:49:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 49 | "Custom-6..", | ^~~~~~~~~~~~ mic_e.cpp:50:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 50 | "Custom-5..", | ^~~~~~~~~~~~ mic_e.cpp:51:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 51 | "Custom-4..", | ^~~~~~~~~~~~ mic_e.cpp:52:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 52 | "Custom-3..", | ^~~~~~~~~~~~ mic_e.cpp:53:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 53 | "Custom-2..", | ^~~~~~~~~~~~ mic_e.cpp:54:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 54 | "Custom-1..", | ^~~~~~~~~~~~ mic_e.cpp:55:4: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 55 | "Custom-0.." | ^~~~~~~~~~~~ mic_e.cpp: In function ‘int fmt_mic_e(const unsigned char*, const unsigned char*, int, unsigned char*, int*, unsigned char*, int*, time_t)’: mic_e.cpp:85:9: warning: variable ‘gps_valid’ set but not used [-Wunused-but-set-variable] 85 | int gps_valid = 0; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o mutex.o `test -f 'mutex.cpp' || echo './'`mutex.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o osdep.o `test -f 'osdep.cpp' || echo './'`osdep.cpp aprsString.cpp: In member function ‘void aprsd::aprsString::constructorSetUp(const char*, int, int)’: aprsString.cpp:305:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 305 | delete errormsg; | ^~~~~~~~ aprsString.cpp:293:32: note: returned from ‘void* operator new [](std::size_t)’ 293 | errormsg = new char[501]; | ^ In file included from mutex.cpp:29: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.cpp:151:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 151 | Mutex::Mutex() throw(AssertException, exception) | ^~~~~ mutex.cpp:171:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 171 | void Mutex::lock() throw(AssertException, exception) | ^~~~~ mutex.cpp:176:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 176 | void Mutex::unlock() throw(AssertException, exception) | ^~~~~ mutex.cpp:181:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 181 | void Mutex::wait() throw(AssertException, exception) | ^~~~~ mutex.cpp:186:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 186 | void Mutex::notify() throw(AssertException, exception) | ^~~~~ mutex.cpp:191:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 191 | void Mutex::notifyAll() throw(AssertException, exception) | ^~~~~ mutex.cpp:199:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 199 | RecursiveMutex::RecursiveMutex() throw(AssertException, exception) : | ^~~~~ mutex.cpp:205:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 205 | void RecursiveMutex::lock() throw(AssertException, exception) | ^~~~~ mutex.cpp:214:35: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 214 | void RecursiveMutex::unlock() throw(AssertException, exception) | ^~~~~ mutex.cpp:226:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 226 | void RecursiveMutex::wait() throw(AssertException, exception) | ^~~~~ mutex.cpp:235:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 235 | Lock::Lock(Mutex& arg_mutex, bool autoLock) throw(AssertException, exception) : | ^~~~~ mutex.cpp:249:22: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 249 | void Lock::get() throw(AssertException, exception) | ^~~~~ mutex.cpp:257:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 257 | void Lock::release() throw(AssertException, exception) | ^~~~~ mutex.cpp:265:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 265 | void Lock::wait() throw(AssertException, exception) | ^~~~~ mutex.cpp:273:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 273 | void Lock::notify() throw(AssertException, exception) | ^~~~~ mutex.cpp:281:28: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 281 | void Lock::notifyAll() throw(AssertException, exception) | ^~~~~ In file included from osdep.cpp:27: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o queryResp.o `test -f 'queryResp.cpp' || echo './'`queryResp.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o rf.o `test -f 'rf.cpp' || echo './'`rf.cpp In file included from /usr/include/c++/14/backward/strstream:50, from queryResp.cpp:37: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ aprsString.cpp: In member function ‘void aprsd::aprsString::mic_e_Reformat(aprsd::aprsString**, aprsd::aprsString**)’: aprsString.cpp:1371:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1371 | delete buf1; | ^~~~ aprsString.cpp:1364:38: note: returned from ‘void* operator new [](std::size_t)’ 1364 | char *buf1 = new char[512]; | ^ aprsString.cpp:1383:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1383 | delete buf2; | ^~~~ aprsString.cpp:1376:38: note: returned from ‘void* operator new [](std::size_t)’ 1376 | char *buf2 = new char[512]; | ^ In file included from cpqueue.h:29, from aprsd.h:9, from rf.cpp:31: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ In file included from utils.h:33, from queryResp.cpp:45: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30, from utils.h:34: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ queryResp.cpp: In function ‘void queryResp(int, const aprsd::aprsString*)’: queryResp.cpp:179:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 179 | delete cp; | ^~ queryResp.cpp:72:28: note: returned from ‘void* operator new [](std::size_t)’ 72 | char* cp = new char[256]; | ^ queryResp.cpp:180:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 180 | delete cpAck; | ^~~~~ queryResp.cpp:73:31: note: returned from ‘void* operator new [](std::size_t)’ 73 | char* cpAck = new char[256]; | ^ queryResp.cpp:181:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 181 | delete hostname; | ^~~~~~~~ queryResp.cpp:70:33: note: returned from ‘void* operator new [](std::size_t)’ 70 | char* hostname = new char[80]; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o serial.o `test -f 'serial.cpp' || echo './'`serial.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o servers.o `test -f 'servers.cpp' || echo './'`servers.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o string.o `test -f 'string.cpp' || echo './'`string.cpp In file included from /usr/include/c++/14/backward/strstream:50, from serial.cpp:43: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from /usr/include/c++/14/backward/strstream:50, from servers.cpp:44: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp In file included from /usr/include/c++/14/backward/strstream:50, from utils.cpp:29: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from utils.h:33, from serial.cpp:57: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30, from utils.h:34: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ serial.cpp: In function ‘bool AsyncReadWrite(char*)’: serial.cpp:195:19: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 195 | write (ttySwrite, tx_buffer, len); //Send TX data to TNC | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ serial.cpp: In function ‘int SendFiletoTNC(const std::string&)’: serial.cpp:295:19: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 295 | write (ttySwrite, Line, len); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from cpqueue.h:29, from aprsd.h:9, from servers.cpp:64: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ servers.cpp:120:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 120 | char *passDefault = "-1"; | ^~~~ servers.cpp: In function ‘int initDefaults()’: servers.cpp:242:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 242 | TncBaud = "9600"; | ^~~~~~ servers.cpp: In function ‘void SendToAllClients(aprsd::aprsString*)’: servers.cpp:733:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 733 | if (rc != -1) | ^~ servers.cpp:735:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 735 | goto done; | ^~~~ servers.cpp:677:18: warning: unused variable ‘wantrejected’ [-Wunused-variable] 677 | bool wantrejected = false; | ^~~~~~~~~~~~ servers.cpp: In function ‘void* DeQueue(void*)’: servers.cpp:866:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 866 | dcp = " "; // another one | ^~~ aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] servers.cpp:1016:50: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 1016 | if (((abuff->EchoMask & src3RDPARTY) && ((abuff->aprsType == APRSPOS)) /* No Posits fetched from history list */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ servers.cpp:816:10: warning: variable ‘t0’ set but not used [-Wunused-but-set-variable] 816 | long t0; | ^~ servers.cpp:819:11: warning: variable ‘dcp’ set but not used [-Wunused-but-set-variable] 819 | char* dcp; | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o validate.o `test -f 'validate.cpp' || echo './'`validate.cpp servers.cpp: In function ‘void* UDPServerThread(void*)’: servers.cpp:2355:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2355 | char *CRLF = "\r\n"; | ^~~~~~ servers.cpp: In function ‘void* TCPConnectThread(void*)’: servers.cpp:2817:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2817 | sentOnRF = sendOnRF(atemp, pcp->RemoteName, "IGATE", srcIGATE); // Try to send on RF | ^~~~~~~ servers.cpp: In function ‘void computeStreamRates()’: servers.cpp:3092:18: warning: variable ‘last_chars’ set but not used [-Wunused-but-set-variable] 3092 | static ULONG last_chars = 0; | ^~~~~~~~~~ In file included from /usr/include/c++/14/backward/strstream:50, from validate.cpp:35: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from utils.h:33, from utils.cpp:32: aprsString.h:208:83: warning: conversion from ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 208 | unsigned queryPath(const string& s, int start = 0, int stop = -1, unsigned n = npos); | ^~~~ In file included from cpqueue.h:30, from utils.h:34: mutex.h:58:17: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | Mutex() throw(AssertException, exception); | ^~~~~ mutex.h:66:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 66 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:67:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:68:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 68 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:74:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 74 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:75:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | void notifyAll() throw(AssertException, exception); | ^~~~~ mutex.h:105:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 105 | RecursiveMutex() throw(AssertException, exception); | ^~~~~ mutex.h:113:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 113 | virtual void lock() throw(AssertException, exception); | ^~~~~ mutex.h:114:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 114 | virtual void unlock() throw(AssertException, exception); | ^~~~~ mutex.h:115:29: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 115 | virtual void wait() throw(AssertException, exception); | ^~~~~ mutex.h:157:50: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 157 | Lock(Mutex& mutex, bool autoLock = true) throw(AssertException, exception); | ^~~~~ mutex.h:169:20: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 169 | void get() throw(AssertException, exception); | ^~~~~ mutex.h:175:24: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 175 | void release() throw(AssertException, exception); | ^~~~~ mutex.h:187:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 187 | void wait() throw(AssertException, exception); | ^~~~~ mutex.h:197:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 197 | void notify() throw(AssertException, exception); | ^~~~~ mutex.h:207:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 207 | void notifyAll() throw(AssertException, exception); | ^~~~~ servers.cpp: In function ‘void* DeQueue(void*)’: servers.cpp:826:9: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 826 | nice(-10); //Increase priority of this thread by 10 (only works if run as root) | ~~~~^~~~~ utils.cpp: In function ‘int WriteLog(const char*, const char*)’: utils.cpp:125:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 125 | delete pLogFile; | ^~~~~~~~ utils.cpp:94:69: note: returned from ‘void* operator new [](std::size_t)’ 94 | char* pLogFile = new char[CONFPATH.length() + strlen(LogFile) +1]; | ^ utils.cpp: In function ‘bool CmpDest(const char*, const char*)’: utils.cpp:185:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 185 | delete cp; | ^~ utils.cpp:177:38: note: returned from ‘void* operator new [](std::size_t)’ 177 | char *cp = new char[strlen(ref)+3]; | ^ utils.cpp: In function ‘bool CmpPath(const char*, const char*)’: utils.cpp:205:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 205 | delete cp; | ^~ utils.cpp:195:39: note: returned from ‘void* operator new [](std::size_t)’ 195 | char *cp = new char[strlen(line)+1]; | ^ utils.cpp: In function ‘void RemoveCtlCodes(char*)’: utils.cpp:271:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 271 | delete temp; | ^~~~ utils.cpp:260:50: note: returned from ‘void* operator new [](std::size_t)’ 260 | unsigned char *temp = new unsigned char[len+1]; | ^ validate.cpp: In function ‘int checkSystemPass(std::string, std::string, std::string)’: validate.cpp:229:19: warning: operation on ‘i’ may be undefined [-Wsequence-point] 229 | salt[i++] = ppw->pw_passwd[i]; | ~^~ validate.cpp:229:19: warning: operation on ‘i’ may be undefined [-Wsequence-point] validate.cpp:269:23: warning: operation on ‘i’ may be undefined [-Wsequence-point] 269 | salt[i++] = pspwd->sp_pwdp[i]; | ~^~ validate.cpp:269:23: warning: operation on ‘i’ may be undefined [-Wsequence-point] utils.cpp: In function ‘int stricmp(const char*, const char*)’: utils.cpp:503:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 503 | delete a; | ^ utils.cpp:488:29: note: returned from ‘void* operator new [](std::size_t)’ 488 | char* a = new char[len+1]; | ^ utils.cpp:504:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 504 | delete b; | ^ utils.cpp:495:29: note: returned from ‘void* operator new [](std::size_t)’ 495 | char* b = new char[len+1]; | ^ validate.cpp:172:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 172 | delete buffer1; | ^~~~~~~ validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ validate.cpp:187:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 187 | delete buffer2; | ^~~~~~~ validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ validate.cpp:188:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 188 | delete buffer1; | ^~~~~~~ validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ validate.cpp:204:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 204 | delete buffer1; | ^~~~~~~ validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ validate.cpp:205:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 205 | delete buffer2; | ^~~~~~~ validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ validate.cpp:250:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 250 | delete buffer1; | ^~~~~~~ validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ validate.cpp:251:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 251 | delete buffer2; | ^~~~~~~ validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ validate.cpp:292:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 292 | delete buffer1; | ^~~~~~~ validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ validate.cpp:293:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 293 | delete buffer2; | ^~~~~~~ validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ servers.cpp: In function ‘void dequeueTNC()’: servers.cpp:1202:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1202 | delete rfbuf; | ^~~~~ servers.cpp:1134:31: note: returned from ‘void* operator new [](std::size_t)’ 1134 | rfbuf = new char[RFBUFSIZE] ; | ^ servers.cpp: In function ‘void* TCPSessionThread(void*)’: servers.cpp:2222:24: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 15 bytes from a string of length 254 [-Wstringop-truncation] 2222 | strncpy(szUser,buf,15); | ^ servers.cpp:2120:20: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 15 bytes from a string of length 254 [-Wstringop-truncation] 2120 | strncpy(szPass,buf,15); | ^ servers.cpp:2044:25: warning: ‘checkdeny’ may be used uninitialized [-Wmaybe-uninitialized] 2041 | if (!verified && (atemp.aprsType != COMMENT) //Not a comment | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2042 | && (atemp.aprsType != APRSLOGON) //Not a logon | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2043 | && (atemp.valid_ax25) //Valid AX25 format | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2044 | && (checkdeny != 'L')) { //Not denied | ^~~~~~~~~~~~~~~~~~~~~ servers.cpp:1398:10: note: ‘checkdeny’ was declared here 1398 | char checkdeny; | ^~~~~~~~~ servers.cpp:1534:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1534 | delete pWelcome; | ^~~~~~~~ servers.cpp:1522:75: note: returned from ‘void* operator new [](std::size_t)’ 1522 | char *pWelcome = new char[CONFPATH.length() + WELCOME.length() + 1]; | ^ servers.cpp:1537:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 1537 | delete pWelcome; | ^~~~~~~~ servers.cpp:1522:75: note: returned from ‘void* operator new [](std::size_t)’ 1522 | char *pWelcome = new char[CONFPATH.length() + WELCOME.length() + 1]; | ^ servers.cpp: In function ‘void* TCPConnectThread(void*)’: servers.cpp:2783:36: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 250 bytes from a string of length 255 [-Wstringop-truncation] 2783 | strncpy(remoteIgateInfo, buf, 250); //This gets used in the html status web page function | ^ g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -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 -o aprsd aprsd.o aprsString.o ax25socket.o cpqueue.o crc32.o dupCheck.o aprsdexception.o exceptionguard.o history.o httpserver.o mic_e.o mutex.o osdep.o queryResp.o rf.o serial.o servers.o string.o utils.o validate.o -lcrypt -lpthread -lax25 make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' Making all in support make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' Making all in admin make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' Making all in aprspass make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o aprspass.o `test -f 'aprspass.cpp' || echo './'`aprspass.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -c -o validate.o `test -f '../src/validate.cpp' || echo './'`../src/validate.cpp In file included from /usr/include/c++/14/backward/strstream:50, from aprspass.cpp:31: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ In file included from /usr/include/c++/14/backward/strstream:50, from ../src/validate.cpp:35: /usr/include/c++/14/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ ../src/validate.cpp: In function ‘int checkSystemPass(std::string, std::string, std::string)’: ../src/validate.cpp:229:19: warning: operation on ‘i’ may be undefined [-Wsequence-point] 229 | salt[i++] = ppw->pw_passwd[i]; | ~^~ ../src/validate.cpp:229:19: warning: operation on ‘i’ may be undefined [-Wsequence-point] ../src/validate.cpp:269:23: warning: operation on ‘i’ may be undefined [-Wsequence-point] 269 | salt[i++] = pspwd->sp_pwdp[i]; | ~^~ ../src/validate.cpp:269:23: warning: operation on ‘i’ may be undefined [-Wsequence-point] ../src/validate.cpp:172:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 172 | delete buffer1; | ^~~~~~~ ../src/validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ ../src/validate.cpp:187:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 187 | delete buffer2; | ^~~~~~~ ../src/validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ ../src/validate.cpp:188:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 188 | delete buffer1; | ^~~~~~~ ../src/validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ ../src/validate.cpp:204:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 204 | delete buffer1; | ^~~~~~~ ../src/validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ ../src/validate.cpp:205:16: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 205 | delete buffer2; | ^~~~~~~ ../src/validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ ../src/validate.cpp:250:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 250 | delete buffer1; | ^~~~~~~ ../src/validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ ../src/validate.cpp:251:20: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 251 | delete buffer2; | ^~~~~~~ ../src/validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ ../src/validate.cpp:292:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 292 | delete buffer1; | ^~~~~~~ ../src/validate.cpp:163:37: note: returned from ‘void* operator new [](std::size_t)’ 163 | char *buffer1 = new char[bufsize]; | ^ ../src/validate.cpp:293:12: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 293 | delete buffer2; | ^~~~~~~ ../src/validate.cpp:178:37: note: returned from ‘void* operator new [](std::size_t)’ 178 | char *buffer2 = new char[bufsize]; | ^ g++ -std=c++14 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -pipe -pthread -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 -o aprspass aprspass.o validate.o -lcrypt -lpthread -lax25 make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.APSMrD + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-build + '[' /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT ++ dirname /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build + mkdir /builddir/build/BUILD/aprsd-2.2.5-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 aprsd-2.2.5-15 + make install DESTDIR=/builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' /bin/sh ../support/mkinstalldirs /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/bin mkdir -p -- /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/bin install -p aprsd /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/bin/aprsd make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/src' Making install in support make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/support' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc' Making install in admin make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/admin' Making install in aprspass make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' /bin/sh ../support/mkinstalldirs /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/bin install -p aprspass /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/bin/aprspass make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/aprspass' make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15' + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/lib/systemd/system + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/logrotate.d + install -m 644 /builddir/build/SOURCES/aprsd.conf /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd/aprsd.conf + install -m 755 /builddir/build/SOURCES/aprsd.service /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/lib/systemd/system/aprsd.service + install -m 644 /builddir/build/SOURCES/INIT.TNC /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd/INIT.TNC + install -m 644 /builddir/build/SOURCES/user.deny /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd/user.deny + install -m 644 /builddir/build/SOURCES/welcome.txt /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd/welcome.txt + install -m 644 /builddir/build/SOURCES/RESTORE.TNC /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/aprsd/RESTORE.TNC + install -m 644 /builddir/build/SOURCES/aprsd.logrotate /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/etc/logrotate.d/aprsd + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/var + mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/var/log/aprsd + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.2.5-15.6.fc41.35 --unique-debug-suffix -2.2.5-15.6.fc41.35.riscv64 --unique-debug-src-base aprsd-2.2.5-15.6.fc41.35.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/aprsd-2.2.5-15.6.fc41.35.riscv64 837 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 *** WARNING: ./usr/lib/systemd/system/aprsd.service 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/aprsd-2.2.5-build/BUILDROOT Scanned 21 directories and 55 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/aprsd-2.2.5-build/SPECPARTS/rpm-debuginfo.specpart Processing files: aprsd-2.2.5-15.6.fc41.35.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jfYR4z + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-build + cd aprsd-2.2.5-15 + DOCDIR=/builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/AUTHORS /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/COPYING /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/ChangeLog /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/README /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc/aprsddoc.html /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc/ports.html /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc/q.html /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + cp -pr /builddir/build/BUILD/aprsd-2.2.5-build/aprsd-2.2.5-15/doc/qalgorithm.html /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT/usr/share/doc/aprsd + RPM_EC=0 ++ jobs -p + exit 0 Provides: aprsd = 2.2.5-15.6.fc41.35 aprsd(riscv-64) = 2.2.5-15.6.fc41.35 config(aprsd) = 2.2.5-15.6.fc41.35 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libax25.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(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) rtld(GNU_HASH) Processing files: aprsd-debugsource-2.2.5-15.6.fc41.35.riscv64 Provides: aprsd-debugsource = 2.2.5-15.6.fc41.35 aprsd-debugsource(riscv-64) = 2.2.5-15.6.fc41.35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: aprsd-debuginfo-2.2.5-15.6.fc41.35.riscv64 Provides: aprsd-debuginfo = 2.2.5-15.6.fc41.35 aprsd-debuginfo(riscv-64) = 2.2.5-15.6.fc41.35 debuginfo(build-id) = af4b5f424e0d621a75e633ffd7e9f428f824a92e debuginfo(build-id) = c6e81f2da95a306a74de2fe0511c48732977532c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: aprsd-debugsource(riscv-64) = 2.2.5-15.6.fc41.35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/aprsd-2.2.5-build/BUILDROOT Wrote: /builddir/build/RPMS/aprsd-2.2.5-15.6.fc41.35.riscv64.rpm Wrote: /builddir/build/RPMS/aprsd-debugsource-2.2.5-15.6.fc41.35.riscv64.rpm Wrote: /builddir/build/RPMS/aprsd-debuginfo-2.2.5-15.6.fc41.35.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XntL6L + umask 022 + cd /builddir/build/BUILD/aprsd-2.2.5-build + test -d /builddir/build/BUILD/aprsd-2.2.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/aprsd-2.2.5-build + rm -rf /builddir/build/BUILD/aprsd-2.2.5-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0