Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cmconvert.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671824883.680213/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c1bfd0323ac84da2b3d5e54c69341613', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671824883.680213/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cmconvert.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/cmconvert-1.9.6-25.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cmconvert.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671824883.680213/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd16d95d5982545bb908613d3e85e02be', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671824883.680213/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0f6mpstu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cmconvert.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d9xFhD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmconvert-1.9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cmconvert-1.9.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmconvert-1.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tkk1rU + umask 022 + cd /builddir/build/BUILD + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cmconvert-1.9.6 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2010-05-12 21:43:02.000000000 +0000 +++ ./configure 2022-12-23 19:49:39.805959164 +0000 @@ -1830,7 +1830,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 C++ compiler default output file name... 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 x86_64-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 ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking zzip/lib.h usability... yes checking zzip/lib.h presence... yes checking for zzip/lib.h... yes checking for stdint-types....... "(putting them into src/cmconvert-stdint.h)" checking for uintptr_t... yes checking for uint64_t... yes ... seen our uintptr_t in stdint.h (uint64_t too) creating src/cmconvert-stdint.h : _SRC_CMCONVERT_STDINT_H checking for int_least32_t... yes checking for int_fast32_t... yes ..adding include stdint.h ... seen good stdint.h inttypes ... seen good uint64_t ... DONE src/cmconvert-stdint.h checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for XML_ParserCreate in -lexpat... yes checking for deflateEnd in -lz... yes checking for zzip_dir_open in -lzzip... yes checking for sin in -lm... yes checking for memset... yes checking for memcpy... yes checking for strchr... yes checking for setlocale... yes checking for strftime... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6' Making all in src make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make all-am make[3]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o main.o main.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o wplist.o wplist.cpp In file included from pdbwriter.h:23, from main.cpp:23: pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [32]' {aka 'unsigned char [32]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:49:24: note: in expansion of macro 'PACKED' 49 | UInt8 name[32] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'PDBRecordList' {aka '_PDBRecordList'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:61:34: note: in expansion of macro 'PACKED' 61 | PDBRecordList recordList PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:67:26: note: in expansion of macro 'PACKED' 67 | UInt8 attributes PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [3]' {aka 'unsigned char [3]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:68:27: note: in expansion of macro 'PACKED' 68 | UInt8 uniqueID[3] PACKED; | ^~~~~~ wplist.cpp: In member function 'time_t CWPList::ParseTime(std::string, int&)': wplist.cpp:169:18: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 169 | if (tpos == string::npos) | ~~~~~^~~~~~~~~~~~~~~ wplist.cpp:176:26: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 176 | if (ppos != string::npos) | ~~~~~^~~~~~~~~~~~~~~ wplist.cpp:178:31: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 178 | else if (mpos != string::npos) | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'std::string GetDefaultOutputFile(std::string)': main.cpp:80:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 80 | if (nComma != string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:86:18: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 86 | if (nDot == string::npos) | ~~~~~^~~~~~~~~~~~~~~ main.cpp:88:25: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 88 | else if (nSlash == string::npos || nSlash < nDot) | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int ReadFilterFile(std::string)': main.cpp:127:36: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 127 | if (nIndex == string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int CheckPDBStructSizes()': main.cpp:341:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 341 | printf("Header size = %d (must be 80)\n", | ~^ | | | int | %ld 342 | sizeof(PDBHeader)); | ~~~~~~~~~~~~~~~~~ | | | long unsigned int main.cpp:343:46: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 343 | printf("Record entry size = %d (must be 8)\n", | ~^ | | | int | %ld 344 | sizeof(PDBRecordEntry)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int main.cpp: In function 'int check_filter_string(std::string, std::string)': main.cpp:361:21: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 361 | while (nPos != string::npos) | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int parse_radius_filter(double&, double&, double&, CWPList&)': main.cpp:391:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 391 | if (nIndex == string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:402:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 402 | if (nIndex == string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int parse_xml_file(std::string, CWPList*)': main.cpp:533:9: warning: deleting object of abstract class type 'IXMLReader' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 533 | delete pReader; | ^~~~~~~~~~~~~~ main.cpp: In function 'int main(int, char**)': main.cpp:566:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 566 | while (nComma != string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o parser.o parser.cpp parser.cpp:50:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | { "", -1, FF_CACHE_STATUS }, | ^~ parser.cpp:51:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | { "/name", FLD_NAME2, 0 }, | ^~~~~~~ parser.cpp:52:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | { "/type", FLD_TYPE2, 0 }, | ^~~~~~~ parser.cpp:53:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | { "/owner", FLD_OWNER, 0 }, | ^~~~~~~~ parser.cpp:54:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | { "/container", FLD_CONTAINER, 0 }, | ^~~~~~~~~~~~ parser.cpp:55:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | { "/locale", FLD_LOCALE, 0 }, | ^~~~~~~~~ parser.cpp:56:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | { "/state", FLD_STATE, 0 }, | ^~~~~~~~ parser.cpp:57:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | { "/country", FLD_COUNTRY, 0 }, | ^~~~~~~~~~ parser.cpp:58:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 58 | { "/difficulty", FLD_DIFFICULTY, 0 }, | ^~~~~~~~~~~~~ parser.cpp:59:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | { "/terrain", FLD_TERRAIN, 0 }, | ^~~~~~~~~~ parser.cpp:60:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | { "/summary", FLD_SHRT_DESC, FF_FORCE_HTML }, | ^~~~~~~~~~ parser.cpp:61:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | { "/description", FLD_LONG_DESC, FF_FORCE_HTML }, | ^~~~~~~~~~~~~~ parser.cpp:62:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | { "/hints", FLD_HINTS, 0 }, | ^~~~~~~~ parser.cpp:63:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | { "/logs/log", -1, FF_LOG_ELEM }, | ^~~~~~~~~~~ parser.cpp:64:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | { "/logs/log/time", FLD_LOG_DATE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:65:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | { "/logs/log/type", FLD_LOG_TYPE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:66:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | { "/logs/log/geocacher", FLD_LOG_FINDER, 0 }, | ^~~~~~~~~~~~~~~~~~~~~ parser.cpp:67:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | { "/logs/log/text", FLD_LOG_TEXT, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:68:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | { "/logs/log/coords", -1, FF_COORD_LOG }, | ^~~~~~~~~~~~~~~~~~ parser.cpp:74:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | { "", -1, FF_CACHE_STATUS }, | ^~ parser.cpp:75:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | { "/name", FLD_NAME2, 0 }, | ^~~~~~~ parser.cpp:76:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | { "/type", FLD_TYPE2, 0 }, | ^~~~~~~ parser.cpp:77:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | { "/owner", FLD_OWNER, 0 }, | ^~~~~~~~ parser.cpp:78:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | { "/container", FLD_CONTAINER, 0 }, | ^~~~~~~~~~~~ parser.cpp:79:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | { "/state", FLD_STATE, 0 }, | ^~~~~~~~ parser.cpp:80:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | { "/country", FLD_COUNTRY, 0 }, | ^~~~~~~~~~ parser.cpp:81:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | { "/difficulty", FLD_DIFFICULTY, 0 }, | ^~~~~~~~~~~~~ parser.cpp:82:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | { "/terrain", FLD_TERRAIN, 0 }, | ^~~~~~~~~~ parser.cpp:83:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | { "/short_description", FLD_SHRT_DESC, FF_CHECK_HTML }, | ^~~~~~~~~~~~~~~~~~~~ parser.cpp:84:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | { "/long_description", FLD_LONG_DESC, FF_CHECK_HTML }, | ^~~~~~~~~~~~~~~~~~~ parser.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | { "/encoded_hints", FLD_HINTS, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | { "/logs/log", -1, FF_LOG_ELEM }, | ^~~~~~~~~~~ parser.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | { "/logs/log/date", FLD_LOG_DATE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | { "/logs/log/type", FLD_LOG_TYPE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | { "/logs/log/finder", FLD_LOG_FINDER, 0 }, | ^~~~~~~~~~~~~~~~~~ parser.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | { "/logs/log/text", FLD_LOG_TEXT, FF_LOG_ENC }, | ^~~~~~~~~~~~~~~~ parser.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | { "/logs/log/log_wpt", -1, FF_COORD_LOG }, | ^~~~~~~~~~~~~~~~~~~ parser.cpp:92:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | { "/travelbugs/travelbug/name", -1, FF_BUG_NAME }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:93:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 93 | { "/attributes/attribute", -1, FF_CACHE_ATTR }, | ^~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | { "/name", FLD_NAME2, 0 }, | ^~~~~~~ parser.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | { "/owner", FLD_OWNER, 0 }, | ^~~~~~~~ parser.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | { "/style", FLD_TYPE2, 0 }, | ^~~~~~~~ parser.cpp:102:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 102 | { "/size", FLD_CONTAINER, FF_TERRA_SIZES }, | ^~~~~~~ parser.cpp:103:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 103 | { "/physical_challenge", FLD_TERRAIN, 0 }, | ^~~~~~~~~~~~~~~~~~~~~ parser.cpp:104:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | { "/mental_challenge", FLD_DIFFICULTY, 0 }, | ^~~~~~~~~~~~~~~~~~~ parser.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | { "/camo_challenge", FLD_CAMO_DIFF, 0 }, | ^~~~~~~~~~~~~~~~~ parser.cpp:106:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | { "/country", FLD_COUNTRY, 0 }, | ^~~~~~~~~~ parser.cpp:107:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 107 | { "/state", FLD_STATE, 0 }, | ^~~~~~~~ parser.cpp:108:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 108 | { "/description", FLD_LONG_DESC, FF_FORCE_HTML }, | ^~~~~~~~~~~~~~ parser.cpp:109:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | { "/hint", FLD_HINTS, FF_FORCE_HTML }, | ^~~~~~~ parser.cpp:110:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 110 | { "/logs/log", -1, FF_LOG_ELEM }, | ^~~~~~~~~~~ parser.cpp:111:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 111 | { "/logs/log/date", FLD_LOG_DATE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:112:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | { "/logs/log/type", FLD_LOG_TYPE, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:113:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 113 | { "/logs/log/user", FLD_LOG_FINDER, 0 }, | ^~~~~~~~~~~~~~~~ parser.cpp:114:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | { "/logs/log/entry", FLD_LOG_TEXT, FF_FORCE_HTML }, | ^~~~~~~~~~~~~~~~~ parser.cpp:120:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { "http://www.groundspeak.com/cache/", 1, "/cache", s_GSMap }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:120:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 120 | { "http://www.groundspeak.com/cache/", 1, "/cache", s_GSMap }, | ^~~~~~~~ parser.cpp:121:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { "http://www.terracaching.com/gpx/", 1, "/terracache", s_TerraMap }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:121:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 121 | { "http://www.terracaching.com/gpx/", 1, "/terracache", s_TerraMap }, | ^~~~~~~~~~~~~ parser.cpp:122:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "http://geocaching.com.au/geocache/1", 0, "/geocache", s_AUMap }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:122:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | { "http://geocaching.com.au/geocache/1", 0, "/geocache", s_AUMap }, | ^~~~~~~~~~~ parser.cpp:129:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 129 | { "/gpx", -1, FF_GPX_VERSION }, | ^~~~~~ parser.cpp:130:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | { "/gpx/time", -1, FF_TIMESTAMP }, | ^~~~~~~~~~~ parser.cpp:131:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | { "/gpx/wpt", -1, FF_REC_ELEM | FF_COORD_ATTR }, | ^~~~~~~~~~ parser.cpp:132:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 132 | { "/gpx/wpt/name", FLD_WAYPOINT, 0 }, | ^~~~~~~~~~~~~~~ parser.cpp:133:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 133 | { "/gpx/wpt/desc", FLD_NAME, 0 }, | ^~~~~~~~~~~~~~~ parser.cpp:134:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 134 | { "/gpx/wpt/cmt", FLD_COMMENT, 0 }, | ^~~~~~~~~~~~~~ parser.cpp:135:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | { "/gpx/wpt/type", FLD_TYPE, 0 }, | ^~~~~~~~~~~~~~~ parser.cpp:136:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | { "/gpx/wpt/time", FLD_DATETIME, 0 }, | ^~~~~~~~~~~~~~~ parser.cpp:137:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 137 | { "/gpx/wpt/sym", FLD_SYMBOL, 0 }, | ^~~~~~~~~~~~~~ parser.cpp:138:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 138 | { "/gpx/wpt/url", -1, FF_WPT_URL }, | ^~~~~~~~~~~~~~ parser.cpp:140:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 140 | { "/gpx/metadata/time", -1, FF_TIMESTAMP }, | ^~~~~~~~~~~~~~~~~~~~ parser.cpp:141:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | { "/gpx/wpt/link", -1, FF_HREF_ATTR }, | ^~~~~~~~~~~~~~~ parser.cpp:143:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | { "/loc/waypoint", -1, FF_REC_ELEM | FF_LOC_WARNING }, | ^~~~~~~~~~~~~~~ parser.cpp:144:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | { "/loc/waypoint/name", FLD_NAME, FF_WAYPOINT_ID }, | ^~~~~~~~~~~~~~~~~~~~ parser.cpp:145:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 145 | { "/loc/waypoint/coord", -1, FF_COORD_ATTR }, | ^~~~~~~~~~~~~~~~~~~~~ parser.cpp:146:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 146 | { "/loc/waypoint/type", FLD_TYPE, 0 }, | ^~~~~~~~~~~~~~~~~~~~ parser.cpp: In static member function 'static void CXMLParser::HandleElemStart(void*, const char*, const char**)': parser.cpp:298:17: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 298 | if (pos != string::npos) | ~~~~^~~~~~~~~~~~~~~ parser.cpp: At global scope: parser.cpp:410:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 410 | { 0x0152, "\x8c" }, | ^~~~~~ parser.cpp:411:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 411 | { 0x0153, "\x9c" }, | ^~~~~~ parser.cpp:412:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 412 | { 0x0160, "\x8a" }, | ^~~~~~ parser.cpp:413:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 413 | { 0x0161, "\x9a" }, | ^~~~~~ parser.cpp:414:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 414 | { 0x0178, "\x9f" }, | ^~~~~~ parser.cpp:415:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 415 | { 0x0192, "\x83" }, | ^~~~~~ parser.cpp:416:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 416 | { 0x02c6, "\x88" }, | ^~~~~~ parser.cpp:417:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 417 | { 0x02dc, "\x98" }, | ^~~~~~ parser.cpp:418:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 418 | { 0x2013, "\x96" }, | ^~~~~~ parser.cpp:419:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | { 0x2014, "\x97" }, | ^~~~~~ parser.cpp:420:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 420 | { 0x2018, "\x91" }, | ^~~~~~ parser.cpp:421:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | { 0x2019, "\x92" }, | ^~~~~~ parser.cpp:422:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 422 | { 0x201A, "\x82" }, | ^~~~~~ parser.cpp:423:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 423 | { 0x201E, "\x84" }, | ^~~~~~ parser.cpp:424:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 424 | { 0x201c, "\x93" }, | ^~~~~~ parser.cpp:425:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 425 | { 0x201d, "\x94" }, | ^~~~~~ parser.cpp:426:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 426 | { 0x2020, "\x86" }, | ^~~~~~ parser.cpp:427:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | { 0x2021, "\x87" }, | ^~~~~~ parser.cpp:428:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | { 0x2022, "\x95" }, | ^~~~~~ parser.cpp:429:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 429 | { 0x2026, "..." }, | ^~~~~ parser.cpp:430:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 430 | { 0x2030, "\x89" }, | ^~~~~~ parser.cpp:431:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 431 | { 0x2039, "\x8b" }, | ^~~~~~ parser.cpp:432:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 432 | { 0x203a, "\x9b" }, | ^~~~~~ parser.cpp:433:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 433 | { 0x20AC, "\x80" }, | ^~~~~~ parser.cpp:434:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 434 | { 0x2122, "\x99" }, | ^~~~~~ parser.cpp: In member function 'void CXMLParser::DecodeUTF8(std::string&)': parser.cpp:445:19: warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]', declared with attribute 'nodiscard' [-Wunused-result] 445 | sTmp.empty(); | ~~~~~~~~~~^~ In file included from /usr/include/c++/13/string:54, from common.h:93, from parser.cpp:20: /usr/include/c++/13/bits/basic_string.h:1183:7: note: declared here 1183 | empty() const _GLIBCXX_NOEXCEPT | ^~~~~ parser.cpp: In member function 'void CXMLParser::CompileCacheLog()': parser.cpp:666:15: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 666 | if (i != string::npos) | ~~^~~~~~~~~~~~~~~ parser.cpp: In member function 'void CXMLParser::ExtractURL(std::string, std::string)': parser.cpp:759:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 759 | if (nIndex == string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ parser.cpp:772:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 772 | if (nIndex != string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ parser.cpp: At global scope: parser.cpp:786:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 786 | { "nbsp", ' ' }, | ^~~~~~ parser.cpp:787:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 787 | { "gt", '>' }, | ^~~~ parser.cpp:788:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 788 | { "lt", '<' }, | ^~~~ parser.cpp:789:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 789 | { "amp", '&' }, | ^~~~~ parser.cpp:790:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 790 | { "quot", '\"' }, | ^~~~~~ parser.cpp:791:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 791 | { "iexcl", 161 }, | ^~~~~~~ parser.cpp:792:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 792 | { "cent", 162 }, | ^~~~~~ parser.cpp:793:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 793 | { "pound", 163 }, | ^~~~~~~ parser.cpp:794:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 794 | { "curren", 164 }, | ^~~~~~~~ parser.cpp:795:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 795 | { "yen", 165 }, | ^~~~~ parser.cpp:796:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 796 | { "brvbar", 166 }, | ^~~~~~~~ parser.cpp:797:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 797 | { "sect", 167 }, | ^~~~~~ parser.cpp:798:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 798 | { "uml", 168 }, | ^~~~~ parser.cpp:799:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 799 | { "copy", 169 }, | ^~~~~~ parser.cpp:800:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 800 | { "ordf", 170 }, | ^~~~~~ parser.cpp:801:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 801 | { "laquo", 171 }, | ^~~~~~~ parser.cpp:802:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 802 | { "not", 172 }, | ^~~~~ parser.cpp:803:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 803 | { "shy", 173 }, | ^~~~~ parser.cpp:804:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 804 | { "reg", 174 }, | ^~~~~ parser.cpp:805:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 805 | { "macr", 175 }, | ^~~~~~ parser.cpp:806:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 806 | { "deg", 176 }, | ^~~~~ parser.cpp:807:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 807 | { "plusmn", 177 }, | ^~~~~~~~ parser.cpp:808:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 808 | { "sup2", 178 }, | ^~~~~~ parser.cpp:809:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 809 | { "sup3", 179 }, | ^~~~~~ parser.cpp:810:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 810 | { "acute", 180 }, | ^~~~~~~ parser.cpp:811:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 811 | { "micro", 181 }, | ^~~~~~~ parser.cpp:812:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 812 | { "para", 182 }, | ^~~~~~ parser.cpp:813:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 813 | { "middot", 183 }, | ^~~~~~~~ parser.cpp:814:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 814 | { "cedil", 184 }, | ^~~~~~~ parser.cpp:815:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 815 | { "sup1", 185 }, | ^~~~~~ parser.cpp:816:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 816 | { "ordm", 186 }, | ^~~~~~ parser.cpp:817:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 817 | { "raquo", 187 }, | ^~~~~~~ parser.cpp:818:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 818 | { "frac14", 188 }, | ^~~~~~~~ parser.cpp:819:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 819 | { "frac12", 189 }, | ^~~~~~~~ parser.cpp:820:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 820 | { "frac34", 190 }, | ^~~~~~~~ parser.cpp:821:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 821 | { "iquest", 191 }, | ^~~~~~~~ parser.cpp:822:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 822 | { "times", 215 }, | ^~~~~~~ parser.cpp:823:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 823 | { "szlig", 223 }, | ^~~~~~~ parser.cpp:824:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 824 | { "agrave", 224 }, | ^~~~~~~~ parser.cpp:825:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 825 | { "aacute", 225 }, | ^~~~~~~~ parser.cpp:826:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 826 | { "acirc", 226 }, | ^~~~~~~ parser.cpp:827:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 827 | { "atilde", 227 }, | ^~~~~~~~ parser.cpp:828:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 828 | { "auml", 228 }, | ^~~~~~ parser.cpp:829:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 829 | { "aring", 229 }, | ^~~~~~~ parser.cpp:830:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 830 | { "aelig", 230 }, | ^~~~~~~ parser.cpp:831:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 831 | { "ccedil", 231 }, | ^~~~~~~~ parser.cpp:832:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 832 | { "egrave", 232 }, | ^~~~~~~~ parser.cpp:833:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 833 | { "eacute", 233 }, | ^~~~~~~~ parser.cpp:834:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 834 | { "ecirc", 234 }, | ^~~~~~~ parser.cpp:835:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 835 | { "euml", 235 }, | ^~~~~~ parser.cpp:836:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 836 | { "igrave", 236 }, | ^~~~~~~~ parser.cpp:837:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 837 | { "iacute", 237 }, | ^~~~~~~~ parser.cpp:838:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 838 | { "icirc", 238 }, | ^~~~~~~ parser.cpp:839:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 839 | { "iuml", 239 }, | ^~~~~~ parser.cpp:840:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 840 | { "eth", 240 }, | ^~~~~ parser.cpp:841:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 841 | { "ntilde", 241 }, | ^~~~~~~~ parser.cpp:842:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 842 | { "ograve", 242 }, | ^~~~~~~~ parser.cpp:843:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 843 | { "oacute", 243 }, | ^~~~~~~~ parser.cpp:844:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 844 | { "ocirc", 244 }, | ^~~~~~~ parser.cpp:845:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 845 | { "otilde", 245 }, | ^~~~~~~~ parser.cpp:846:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 846 | { "ouml", 246 }, | ^~~~~~ parser.cpp:847:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 847 | { "divide", 247 }, | ^~~~~~~~ parser.cpp:848:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 848 | { "oslash", 248 }, | ^~~~~~~~ parser.cpp:849:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 849 | { "ugrave", 249 }, | ^~~~~~~~ parser.cpp:850:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 850 | { "uacute", 250 }, | ^~~~~~~~ parser.cpp:851:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 851 | { "ucirc", 251 }, | ^~~~~~~ parser.cpp:852:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 852 | { "uuml", 252 }, | ^~~~~~ parser.cpp:853:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 853 | { "yacute", 253 }, | ^~~~~~~~ parser.cpp:854:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 854 | { "thorn", 254 }, | ^~~~~~~ parser.cpp:855:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 855 | { "yuml", 255 }, | ^~~~~~ parser.cpp:856:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 856 | { "oelig", 339 }, | ^~~~~~~ parser.cpp:857:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 857 | { "scaron", 353 }, | ^~~~~~~~ parser.cpp:858:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 858 | { "fnof", 402 }, | ^~~~~~ parser.cpp:859:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 859 | { "circ", 710 }, | ^~~~~~ parser.cpp:860:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 860 | { "tilde", 732 }, | ^~~~~~~ parser.cpp:861:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 861 | { "ndash", 8211 }, | ^~~~~~~ parser.cpp:862:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 862 | { "mdash", 8212 }, | ^~~~~~~ parser.cpp:863:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 863 | { "lsquo", 8216 }, | ^~~~~~~ parser.cpp:864:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 864 | { "rsquo", 8217 }, | ^~~~~~~ parser.cpp:865:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 865 | { "sbquo", 8218 }, | ^~~~~~~ parser.cpp:866:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 866 | { "ldquo", 8220 }, | ^~~~~~~ parser.cpp:867:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 867 | { "rdquo", 8221 }, | ^~~~~~~ parser.cpp:868:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 868 | { "bdquo", 8222 }, | ^~~~~~~ parser.cpp:869:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 869 | { "dagger", 8224 }, | ^~~~~~~~ parser.cpp:870:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 870 | { "bull", 8226 }, | ^~~~~~ parser.cpp:871:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 871 | { "hellip", 8230 }, | ^~~~~~~~ parser.cpp:872:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 872 | { "permil", 8240 }, | ^~~~~~~~ parser.cpp:873:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 873 | { "lsaquo", 8249 }, | ^~~~~~~~ parser.cpp:874:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 874 | { "rsaquo", 8250 }, | ^~~~~~~~ parser.cpp:875:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 875 | { "trade", 8482 }, | ^~~~~~~ parser.cpp: In member function 'void CXMLParser::DecodeEntity(std::string&, std::string&)': parser.cpp:914:47: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 914 | if (pChar->ch == nValue) | ~~~~~~~~~~^~~~~~~~~ parser.cpp: In member function 'void CXMLParser::EncodeHints(int)': parser.cpp:1107:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1107 | static char *szLower13 = "nopqrstuvwxyzabcdefghijklm"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp:1108:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1108 | static char *szUpper13 = "NOPQRSTUVWXYZABCDEFGHIJKLM"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.cpp: In member function 'void CXMLParser::StripQuotes(std::string&)': parser.cpp:1189:26: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 1189 | if (nPos != string::npos) | ~~~~~^~~~~~~~~~~~~~~ parser.cpp:1192:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1192 | if (nPos != (rStr.size() - 1)) | ~~~~~^~~~~~~~~~~~~~~~~~~~ parser.cpp: In member function 'void CXMLParser::FinishWaypointRecord()': parser.cpp:1312:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 1312 | if (i != string::npos) | ~~^~~~~~~~~~~~~~~ parser.cpp:1384:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1384 | if (rDesc.size() > m_nMaxDesc) | ~~~~~~~~~~~~~^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pdbwriter.o pdbwriter.cpp In file included from pdbwriter.h:23, from pdbwriter.cpp:22: pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [32]' {aka 'unsigned char [32]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:49:24: note: in expansion of macro 'PACKED' 49 | UInt8 name[32] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'PDBRecordList' {aka '_PDBRecordList'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:61:34: note: in expansion of macro 'PACKED' 61 | PDBRecordList recordList PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:67:26: note: in expansion of macro 'PACKED' 67 | UInt8 attributes PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [3]' {aka 'unsigned char [3]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:68:27: note: in expansion of macro 'PACKED' 68 | UInt8 uniqueID[3] PACKED; | ^~~~~~ pdbwriter.cpp: In member function 'std::string CPDBWriter::GetBaseName(std::string)': pdbwriter.cpp:89:20: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 89 | if (nSlash != string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ pdbwriter.cpp:93:18: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 93 | if (nDot != string::npos) | ~~~~~^~~~~~~~~~~~~~~ parser.cpp: In member function 'CXMLParser::FormatFileTS(std::__cxx11::basic_string, std::allocator >)': parser.cpp:1530:47: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 1530 | sprintf(buf, "%04d-%02d-%02dT%02d:%02d:%02dZ", | ^ In file included from /usr/include/stdio.h:906, from common.h:25: In function 'sprintf', inlined from 'CXMLParser::FormatFileTS(std::__cxx11::basic_string, std::allocator >)' at parser.cpp:1530:9: /usr/include/bits/stdio2.h:30:34: note: '__sprintf_chk' output between 21 and 73 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ pdbwriter.cpp: In member function 'int CPDBWriter::WriteFile(std::string, int)': pdbwriter.cpp:175:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | write(fd, m_pHeader, m_nHeaderSize); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdbwriter.cpp:182:38: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | write(fd, (*iter)->m_sRecord.c_str(), | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | (*iter)->m_sRecord.size() + 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c getopt1.c g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o reader.o reader.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o htmlwriter.o htmlwriter.cpp htmlwriter.cpp: In member function 'void CHTMLWriter::SetFileName(std::string)': htmlwriter.cpp:37:18: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 37 | if (nDot != string::npos) | ~~~~~^~~~~~~~~~~~~~~ htmlwriter.cpp: In member function 'int CHTMLWriter::WriteCacheRecord(CWPData*)': htmlwriter.cpp:78:23: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string::size_type' {aka 'const long unsigned int'} [-Wsign-compare] 78 | while (nIndex != string::npos) | ~~~~~~~^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o util.o util.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mktime.o mktime.cpp mktime.cpp: In function 'time_t mkgmtime(tm*)': mktime.cpp:27:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 27 | register short month, year; | ^~~~~ mktime.cpp:27:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 27 | register short month, year; | ^~~~ mktime.cpp:28:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 28 | register time_t result; | ^~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o cmconvert main.o wplist.o parser.o pdbwriter.o getopt.o getopt1.o reader.o htmlwriter.o util.o mktime.o -lm -lzzip -lz -lexpat make[3]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/man' Making all in config make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/config' make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6' make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6' make[1]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iaqQ7S + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cmconvert-1.9.6 + rm -fr /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make install-am make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make[3]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/bin" install -p 'cmconvert' '/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/bin/cmconvert' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/src' make[1]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/man' make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/man' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/man/man1" install -p -m 644 './cmconvert.1' '/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/man/man1/cmconvert.1' make[2]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/man' make[1]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/man' Making install in config make[1]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/config' make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6/config' 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/cmconvert-1.9.6/config' make[1]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6/config' make[1]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6' make[2]: Entering directory '/builddir/build/BUILD/cmconvert-1.9.6' 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/cmconvert-1.9.6' make[1]: Leaving directory '/builddir/build/BUILD/cmconvert-1.9.6' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.9.6-25.fc38 --unique-debug-suffix -1.9.6-25.fc38.x86_64 --unique-debug-src-base cmconvert-1.9.6-25.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cmconvert-1.9.6 extracting debug info from /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/bin/cmconvert original debug info size: 1384kB, size after compression: 1188kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 233 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cmconvert-1.9.6-25.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.crqmRG + umask 022 + cd /builddir/build/BUILD + cd cmconvert-1.9.6 + DOCDIR=/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/doc/cmconvert + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/doc/cmconvert + cp -pr ChangeLog /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/doc/cmconvert + cp -pr README /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/doc/cmconvert + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jJ1InS + umask 022 + cd /builddir/build/BUILD + cd cmconvert-1.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/licenses/cmconvert + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/licenses/cmconvert + cp -pr COPYING /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64/usr/share/licenses/cmconvert + RPM_EC=0 ++ jobs -p + exit 0 Provides: cmconvert = 1.9.6-25.fc38 cmconvert(x86-64) = 1.9.6-25.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libzzip-0.so.13()(64bit) rtld(GNU_HASH) Processing files: cmconvert-debugsource-1.9.6-25.fc38.x86_64 Provides: cmconvert-debugsource = 1.9.6-25.fc38 cmconvert-debugsource(x86-64) = 1.9.6-25.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cmconvert-debuginfo-1.9.6-25.fc38.x86_64 Provides: cmconvert-debuginfo = 1.9.6-25.fc38 cmconvert-debuginfo(x86-64) = 1.9.6-25.fc38 debuginfo(build-id) = 2b276342458165df7dfb6f1b557fb0bf37c5476a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cmconvert-debugsource(x86-64) = 1.9.6-25.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 Wrote: /builddir/build/RPMS/cmconvert-1.9.6-25.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/cmconvert-debugsource-1.9.6-25.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/cmconvert-debuginfo-1.9.6-25.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4ZRKAC + umask 022 + cd /builddir/build/BUILD + cd cmconvert-1.9.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cmconvert-1.9.6-25.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.2H7xOJ + umask 022 + cd /builddir/build/BUILD + rm -rf cmconvert-1.9.6 cmconvert-1.9.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0