Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/aprsd.spec'], chrootPath='/var/lib/mock/f33-build-298043-56059/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/aprsd-2.2.5-15.6.fc33.24.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/f33-build-298043-56059/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LK9DlR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aprsd-2.2.5-15 + /usr/bin/gzip -dc /builddir/build/SOURCES/aprsd-2.2.5-15.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -p1 -b --suffix sysconfdir --fuzz=0 patching file src/aprsd.cpp Hunk #1 succeeded at 99 (offset 2 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8gbACR + umask 022 + cd /builddir/build/BUILD + cd aprsd-2.2.5-15 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2003-10-01 12:38:18.000000000 -0400 +++ ./configure 2020-08-14 17:20:54.783618084 -0400 @@ -5356,7 +5356,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6498,7 +6498,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6691,7 +6691,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6843,7 +6843,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6935,7 +6935,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -7021,7 +7021,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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-15' Making all in src make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o aprsd.o `test -f 'aprsd.cpp' || echo './'`aprsd.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o aprsString.o `test -f 'aprsString.cpp' || echo './'`aprsString.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o ax25socket.o `test -f 'ax25socket.cpp' || echo './'`ax25socket.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o cpqueue.o `test -f 'cpqueue.cpp' || echo './'`cpqueue.cpp In file included from /usr/include/c++/10/backward/strstream:50, from cpqueue.cpp:33: /usr/include/c++/10/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++/10/backward/strstream:50, from aprsString.cpp:33: /usr/include/c++/10/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, from aprsd.h:9, from servers.h:32, from ax25socket.cpp:54: 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, from cpqueue.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 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, from aprsd.cpp:78: 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: 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 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 aprsd.cpp:91: exceptionguard.h:34:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | extern void assertUnexpected() throw(UnexpectedException); | ^~~~~ In file included from /usr/include/string.h:519, from osdep.h:30, from ax25socket.cpp:50: In function 'strncpy', inlined from 'SocketReadWrite(char*)' at ax25socket.cpp:216:28: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 999 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'crc32.c' || echo './'`crc32.c g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o dupCheck.o `test -f 'dupCheck.cpp' || echo './'`dupCheck.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++/10/backward/strstream:50, from dupCheck.cpp:32: /usr/include/c++/10/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o aprsdexception.o `test -f 'aprsdexception.cpp' || echo './'`aprsdexception.cpp 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, from dupCheck.cpp:40: 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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o exceptionguard.o `test -f 'exceptionguard.cpp' || echo './'`exceptionguard.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o history.o `test -f 'history.cpp' || echo './'`history.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) | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o httpserver.o `test -f 'httpserver.cpp' || echo './'`httpserver.cpp In file included from /usr/include/c++/10/backward/strstream:50, from history.cpp:48: /usr/include/c++/10/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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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; | ^~~~~~~~~ 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, from aprsd.h:9, from servers.h:32, from httpserver.cpp:38: 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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o mutex.o `test -f 'mutex.cpp' || echo './'`mutex.cpp 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 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; | ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o osdep.o `test -f 'osdep.cpp' || echo './'`osdep.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o queryResp.o `test -f 'queryResp.cpp' || echo './'`queryResp.cpp 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); | ^~~~~ In file included from /usr/include/c++/10/backward/strstream:50, from queryResp.cpp:37: /usr/include/c++/10/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 \ | ^~~~~~~ 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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o rf.o `test -f 'rf.cpp' || echo './'`rf.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o serial.o `test -f 'serial.cpp' || echo './'`serial.cpp In file included from /usr/include/c++/10/backward/strstream:50, from serial.cpp:43: /usr/include/c++/10/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 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, from queryResp.cpp:45: 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 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, from aprsd.h:9, from rf.cpp:31: 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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o servers.o `test -f 'servers.cpp' || echo './'`servers.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o string.o `test -f 'string.cpp' || echo './'`string.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp In file included from /usr/include/c++/10/backward/strstream:50, from servers.cpp:44: /usr/include/c++/10/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, from serial.cpp:57: 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 /usr/include/c++/10/backward/strstream:50, from utils.cpp:29: /usr/include/c++/10/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 \ | ^~~~~~~ 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 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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o validate.o `test -f 'validate.cpp' || echo './'`validate.cpp 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, from aprsd.h:9, from servers.cpp:64: 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 /usr/include/c++/10/backward/strstream:50, from validate.cpp:35: /usr/include/c++/10/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); | ^~~~ 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"; | ^~~~~~ In file included from cpqueue.h:30, from utils.h:34, from utils.cpp: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); | ^~~~~ 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 | ^~~ 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); | ^~~~ 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; | ^~~ 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; | ^~~~~~~~~~ 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) | ~~~~^~~~~ 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] In file included from /usr/include/string.h:519, from osdep.h:30, from aprsdexception.h:29, from mutex.h:36, from cpqueue.h:30, from aprsd.h:9, from servers.cpp:64: In function 'strncpy', inlined from 'TCPSessionThread(void*)' at servers.cpp:2222:24: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'TCPSessionThread(void*)' at servers.cpp:2120:20: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 254 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'TCPConnectThread(void*)' at servers.cpp:2783:36: /usr/include/bits/string_fortified.h:106:34: warning: 'strncpy' output may be truncated copying 250 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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-15/src' Making all in support make[2]: Entering directory '/builddir/build/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-15/support' Making all in doc make[2]: Entering directory '/builddir/build/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-15/doc' Making all in admin make[2]: Entering directory '/builddir/build/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-15/admin' Making all in aprspass make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o aprspass.o `test -f 'aprspass.cpp' || echo './'`aprspass.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -c -o validate.o `test -f '../src/validate.cpp' || echo './'`../src/validate.cpp In file included from /usr/include/c++/10/backward/strstream:50, from ../src/validate.cpp:35: /usr/include/c++/10/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++/10/backward/strstream:50, from aprspass.cpp:31: /usr/include/c++/10/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] g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -pipe -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o aprspass aprspass.o validate.o -lcrypt -lpthread -lax25 make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15' make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o4SfRV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 ++ dirname /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 + cd aprsd-2.2.5-15 + make install DESTDIR=/builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/src' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/src' /bin/sh ../support/mkinstalldirs /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin install -p aprsd /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprsd make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/src' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/src' Making install in support make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/support' make[2]: Entering directory '/builddir/build/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-15/support' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/support' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/doc' make[2]: Entering directory '/builddir/build/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-15/doc' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/doc' Making install in admin make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/admin' make[2]: Entering directory '/builddir/build/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-15/admin' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/admin' Making install in aprspass make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' make[2]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' /bin/sh ../support/mkinstalldirs /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin install -p aprspass /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprspass make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15/aprspass' make[1]: Entering directory '/builddir/build/BUILD/aprsd-2.2.5-15' make[2]: Entering directory '/builddir/build/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-15' make[1]: Leaving directory '/builddir/build/BUILD/aprsd-2.2.5-15' + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/logrotate.d + install -m 644 /builddir/build/SOURCES/aprsd.conf /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd/aprsd.conf + install -m 755 /builddir/build/SOURCES/aprsd.service /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/lib/systemd/system/aprsd.service + install -m 644 /builddir/build/SOURCES/INIT.TNC /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd/INIT.TNC + install -m 644 /builddir/build/SOURCES/user.deny /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd/user.deny + install -m 644 /builddir/build/SOURCES/welcome.txt /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd/welcome.txt + install -m 644 /builddir/build/SOURCES/RESTORE.TNC /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/aprsd/RESTORE.TNC + install -m 644 /builddir/build/SOURCES/aprsd.logrotate /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/etc/logrotate.d/aprsd + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/var + mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/var/log/aprsd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.2.5-15.6.fc33.24 --unique-debug-suffix -2.2.5-15.6.fc33.24.riscv64 --unique-debug-src-base aprsd-2.2.5-15.6.fc33.24.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/aprsd-2.2.5-15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprsd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprspass extracting debug info from /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprsd extracting debug info from /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/bin/aprspass original debug info size: 5880kB, size after compression: 5424kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 837 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/systemd/system/aprsd.service is executable but has no shebang, removing executable bit Processing files: aprsd-2.2.5-15.6.fc33.24.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J8PuxT + umask 022 + cd /builddir/build/BUILD + cd aprsd-2.2.5-15 + DOCDIR=/builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr AUTHORS /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr COPYING /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr ChangeLog /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr README /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr doc/aprsddoc.html /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr doc/ports.html /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr doc/q.html /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + cp -pr doc/qalgorithm.html /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64/usr/share/doc/aprsd + RPM_EC=0 ++ jobs -p + exit 0 Provides: aprsd = 2.2.5-15.6.fc33.24 aprsd(riscv-64) = 2.2.5-15.6.fc33.24 config(aprsd) = 2.2.5-15.6.fc33.24 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) 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_3.3.1)(64bit) libgcc_s.so.1(GCC_4.3.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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.9)(64bit) rtld(GNU_HASH) Processing files: aprsd-debugsource-2.2.5-15.6.fc33.24.riscv64 Provides: aprsd-debugsource = 2.2.5-15.6.fc33.24 aprsd-debugsource(riscv-64) = 2.2.5-15.6.fc33.24 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.fc33.24.riscv64 Provides: aprsd-debuginfo = 2.2.5-15.6.fc33.24 aprsd-debuginfo(riscv-64) = 2.2.5-15.6.fc33.24 debuginfo(build-id) = 0b85c0acc541a166f3fe7f64336da37b246cd669 debuginfo(build-id) = 0f0d34d5e34ac5f888a01174a005486dd90b0fcf 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.fc33.24 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 Wrote: /builddir/build/RPMS/aprsd-2.2.5-15.6.fc33.24.riscv64.rpm Wrote: /builddir/build/RPMS/aprsd-debugsource-2.2.5-15.6.fc33.24.riscv64.rpm Wrote: /builddir/build/RPMS/aprsd-debuginfo-2.2.5-15.6.fc33.24.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gfBI5R + umask 022 + cd /builddir/build/BUILD + cd aprsd-2.2.5-15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/aprsd-2.2.5-15.6.fc33.24.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0