Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/f41-build-55060016-6532188/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c1a915e016474bdd97032cb08a3e1f03', '-D', '/var/lib/mock/f41-build-55060016-6532188/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensp.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=1721260800 Wrote: /builddir/build/SRPMS/opensp-1.5.2-47.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/f41-build-55060016-6532188/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b49f9a7c702a475b81c53d3267b8ab19', '-D', '/var/lib/mock/f41-build-55060016-6532188/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.77pj4q01:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensp.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=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ZR60EJ + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + test -d /builddir/build/BUILD/opensp-1.5.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/opensp-1.5.2-build + /usr/bin/rm -rf /builddir/build/BUILD/opensp-1.5.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/opensp-1.5.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/opensp-1.5.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rRblxI + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + cd /builddir/build/BUILD/opensp-1.5.2-build + rm -rf OpenSP-1.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/OpenSP-1.5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenSP-1.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (opensp-multilib.patch):' Patch #0 (opensp-multilib.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multilib --fuzz=0 patching file configure.in patching file lib/parser_inst.cxx patching file lib/parser_inst.m4 patching file config.h.in Patch #1 (opensp-nodeids.patch): + echo 'Patch #1 (opensp-nodeids.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nodeids --fuzz=0 patching file docsrc/releasenotes.xml + echo 'Patch #2 (opensp-sigsegv.patch):' Patch #2 (opensp-sigsegv.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sigsegv --fuzz=0 patching file lib/ExtendEntityManager.cxx Patch #3 (opensp-manpage.patch): + echo 'Patch #3 (opensp-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manpage --fuzz=0 patching file docsrc/osgmlnorm.xml patching file docsrc/ospam.xml Patch #4 (opensp-configure-c99.patch): + echo 'Patch #4 (opensp-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0 patching file aclocal.m4 patching file configure + iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp + mv -f ChangeLog.tmp ChangeLog + touch lib/parser_inst.cxx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gmZmNY + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 OpenSP-1.5.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 --- ./configure.backup 2024-11-19 01:52:20.031494349 +0000 +++ ./configure 2024-11-19 01:52:20.061497117 +0000 @@ -9008,7 +9008,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -9168,7 +9168,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -12813,7 +12813,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -12973,7 +12973,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -18594,7 +18594,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -18754,7 +18754,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -22049,7 +22049,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 } @@ -22373,7 +22373,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 } @@ -25337,7 +25337,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 } @@ -31438,7 +31438,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 } @@ -31550,7 +31550,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 --- ./configure.backup 2024-11-19 01:52:20.061497117 +0000 +++ ./configure 2024-11-19 01:52:20.153505605 +0000 @@ -22682,10 +22682,7 @@ exit (sig != SIGFPE); } -int x = 1; -int y = 0; -int z; -int nan; +volatile int x = 1; volatile int y = 0; volatile int z, nan; int main () { + /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 --- ./configure.backup 2024-11-19 01:52:20.153505605 +0000 +++ ./configure 2024-11-19 01:52:20.165506712 +0000 @@ -6044,7 +6044,7 @@ sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --disable-dependency-tracking --disable-static --enable-http --enable-default-catalog=/etc/sgml/catalog --enable-default-search-path=/usr/share/sgml:/usr/share/xml 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)... no checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking for x86_64-redhat-linux-gnu-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for x86_64-redhat-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) no checking for perl... /usr/bin/perl checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for x86_64-redhat-linux-gnu-g77... no checking for x86_64-redhat-linux-gnu-f77... no checking for x86_64-redhat-linux-gnu-xlf... no checking for x86_64-redhat-linux-gnu-frt... no checking for x86_64-redhat-linux-gnu-pgf77... no checking for x86_64-redhat-linux-gnu-fort77... no checking for x86_64-redhat-linux-gnu-fl32... no checking for x86_64-redhat-linux-gnu-af77... no checking for x86_64-redhat-linux-gnu-f90... no checking for x86_64-redhat-linux-gnu-xlf90... no checking for x86_64-redhat-linux-gnu-pgf90... no checking for x86_64-redhat-linux-gnu-epcf90... no checking for x86_64-redhat-linux-gnu-f95... no checking for x86_64-redhat-linux-gnu-fort... no checking for x86_64-redhat-linux-gnu-xlf95... no checking for x86_64-redhat-linux-gnu-ifc... no checking for x86_64-redhat-linux-gnu-efc... no checking for x86_64-redhat-linux-gnu-pgf95... no checking for x86_64-redhat-linux-gnu-lf95... no checking for x86_64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... cat: 'ld.so.conf.d/*.conf': No such file or directory GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pthread_create in -lpthread... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking whether we are using the GNU C Library 2 or newer... yes checking for x86_64-redhat-linux-gnu-ranlib... ranlib checking for library containing strerror... none required checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for ptrdiff_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... no checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for locale.h... (cached) yes checking for ANSI C header files... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking osfcn.h usability... no checking osfcn.h presence... no checking for osfcn.h... no checking new usability... yes checking new presence... yes checking for new... yes checking cassert usability... yes checking cassert presence... yes checking for cassert... yes checking whether byte ordering is bigendian... no checking for size_t... (cached) yes checking for struct stat.st_blksize... yes checking for sig_atomic_t in signal.h... yes checking for size_t... (cached) yes checking size of size_t... 8 checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned short... yes checking size of unsigned short... 2 checking for wchar_t... yes checking size of wchar_t... 4 checking whether the compiler recognizes bool as a built-in type... yes checking for bool... yes checking size of bool... 1 checking whether the compiler supports the mutable keyword... yes checking whether the compiler recognizes typename... yes checking whether the compiler accepts the new for scoping rules... yes checking whether the compiler supports placement operator delete... no checking whether the compiler supports dynamic_cast<>... yes checking whether the compiler implements namespaces... yes checking whether the compiler supports explicit instantiations... yes checking for placement operator new... yes checking whether the C++ compiler supports the std namespace... yes checking whether GNU C++ supports automatic template instantiation... yes checking whether GNU C++ links with libg++ if we include new.h... no checking whether new_handler accepts size_t and returns int... no checking for memmove... yes checking for memcmp... yes checking for strerror... yes checking for strtoul... (cached) yes checking for setlocale... (cached) yes checking for Windows and DOS and OS/2 style pathnames... no checking whether to include support for http... yes checking for main in -lnsl... no checking for main in -lsocket... no checking h_errno in netdb.h... yes checking for default catalog... /etc/sgml/catalog checking for default search path... /usr/share/sgml:/usr/share/xml checking whether to include support for XML Formatted Messages... no checking whether to include DTDDECL support... yes checking whether to build docs (man and html)... yes checking for xmlto... /usr/bin/xmlto checking whether to build all docs (man, html, pdf, ps)... no configure: creating ./config.status config.status: creating OpenSP-1.5.2.spec config.status: creating Makefile config.status: creating msggen.pl config.status: creating lib/Makefile config.status: creating nsgmls/Makefile config.status: creating spent/Makefile config.status: creating spam/Makefile config.status: creating sgmlnorm/Makefile config.status: creating sx/Makefile config.status: creating spcat/Makefile config.status: creating include/Makefile config.status: creating include/config.h.old config.status: creating generic/Makefile config.status: creating doc/Makefile config.status: creating pubtext/Makefile config.status: creating tests/Makefile config.status: creating unicode/Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating docsrc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j6 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' Making all in pubtext make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' Making all in unicode make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' Making all in include make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' Making all in generic make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' Making all in intl make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' Making all in po make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Allocator.lo Allocator.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ArcEngine.lo ArcEngine.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Attribute.lo Attribute.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Big5CodingSystem.lo Big5CodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CharsetDecl.lo CharsetDecl.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CharsetInfo.lo CharsetInfo.cxx mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Big5CodingSystem.cxx -fPIC -DPIC -o .libs/Big5CodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Attribute.cxx -fPIC -DPIC -o .libs/Attribute.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Allocator.cxx -fPIC -DPIC -o .libs/Allocator.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ArcEngine.cxx -fPIC -DPIC -o .libs/ArcEngine.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CharsetInfo.cxx -fPIC -DPIC -o .libs/CharsetInfo.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CharsetDecl.cxx -fPIC -DPIC -o .libs/CharsetDecl.o In file included from Allocator.cxx:5: ../include/Allocator.h: In constructor 'OpenSP::Allocator::Allocator(size_t, unsigned int)': ../include/Allocator.h:57:12: warning: 'OpenSP::Allocator::blocksPerSegment_' will be initialized after [-Wreorder] 57 | unsigned blocksPerSegment_; | ^~~~~~~~~~~~~~~~~ ../include/Allocator.h:55:10: warning: 'OpenSP::Allocator::Block* OpenSP::Allocator::freeList_' [-Wreorder] 55 | Block *freeList_; | ^~~~~~~~~ Allocator.cxx:12:1: warning: when initialized here [-Wreorder] 12 | Allocator::Allocator(size_t maxSize, unsigned blocksPerSegment) | ^~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ../include/CharsetDecl.h:12, from CharsetDecl.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Attribute.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CharsetRegistry.lo CharsetRegistry.cxx ../include/CharsetDecl.h: In constructor 'OpenSP::CharsetDeclRange::CharsetDeclRange(OpenSP::WideChar, OpenSP::Number, OpenSP::WideChar)': ../include/CharsetDecl.h:46:8: warning: 'OpenSP::CharsetDeclRange::type_' will be initialized after [-Wreorder] 46 | Type type_; | ^~~~~ ../include/CharsetDecl.h:45:12: warning: 'OpenSP::WideChar OpenSP::CharsetDeclRange::baseMin_' [-Wreorder] 45 | WideChar baseMin_; | ^~~~~~~~ CharsetDecl.cxx:25:1: warning: when initialized here [-Wreorder] 25 | CharsetDeclRange::CharsetDeclRange(WideChar descMin, Number count, | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 49 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CharsetDecl.cxx:183:26: required from here 183 | CharsetDecl::CharsetDecl() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:12: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CmdLineApp.lo CmdLineApp.cxx ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinition::AttributeDefinition(const OpenSP::StringC&, OpenSP::DeclaredValue*)': ../include/Attribute.h:291:28: warning: 'OpenSP::AttributeDefinition::declaredValue_' will be initialized after [-Wreorder] 291 | CopyOwner declaredValue_; | ^~~~~~~~~~~~~~ ../include/Attribute.h:287:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeDefinition::implicit_' [-Wreorder] 287 | PackedBoolean implicit_; | ^~~~~~~~~ Attribute.cxx:590:1: warning: when initialized here [-Wreorder] 590 | AttributeDefinition::AttributeDefinition(const StringC &name, | ^~~~~~~~~~~~~~~~~~~ Attribute.cxx: In member function 'void OpenSP::AttributeDefinition::setOrigName(OpenSP::StringC&)': Attribute.cxx:609:17: warning: the compiler can assume that the address of 'origName' will never be NULL [-Waddress] 609 | if (&origName != NULL) | ^ Attribute.cxx:607:48: note: 'origName' declared here 607 | void AttributeDefinition::setOrigName(StringC &origName) | ~~~~~~~~~^~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinitionList::AttributeDefinitionList(OpenSP::Vector >&, size_t, OpenSP::Boolean, size_t, size_t)': ../include/Attribute.h:382:11: warning: 'OpenSP::AttributeDefinitionList::anyCurrent_' will be initialized after [-Wreorder] 382 | Boolean anyCurrent_; | ^~~~~~~~~~~ ../include/Attribute.h:380:10: warning: 'size_t OpenSP::AttributeDefinitionList::idIndex_' [-Wreorder] 380 | size_t idIndex_; // -1 if no ID attribute | ^~~~~~~~ Attribute.cxx:883:1: warning: when initialized here [-Wreorder] 883 | AttributeDefinitionList | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinitionList::AttributeDefinitionList(const OpenSP::ConstPtr&)': ../include/Attribute.h:383:37: warning: 'OpenSP::AttributeDefinitionList::prev_' will be initialized after [-Wreorder] 383 | ConstPtr prev_; | ^~~~~ ../include/Attribute.h:379:10: warning: 'size_t OpenSP::AttributeDefinitionList::index_' [-Wreorder] 379 | size_t index_; | ^~~~~~ Attribute.cxx:895:1: warning: when initialized here [-Wreorder] 895 | AttributeDefinitionList:: AttributeDefinitionList(const ConstPtr &def) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeList::AttributeList(const OpenSP::ConstPtr&)': ../include/Attribute.h:531:37: warning: 'OpenSP::AttributeList::def_' will be initialized after [-Wreorder] 531 | ConstPtr def_; | ^~~~ ../include/Attribute.h:530:21: warning: 'OpenSP::Vector OpenSP::AttributeList::vec_' [-Wreorder] 530 | Vector vec_; | ^~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h:530:21: warning: 'OpenSP::AttributeList::vec_' will be initialized after [-Wreorder] 530 | Vector vec_; | ^~~~ ../include/Attribute.h:529:10: warning: 'size_t OpenSP::AttributeList::nSpec_' [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h:529:10: warning: 'OpenSP::AttributeList::nSpec_' will be initialized after [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] 526 | PackedBoolean conref_; | ^~~~~~~ Attribute.cxx:1179:1: warning: when initialized here [-Wreorder] 1179 | AttributeList::AttributeList(const ConstPtr &def) | ^~~~~~~~~~~~~ ../include/Attribute.h: In constructor 'OpenSP::AttributeList::AttributeList()': ../include/Attribute.h:529:10: warning: 'OpenSP::AttributeList::nSpec_' will be initialized after [-Wreorder] 529 | size_t nSpec_; | ^~~~~~ ../include/Attribute.h:526:17: warning: 'OpenSP::PackedBoolean OpenSP::AttributeList::conref_' [-Wreorder] 526 | PackedBoolean conref_; | ^~~~~~~ Attribute.cxx:1185:1: warning: when initialized here [-Wreorder] 1185 | AttributeList::AttributeList() | ^~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/Attribute.h:167:7: required from here 167 | class GroupDeclaredValue : public TokenizedDeclaredValue { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': Attribute.cxx:482:45: required from here 482 | Vector > entities(nTokens); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ConstPtr]': ../include/Attribute.h:396:7: required from here 396 | class EntityAttributeSemantics : public AttributeSemantics { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = long unsigned int]': Attribute.cxx:1054:3: required from here 1054 | : spaceIndex_(spaceIndex) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::Attribute; size_t = long unsigned int]': Attribute.cxx:1180:14: required from here 1180 | : def_(def), vec_(def.isNull() ? 0 : def->size()), nSpec_(0), conref_(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from Attribute.cxx:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: required from here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::String]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Attribute.cxx:336:24: required from here 336 | desc.allowedValues = allowedValues_; | ^~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Attribute.cxx:482:45: required from here 482 | Vector > entities(nTokens); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Attribute.cxx:890:31: required from here 890 | notationIndex_(notationIndex) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Attribute.cxx:907:18: required from here 907 | defs_ = def->defs_; | ^~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ConstPtr]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:396:7: required from here 396 | class EntityAttributeSemantics : public AttributeSemantics { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/ContentState.h:13, from ArcProcessor.h:8, from ArcEngine.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ArcEngine.cxx:21: Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CharsetRegistry.cxx -fPIC -DPIC -o .libs/CharsetRegistry.o Attribute.cxx: In member function 'OpenSP::AttributeDefinition::setOrigName(OpenSP::String&)': Attribute.cxx:609:3: warning: 'nonnull' argument 'origName' compared to NULL [-Wnonnull-compare] 609 | if (&origName != NULL) | ^~ ArcEngine.cxx: In constructor 'OpenSP::ArcEngineImpl::ArcEngineImpl(OpenSP::Messenger&, const OpenSP::SgmlParser*, OpenSP::ArcDirector&, const volatile sig_atomic_t*, const OpenSP::StringC*, const OpenSP::Notation*, const OpenSP::Vector >&, const OpenSP::SubstTable*)': ArcEngine.cxx:143:32: warning: 'OpenSP::ArcEngineImpl::cancelPtr_' will be initialized after [-Wreorder] 143 | const volatile sig_atomic_t *cancelPtr_; | ^~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'const OpenSP::SgmlParser* OpenSP::ArcEngineImpl::parser_' [-Wreorder] 130 | const SgmlParser *parser_; | ^~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:130:21: warning: 'OpenSP::ArcEngineImpl::parser_' will be initialized after [-Wreorder] 130 | const SgmlParser *parser_; | ^~~~~~~ ArcEngine.cxx:127:7: warning: 'int OpenSP::ArcEngineImpl::stage_' [-Wreorder] 127 | int stage_; | ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:139:11: warning: 'OpenSP::ArcEngineImpl::haveLinkProcess_' will be initialized after [-Wreorder] 139 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::Allocator OpenSP::ArcEngineImpl::alloc_' [-Wreorder] 135 | Allocator alloc_; | ^~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcEngine.cxx:135:13: warning: 'OpenSP::ArcEngineImpl::alloc_' will be initialized after [-Wreorder] 135 | Allocator alloc_; | ^~~~~~ ArcEngine.cxx:129:20: warning: 'OpenSP::NullEventHandler OpenSP::ArcEngineImpl::nullHandler_' [-Wreorder] 129 | NullEventHandler nullHandler_; | ^~~~~~~~~~~~ ArcEngine.cxx:184:1: warning: when initialized here [-Wreorder] 184 | ArcEngineImpl::ArcEngineImpl(Messenger &mgr, | ^~~~~~~~~~~~~ ArcProcessor.h: In constructor 'OpenSP::ArcProcessor::ArcProcessor()': ArcProcessor.h:221:17: warning: 'OpenSP::ArcProcessor::docHandler_' will be initialized after [-Wreorder] 221 | EventHandler *docHandler_; | ^~~~~~~~~~~ ArcProcessor.h:197:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcAuto_' [-Wreorder] 197 | Boolean arcAuto_; | ^~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] 645 | ArcProcessor::ArcProcessor() | ^~~~~~~~~~~~ ArcProcessor.h:197:11: warning: 'OpenSP::ArcProcessor::arcAuto_' will be initialized after [-Wreorder] 197 | Boolean arcAuto_; | ^~~~~~~~ ArcProcessor.h:196:11: warning: 'OpenSP::Boolean OpenSP::ArcProcessor::arcDtdIsParam_' [-Wreorder] 196 | Boolean arcDtdIsParam_; | ^~~~~~~~~~~~~~ ArcEngine.cxx:645:1: warning: when initialized here [-Wreorder] 645 | ArcProcessor::ArcProcessor() | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CmdLineApp.cxx -fPIC -DPIC -o .libs/CmdLineApp.o In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ArcEngine.h:31:7: required from here 31 | : select_(select), eh_(&eh) { } | ^~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ISetRange]': ../include/ISet.h:25:7: required from here 25 | class ISet { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SubstTable::Pair]': ../include/SubstTable.h:15:14: required from here 15 | class SP_API SubstTable { | ^~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ArcEngine.cxx:1224:19: required from here 1224 | arcOpts_.insert(arcOpts_.begin(), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 1225 | opts.begin(), opts.begin() + opts.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': ArcEngine.cxx:1620:52: required from here 1620 | PackedBoolean(0)); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ CharsetRegistry.cxx: In member function 'virtual OpenSP::Boolean OpenSP::CharsetRegistryDescIter::next(OpenSP::WideChar&, OpenSP::WideChar&, OpenSP::UnivChar&)': CharsetRegistry.cxx:56:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 56 | for (; i < n_; i++) | ~~^~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::ArcProcessor]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::ArcProcessor]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ArcEngine.cxx:197:38: required from here 197 | nullHandler_(mgr), docName_(docName) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ArcProcessor' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ArcProcessor.h:23:7: note: 'class OpenSP::ArcProcessor' declared here 23 | class ArcProcessor : private ContentState, private AttributeContext { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/LinkProcess.h:32:14: required from here 32 | class SP_API LinkProcess { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ArcEngine.cxx:302:48: required from here 302 | Vector > attdefs; | ^~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14, from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ArcEngine.cxx:647:19: required from here 647 | arcDtdIsParam_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ArcEngine.cxx:647:19: required from here 647 | arcDtdIsParam_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from CmdLineApp.cxx:12: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 49 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from CharsetRegistry.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/CmdLineApp.h: In constructor 'OpenSP::CmdLineApp::CmdLineApp(const char*)': ../include/CmdLineApp.h:74:23: warning: 'OpenSP::CmdLineApp::outputCodingSystem_' will be initialized after [-Wreorder] 74 | const CodingSystem *outputCodingSystem_; | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:81:23: warning: base 'OpenSP::MessageReporter' [-Wreorder] 81 | action_(normalAction) | ^ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CmdLineApp::CmdLineApp(const char *requiredInternalCode) | ^~~~~~~~~~ ../include/CmdLineApp.h:92:23: warning: 'OpenSP::CmdLineApp::codingSystem_' will be initialized after [-Wreorder] 92 | const CodingSystem *codingSystem_; | ^~~~~~~~~~~~~ ../include/CmdLineApp.h:87:7: warning: 'int OpenSP::CmdLineApp::action_' [-Wreorder] 87 | int action_; | ^~~~~~~ CmdLineApp.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CmdLineApp::CmdLineApp(const char *requiredInternalCode) | ^~~~~~~~~~ In file included from splib.h:7, from CmdLineApp.cxx:11: CmdLineApp.cxx: In member function 'virtual int OpenSP::CmdLineApp::init(int, AppChar**)': ../config.h:376:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | #define SP_MESSAGE_DOMAIN "sp5" | ^~~~~ CmdLineApp.cxx:327:51: note: in expansion of macro 'SP_MESSAGE_DOMAIN' 327 | SP_MESSAGE_DOMAIN, | ^~~~~~~~~~~~~~~~~ ../config.h:370:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | #define SP_LOCALE_DIR "/usr/share/locale" | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:328:51: note: in expansion of macro 'SP_LOCALE_DIR' 328 | SP_LOCALE_DIR); | ^~~~~~~~~~~~~ ../config.h:376:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 376 | #define SP_MESSAGE_DOMAIN "sp5" | ^~~~~ CmdLineApp.cxx:330:51: note: in expansion of macro 'SP_MESSAGE_DOMAIN' 330 | SP_MESSAGE_DOMAIN, | ^~~~~~~~~~~~~~~~~ ../config.h:370:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 370 | #define SP_LOCALE_DIR "/usr/share/locale" | ^~~~~~~~~~~~~~~~~~~ CmdLineApp.cxx:331:51: note: in expansion of macro 'SP_LOCALE_DIR' 331 | SP_LOCALE_DIR); | ^~~~~~~~~~~~~ CmdLineApp.cxx: In member function 'int OpenSP::CmdLineApp::run(int, AppChar**)': CmdLineApp.cxx:365:13: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] 365 | bad_alloc) { | ^~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': CmdLineApp.cxx:199:40: required from here 199 | Vector > args(1); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/CmdLineApp.h:25: ../include/Options.cxx: In instantiation of 'OpenSP::Options::Options(int, T* const*, const OpenSP::Vector >&) [with T = char]': CmdLineApp.cxx:379:45: required from here 379 | Options options(argc, argv, opts_); | ^ ../include/Options.h:41:7: warning: 'OpenSP::Options::argc_' will be initialized after [-Wreorder] 41 | int argc_; | ^~~~~ ../include/Options.h:40:13: warning: 'char* const* OpenSP::Options::argv_' [-Wreorder] 40 | T *const *argv_; | ^~~~~ In file included from ../include/Options.h:57: ../include/Options.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Options::Options(int argc, T *const *argv, const Vector > &l) | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CmdLineApp.cxx:81:23: required from here 81 | action_(normalAction) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CmdLineApp.cxx:81:23: required from here 81 | action_(normalAction) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CmdLineApp.cxx:199:40: required from here 199 | Vector > args(1); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CmdLineApp.cxx:222:19: required from here 222 | Vector leftSide; | ^~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::LongOption]': ../include/Options.cxx:16:46: required from 'OpenSP::Options::Options(int, T* const*, const OpenSP::Vector >&) [with T = char]' 16 | : argc_(argc), argv_(argv), ind_(1), sp_(1), opts_(l), optInd_(-1) | ^~~~~~~~ CmdLineApp.cxx:379:45: required from here 379 | Options options(argc, argv, opts_); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Options.cxx: In instantiation of 'bool OpenSP::Options::search(T) [with T = char]': ../include/Options.cxx:99:8: required from 'bool OpenSP::Options::get(T&) [with T = char]' 99 | if (!search(c)) { | ^~~~~~ CmdLineApp.cxx:381:21: required from here 381 | while (options.get(opt)) { | ~~~~~~~~~~~^~~~~ ../include/Options.cxx:23:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 23 | for (optInd_ = 0; optInd_ < opts_.size(); optInd_++) | ~~~~~~~~^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CodingSystem.lo CodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CodingSystemKit.lo CodingSystemKit.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CodingSystem.cxx -fPIC -DPIC -o .libs/CodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c CodingSystemKit.cxx -fPIC -DPIC -o .libs/CodingSystemKit.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ConsoleOutput.lo ConsoleOutput.cxx In file included from ../include/TranslateCodingSystem.h:8, from CodingSystemKit.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ CodingSystemKit.cxx: In constructor 'OpenSP::CodingSystemKitImpl::CodingSystemKitImpl(const OpenSP::TranslateCodingSystem::Desc*)': CodingSystemKit.cxx:129:38: warning: 'OpenSP::CodingSystemKitImpl::systemCharsetDesc_' will be initialized after [-Wreorder] 129 | const TranslateCodingSystem::Desc *systemCharsetDesc_; | ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:103:19: warning: 'OpenSP::XMLCodingSystem OpenSP::CodingSystemKitImpl::xmlCodingSystem_' [-Wreorder] 103 | XMLCodingSystem xmlCodingSystem_; | ^~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] 329 | CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) | ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:121:25: warning: 'OpenSP::CodingSystemKitImpl::koi8_rCodingSystem_' will be initialized after [-Wreorder] 121 | TranslateCodingSystem koi8_rCodingSystem_; | ^~~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:107:25: warning: 'OpenSP::TranslateCodingSystem OpenSP::CodingSystemKitImpl::eucjpCodingSystem_' [-Wreorder] 107 | TranslateCodingSystem eucjpCodingSystem_; | ^~~~~~~~~~~~~~~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] 329 | CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from CodingSystemKit.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ConsoleOutput.cxx -fPIC -DPIC -o .libs/ConsoleOutput.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ContentState.lo ContentState.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ContentToken.lo ContentToken.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ContentState.cxx -fPIC -DPIC -o .libs/ContentState.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o DescriptorManager.lo DescriptorManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ContentToken.cxx -fPIC -DPIC -o .libs/ContentToken.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/ContentState.h:13: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ../include/ContentState.h:16: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentState.cxx:10: ../include/IListIter.h: At global scope: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ContentToken.cxx:13: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': ContentState.cxx:31:42: required from here 31 | NCVector > tokens(1); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ContentModelAmbiguity]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ContentState.cxx:36:33: required from here 36 | Vector ambiguities; | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.h:47:18: required from 'void OpenSP::Vector::clear() [with T = OpenSP::OpenElementInfo]' 47 | void clear() { erase(ptr_, ptr_ + size_); } | ^~~~~ ContentState.cxx:127:10: required from here 127 | v.clear(); | ~~~~~~~^~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:19: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/ContentToken.h: In constructor 'OpenSP::LeafContentToken::LeafContentToken(const OpenSP::ElementType*, OpenSP::ContentToken::OccurrenceIndicator)': ../include/ContentToken.h:244:22: warning: 'OpenSP::LeafContentToken::element_' will be initialized after [-Wreorder] 244 | const ElementType *element_; | ^~~~~~~~ ContentToken.cxx:116:28: warning: base 'OpenSP::ContentToken' [-Wreorder] 116 | requiredIndex_(size_t(-1)) | ^ ContentToken.cxx:113:1: warning: when initialized here [-Wreorder] 113 | LeafContentToken::LeafContentToken(const ElementType *element, | ^~~~~~~~~~~~~~~~ ContentToken.cxx: In constructor 'OpenSP::GroupInfo::GroupInfo(size_t)': ContentToken.cxx:182:20: warning: 'OpenSP::GroupInfo::nextTypeIndex' will be initialized after [-Wreorder] 182 | Vector nextTypeIndex; | ^~~~~~~~~~~~~ ContentToken.cxx:179:12: warning: 'unsigned int OpenSP::GroupInfo::nextLeafIndex' [-Wreorder] 179 | unsigned nextLeafIndex; | ^~~~~~~~~~~~~ ContentToken.cxx:187:1: warning: when initialized here [-Wreorder] 187 | GroupInfo::GroupInfo(size_t nType) | ^~~~~~~~~ ../include/ContentToken.h: In constructor 'OpenSP::AndState::AndState(unsigned int)': ../include/ContentToken.h:346:25: warning: 'OpenSP::AndState::v_' will be initialized after [-Wreorder] 346 | Vector v_; | ^~ ../include/ContentToken.h:345:12: warning: 'unsigned int OpenSP::AndState::clearFrom_' [-Wreorder] 345 | unsigned clearFrom_; | ^~~~~~~~~~ ContentToken.cxx:581:1: warning: when initialized here [-Wreorder] 581 | AndState::AndState(unsigned n) | ^~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c DescriptorManager.cxx -fPIC -DPIC -o .libs/DescriptorManager.o ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = unsigned int; size_t = long unsigned int]': ContentToken.cxx:188:3: required from here 188 | : nextTypeIndex(nType, 0), nextLeafIndex(0), containsPcdata(0), andStateSize(0) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = unsigned int; size_t = long unsigned int]': ContentToken.cxx:216:50: required from here 216 | Vector minAndDepth(info.nextLeafIndex); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = long unsigned int; size_t = long unsigned int]': ContentToken.cxx:217:53: required from here 217 | Vector elementTransition(nElementTypeIndex); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::FirstSet; size_t = long unsigned int]': ContentToken.cxx:505:39: required from here 505 | Vector firstVec(nMembers()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LastSet; size_t = long unsigned int]': ContentToken.cxx:506:37: required from here 506 | Vector lastVec(nMembers()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': ContentToken.cxx:582:3: required from here 582 | : v_(n, PackedBoolean(0)), clearFrom_(0) | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ContentToken.cxx:11: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from DescriptorManager.cxx:5: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/DescriptorManager.h: In constructor 'OpenSP::DescriptorManager::DescriptorManager(int)': ../include/DescriptorManager.h:42:7: warning: 'OpenSP::DescriptorManager::maxD_' will be initialized after [-Wreorder] 42 | int maxD_; | ^~~~~ ../include/DescriptorManager.h:41:7: warning: 'int OpenSP::DescriptorManager::usedD_' [-Wreorder] 41 | int usedD_; | ^~~~~~ DescriptorManager.cxx:47:1: warning: when initialized here [-Wreorder] 47 | DescriptorManager::DescriptorManager(int maxD) | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ContentToken.cxx:160:25: required from here 160 | havePaddingTemplate_(1) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::ContentModelAmbiguity; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ContentToken.cxx:284:22: required from here 284 | ambiguities.resize(ambiguities.size() + 1); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::FirstSet]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::FirstSet]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ContentToken.cxx:505:39: required from here 505 | Vector firstVec(nMembers()); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::FirstSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:43:14: note: 'class OpenSP::FirstSet' declared here 43 | class SP_API FirstSet { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::LastSet]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::LastSet]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ContentToken.cxx:506:37: required from here 506 | Vector lastVec(nMembers()); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::LastSet' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:58:14: note: 'class OpenSP::LastSet' declared here 58 | class SP_API LastSet : public Vector { | ^~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Dtd.lo Dtd.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o DtdDeclEventHandler.lo DtdDeclEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Dtd.cxx -fPIC -DPIC -o .libs/Dtd.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c DtdDeclEventHandler.cxx -fPIC -DPIC -o .libs/DtdDeclEventHandler.o In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Hash.h:10, from ../include/NamedTable.h:7: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/Dtd.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:13: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/PointerTable.h:18:7: required from here 18 | class PointerTable { | ^~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' 15 | HashTableItem *tem = (HashTableItem *)table_.insert(newItem); | ~~~~~~~~~~~~~^~~~~~~~~ Dtd.cxx:40:24: required from here 40 | shortrefTable_.insert(str, int(shortrefs_.size())); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EUCJPCodingSystem.lo EUCJPCodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ElementType.lo ElementType.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EUCJPCodingSystem.cxx -fPIC -DPIC -o .libs/EUCJPCodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ElementType.cxx -fPIC -DPIC -o .libs/ElementType.o In file included from ../include/Location.h:12, from ../include/ElementType.h:14, from ElementType.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/ElementType.h: In constructor 'OpenSP::ElementType::ElementType(const OpenSP::StringC&, size_t)': ../include/ElementType.h:124:28: warning: 'OpenSP::ElementType::map_' will be initialized after [-Wreorder] 124 | const ShortReferenceMap *map_; | ^~~~ ../include/ElementType.h:122:10: warning: 'size_t OpenSP::ElementType::defIndex_' [-Wreorder] 122 | size_t defIndex_; // index in the group having same definition | ^~~~~~~~~ ElementType.cxx:16:1: warning: when initialized here [-Wreorder] 16 | ElementType::ElementType(const StringC &name, size_t index) | ^~~~~~~~~~~ In file included from ../include/ElementType.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:13: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ElementType.cxx:102:28: required from here 102 | : Named(name), index_(index) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Entity.lo Entity.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EntityApp.lo EntityApp.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Entity.cxx -fPIC -DPIC -o .libs/Entity.o In file included from ../include/Location.h:12, from ../include/Entity.h:13, from Entity.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EntityApp.cxx -fPIC -DPIC -o .libs/EntityApp.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from EntityApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EntityCatalog.lo EntityCatalog.cxx In file included from ParserState.h:25, from Entity.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from EntityApp.cxx:14: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::String; size_t = long unsigned int]': EntityApp.cxx:88:53: required from here 88 | Vector filenames(nFiles == 0 ? 1 : nFiles); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ EntityApp.cxx:88:53: required from here 88 | Vector filenames(nFiles == 0 ? 1 : nFiles); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Entity.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ParserState.h:17: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:17: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: required from here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EntityDecl.lo EntityDecl.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EntityManager.lo EntityManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EntityCatalog.cxx -fPIC -DPIC -o .libs/EntityCatalog.o In file included from ../include/EntityDecl.h:12, from EntityCatalog.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ErrnoMessageArg.lo ErrnoMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EntityManager.cxx -fPIC -DPIC -o .libs/EntityManager.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EntityDecl.cxx -fPIC -DPIC -o .libs/EntityDecl.o In file included from ../include/EntityManager.h:15, from EntityManager.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ErrorCountEventHandler.lo ErrorCountEventHandler.cxx In file included from ../include/EntityDecl.h:12, from EntityDecl.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/EntityDecl.h: In constructor 'OpenSP::EntityDecl::EntityDecl(const OpenSP::StringC&, DeclType, DataType, const OpenSP::Location&)': ../include/EntityDecl.h:50:12: warning: 'OpenSP::EntityDecl::defLocation_' will be initialized after [-Wreorder] 50 | Location defLocation_; | ^~~~~~~~~~~~ ../include/EntityDecl.h:48:17: warning: 'OpenSP::PackedBoolean OpenSP::EntityDecl::dtdIsBase_' [-Wreorder] 48 | PackedBoolean dtdIsBase_; | ^~~~~~~~~~ EntityDecl.cxx:14:1: warning: when initialized here [-Wreorder] 14 | EntityDecl::EntityDecl(const StringC &str, DeclType declType, DataType dataType, | ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Event.lo Event.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ErrnoMessageArg.cxx -fPIC -DPIC -o .libs/ErrnoMessageArg.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o EventGenerator.lo EventGenerator.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ErrorCountEventHandler.cxx -fPIC -DPIC -o .libs/ErrorCountEventHandler.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ExtendEntityManager.lo ExtendEntityManager.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Event.cxx -fPIC -DPIC -o .libs/Event.o In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c EventGenerator.cxx -fPIC -DPIC -o .libs/EventGenerator.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ExtendEntityManager.cxx -fPIC -DPIC -o .libs/ExtendEntityManager.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ExternalId.lo ExternalId.cxx ../include/ErrorCountEventHandler.h: In constructor 'OpenSP::ErrorCountEventHandler::ErrorCountEventHandler(unsigned int)': ../include/ErrorCountEventHandler.h:30:12: warning: 'OpenSP::ErrorCountEventHandler::errorCount_' will be initialized after [-Wreorder] 30 | unsigned errorCount_; | ^~~~~~~~~~~ ../include/ErrorCountEventHandler.h:29:12: warning: 'unsigned int OpenSP::ErrorCountEventHandler::maxErrors_' [-Wreorder] 29 | unsigned maxErrors_; | ^~~~~~~~~~ ErrorCountEventHandler.cxx:14:1: warning: when initialized here [-Wreorder] 14 | ErrorCountEventHandler::ErrorCountEventHandler(unsigned errorLimit) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Event.h: In constructor 'OpenSP::LocatedEvent::LocatedEvent(OpenSP::Event::Type, const OpenSP::Location&)': ../include/Event.h:104:12: warning: 'OpenSP::LocatedEvent::location_' will be initialized after [-Wreorder] 104 | Location location_; | ^~~~~~~~~ Event.cxx:22:34: warning: base 'OpenSP::Event' [-Wreorder] 22 | : location_(location), Event(type) | ^ Event.cxx:21:1: warning: when initialized here [-Wreorder] 21 | LocatedEvent::LocatedEvent(Type type, const Location &location) | ^~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::DataEvent::DataEvent(OpenSP::Event::Type, const OpenSP::Char*, size_t, const OpenSP::Location&)': ../include/Event.h:195:10: warning: 'OpenSP::DataEvent::length_' will be initialized after [-Wreorder] 195 | size_t length_; | ^~~~~~~ Event.cxx:111:53: warning: base 'OpenSP::LocatedEvent' [-Wreorder] 111 | : p_(p),length_(length), LocatedEvent(type, location) | ^ Event.cxx:109:1: warning: when initialized here [-Wreorder] 109 | DataEvent::DataEvent(Type type, const Char *p, size_t length, | ^~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::PiEvent::PiEvent(const OpenSP::Char*, size_t, const OpenSP::Location&)': ../include/Event.h:261:10: warning: 'OpenSP::PiEvent::dataLength_' will be initialized after [-Wreorder] 261 | size_t dataLength_; | ^~~~~~~~~~~ Event.cxx:203:66: warning: base 'OpenSP::LocatedEvent' [-Wreorder] 203 | : data_(data), dataLength_(dataLength), LocatedEvent(pi, location) | ^ Event.cxx:202:1: warning: when initialized here [-Wreorder] 202 | PiEvent::PiEvent(const Char *data, size_t dataLength, const Location &location) | ^~~~~~~ ../include/Event.h: In constructor 'OpenSP::ExternalEntityEvent::ExternalEntityEvent(OpenSP::Event::Type, const OpenSP::ConstPtr&)': ../include/Event.h:296:26: warning: 'OpenSP::ExternalEntityEvent::origin_' will be initialized after [-Wreorder] 296 | ConstPtr origin_; | ^~~~~~~ Event.cxx:232:30: warning: base 'OpenSP::Event' [-Wreorder] 232 | : origin_(origin), Event(type) | ^ Event.cxx:230:1: warning: when initialized here [-Wreorder] 230 | ExternalEntityEvent::ExternalEntityEvent(Type type, | ^~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::ExternalDataEntityEvent::ExternalDataEntityEvent(const OpenSP::ExternalDataEntity*, const OpenSP::ConstPtr&)': ../include/Event.h:308:29: warning: 'OpenSP::ExternalDataEntityEvent::dataEntity_' will be initialized after [-Wreorder] 308 | const ExternalDataEntity *dataEntity_; | ^~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::EntityManagerImpl::EntityManagerImpl(OpenSP::StorageManager*, const OpenSP::InputCodingSystem*, const OpenSP::ConstPtr&, OpenSP::Boolean)': ExtendEntityManager.cxx:116:34: warning: 'OpenSP::EntityManagerImpl::codingSystemKit_' will be initialized after [-Wreorder] 116 | ConstPtr codingSystemKit_; | ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:115:11: warning: 'OpenSP::Boolean OpenSP::EntityManagerImpl::internalCharsetIsDocCharset_' [-Wreorder] 115 | Boolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:291:1: warning: when initialized here [-Wreorder] 291 | EntityManagerImpl::EntityManagerImpl(StorageManager *defaultStorageManager, | ^~~~~~~~~~~~~~~~~ Event.cxx:238:70: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] 238 | : dataEntity_(entity), ExternalEntityEvent(externalDataEntity, origin) | ^ Event.cxx:236:1: warning: when initialized here [-Wreorder] 236 | ExternalDataEntityEvent::ExternalDataEntityEvent(const ExternalDataEntity *entity, | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::SubdocEntityEvent::SubdocEntityEvent(const OpenSP::SubdocEntity*, const OpenSP::ConstPtr&)': ../include/Event.h:320:23: warning: 'OpenSP::SubdocEntityEvent::subdocEntity_' will be initialized after [-Wreorder] 320 | const SubdocEntity *subdocEntity_; | ^~~~~~~~~~~~~ Event.cxx:244:66: warning: base 'OpenSP::ExternalEntityEvent' [-Wreorder] 244 | : subdocEntity_(entity), ExternalEntityEvent(subdocEntity, origin) | ^ Event.cxx:242:1: warning: when initialized here [-Wreorder] 242 | SubdocEntityEvent::SubdocEntityEvent(const SubdocEntity *entity, | ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::UnbufferingStorageObject::UnbufferingStorageObject(OpenSP::StorageObject*, const OpenSP::Boolean*)': ExtendEntityManager.cxx:535:9: warning: 'OpenSP::UnbufferingStorageObject::buf_' will be initialized after [-Wreorder] 535 | char *buf_; | ^~~~ ExtendEntityManager.cxx:533:10: warning: 'size_t OpenSP::UnbufferingStorageObject::bufAvail_' [-Wreorder] 533 | size_t bufAvail_; | ^~~~~~~~~ ExtendEntityManager.cxx:505:3: warning: when initialized here [-Wreorder] 505 | UnbufferingStorageObject(StorageObject *sub, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::UsemapEvent::UsemapEvent(const OpenSP::ShortReferenceMap*, OpenSP::Vector&, const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:381:28: warning: 'OpenSP::UsemapEvent::map_' will be initialized after [-Wreorder] 381 | const ShortReferenceMap *map_; | ^~~~ ../include/Event.h:379:17: warning: 'OpenSP::ConstPtr OpenSP::UsemapEvent::dtd_' [-Wreorder] 379 | ConstPtr dtd_; | ^~~~ Event.cxx:275:1: warning: when initialized here [-Wreorder] 275 | UsemapEvent::UsemapEvent(const ShortReferenceMap *map, | ^~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::StartSubsetEvent::StartSubsetEvent(OpenSP::Event::Type, const OpenSP::StringC&, const OpenSP::ConstPtr&, OpenSP::Boolean, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:400:11: warning: 'OpenSP::StartSubsetEvent::hasInternalSubset_' will be initialized after [-Wreorder] 400 | Boolean hasInternalSubset_; | ^~~~~~~~~~~~~~~~~~ Event.cxx:294:32: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 294 | MarkupEvent(type, loc, markup) | ^ Event.cxx:287:1: warning: when initialized here [-Wreorder] 287 | StartSubsetEvent::StartSubsetEvent(Type type, | ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::ExternalInputSource::ExternalInputSource(OpenSP::ParsedSystemId&, const OpenSP::CharsetInfo&, const OpenSP::CharsetInfo&, OpenSP::Boolean, OpenSP::Char, OpenSP::InputSourceOrigin*, unsigned int)': ExtendEntityManager.cxx:189:11: warning: 'OpenSP::ExternalInputSource::mayNotExist_' will be initialized after [-Wreorder] 189 | Boolean mayNotExist_; | ^~~~~~~~~~~~ ExtendEntityManager.cxx:180:35: warning: 'OpenSP::NCVector > OpenSP::ExternalInputSource::sov_' [-Wreorder] 180 | NCVector > sov_; | ^~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] 576 | ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, | ^~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:200:11: warning: 'OpenSP::ExternalInputSource::internalCharsetIsDocCharset_' will be initialized after [-Wreorder] 200 | Boolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:188:11: warning: 'OpenSP::Boolean OpenSP::ExternalInputSource::maySetDocCharset_' [-Wreorder] 188 | Boolean maySetDocCharset_; | ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:576:1: warning: when initialized here [-Wreorder] 576 | ExternalInputSource::ExternalInputSource(ParsedSystemId &parsedSysid, | ^~~~~~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::SgmlDeclEvent::SgmlDeclEvent(const OpenSP::ConstPtr&, const OpenSP::ConstPtr&)': ../include/Event.h:515:9: warning: 'OpenSP::SgmlDeclEvent::nextIndex_' will be initialized after [-Wreorder] 515 | Index nextIndex_; | ^~~~~~~~~~ Event.cxx:353:38: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 353 | nextIndex_(0), MarkupEvent(sgmlDecl) | ^ Event.cxx:349:1: warning: when initialized here [-Wreorder] 349 | SgmlDeclEvent::SgmlDeclEvent(const ConstPtr &sd, | ^~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Fixed2CodingSystem.lo Fixed2CodingSystem.cxx ../include/Event.h: In constructor 'OpenSP::SgmlDeclEvent::SgmlDeclEvent(const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, const OpenSP::ConstPtr&, OpenSP::Index, const OpenSP::StringC&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:516:11: warning: 'OpenSP::SgmlDeclEvent::implySystemId_' will be initialized after [-Wreorder] 516 | StringC implySystemId_; | ^~~~~~~~~~~~~~ Event.cxx:369:36: warning: base 'OpenSP::MarkupEvent' [-Wreorder] 369 | MarkupEvent(sgmlDecl, loc, markup) | ^ Event.cxx:357:1: warning: when initialized here [-Wreorder] 357 | SgmlDeclEvent::SgmlDeclEvent(const ConstPtr &sd, | ^~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::IgnoredReEvent::IgnoredReEvent(OpenSP::Char, const OpenSP::Location&, long unsigned int)': ../include/Event.h:558:8: warning: 'OpenSP::IgnoredReEvent::c_' will be initialized after [-Wreorder] 558 | Char c_; | ^~ ../include/Event.h:557:17: warning: 'long unsigned int OpenSP::IgnoredReEvent::serial_' [-Wreorder] 557 | unsigned long serial_; | ^~~~~~~ Event.cxx:390:1: warning: when initialized here [-Wreorder] 390 | IgnoredReEvent::IgnoredReEvent(Char c, const Location &location, | ^~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::ReOriginEvent::ReOriginEvent(OpenSP::Char, const OpenSP::Location&, long unsigned int)': ../include/Event.h:581:8: warning: 'OpenSP::ReOriginEvent::c_' will be initialized after [-Wreorder] 581 | Char c_; | ^~ ../include/Event.h:580:17: warning: 'long unsigned int OpenSP::ReOriginEvent::serial_' [-Wreorder] 580 | unsigned long serial_; | ^~~~~~~ Event.cxx:398:1: warning: when initialized here [-Wreorder] 398 | ReOriginEvent::ReOriginEvent(Char c, const Location &location, | ^~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::EntityDeclEvent::EntityDeclEvent(const OpenSP::ConstPtr&, OpenSP::Boolean, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:658:20: warning: 'OpenSP::EntityDeclEvent::entity_' will be initialized after [-Wreorder] 658 | ConstPtr entity_; | ^~~~~~~ ../include/Event.h:656:11: warning: 'OpenSP::Boolean OpenSP::EntityDeclEvent::ignored_' [-Wreorder] 656 | Boolean ignored_; | ^~~~~~~~ Event.cxx:443:1: warning: when initialized here [-Wreorder] 443 | EntityDeclEvent:: EntityDeclEvent(const ConstPtr &entity, | ^~~~~~~~~~~~~~~ ../include/Event.h: In constructor 'OpenSP::LinkDeclEvent::LinkDeclEvent(const OpenSP::LinkSet*, const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Markup*)': ../include/Event.h:747:24: warning: 'OpenSP::LinkDeclEvent::lpd_' will be initialized after [-Wreorder] 747 | ConstPtr lpd_; | ^~~~ ../include/Event.h:746:18: warning: 'const OpenSP::LinkSet* OpenSP::LinkDeclEvent::linkSet_' [-Wreorder] 746 | const LinkSet *linkSet_; | ^~~~~~~~ Event.cxx:495:1: warning: when initialized here [-Wreorder] 495 | LinkDeclEvent::LinkDeclEvent(const LinkSet *linkSet, | ^~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::ExternalInfoImpl::ExternalInfoImpl(OpenSP::ParsedSystemId&)': ExtendEntityManager.cxx:137:10: warning: 'OpenSP::ExternalInfoImpl::currentIndex_' will be initialized after [-Wreorder] 137 | size_t currentIndex_; | ^~~~~~~~~~~~~ ExtendEntityManager.cxx:136:35: warning: 'OpenSP::NCVector OpenSP::ExternalInfoImpl::position_' [-Wreorder] 136 | NCVector position_; | ^~~~~~~~~ ExtendEntityManager.cxx:1102:1: warning: when initialized here [-Wreorder] 1102 | ExternalInfoImpl::ExternalInfoImpl(ParsedSystemId &parsedSysid) | ^~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h: In constructor 'OpenSP::StorageObjectSpec::StorageObjectSpec()': ../include/ExtendEntityManager.h:36:28: warning: 'OpenSP::StorageObjectSpec::codingSystem' will be initialized after [-Wreorder] 36 | const InputCodingSystem *codingSystem; | ^~~~~~~~~~~~ ../include/ExtendEntityManager.h:35:15: warning: 'const char* OpenSP::StorageObjectSpec::codingSystemName' [-Wreorder] 35 | const char *codingSystemName; | ^~~~~~~~~~~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] 1234 | StorageObjectSpec::StorageObjectSpec() | ^~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:47:17: warning: 'OpenSP::StorageObjectSpec::notrack' will be initialized after [-Wreorder] 47 | PackedBoolean notrack; | ^~~~~~~ ../include/ExtendEntityManager.h:46:11: warning: 'OpenSP::StorageObjectSpec::Records OpenSP::StorageObjectSpec::records' [-Wreorder] 46 | Records records; | ^~~~~~~ ExtendEntityManager.cxx:1234:1: warning: when initialized here [-Wreorder] 1234 | StorageObjectSpec::StorageObjectSpec() | ^~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:20: StorageObjectPosition.h: In constructor 'OpenSP::StorageObjectPosition::StorageObjectPosition()': StorageObjectPosition.h:27:10: warning: 'OpenSP::StorageObjectPosition::endOffset' will be initialized after [-Wreorder] 27 | Offset endOffset; | ^~~~~~~~~ StorageObjectPosition.h:21:10: warning: 'size_t OpenSP::StorageObjectPosition::line1RS' [-Wreorder] 21 | size_t line1RS; | ^~~~~~~ ExtendEntityManager.cxx:1275:1: warning: when initialized here [-Wreorder] 1275 | StorageObjectPosition::StorageObjectPosition() | ^~~~~~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::FSIParser::FSIParser(const OpenSP::StringC&, const OpenSP::CharsetInfo&, OpenSP::Boolean, const OpenSP::StorageObjectLocation*, const OpenSP::EntityManagerImpl*, OpenSP::Messenger&)': ExtendEntityManager.cxx:244:11: warning: 'OpenSP::FSIParser::isNdata_' will be initialized after [-Wreorder] 244 | Boolean isNdata_; | ^~~~~~~~ ExtendEntityManager.cxx:241:28: warning: 'const OpenSP::StorageObjectSpec* OpenSP::FSIParser::defSpec_' [-Wreorder] 241 | const StorageObjectSpec *defSpec_; | ^~~~~~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx:242:18: warning: 'OpenSP::FSIParser::defId_' will be initialized after [-Wreorder] 242 | const StringC *defId_; | ^~~~~~ ExtendEntityManager.cxx:240:28: warning: 'const OpenSP::EntityManagerImpl* OpenSP::FSIParser::em_' [-Wreorder] 240 | const EntityManagerImpl *em_; | ^~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx:240:28: warning: 'OpenSP::FSIParser::em_' will be initialized after [-Wreorder] 240 | const EntityManagerImpl *em_; | ^~~ ExtendEntityManager.cxx:239:14: warning: 'OpenSP::Messenger& OpenSP::FSIParser::mgr_' [-Wreorder] 239 | Messenger &mgr_; | ^~~~ ExtendEntityManager.cxx:1280:1: warning: when initialized here [-Wreorder] 1280 | FSIParser::FSIParser(const StringC &str, | ^~~~~~~~~ ExtendEntityManager.cxx: In member function 'OpenSP::Boolean OpenSP::FSIParser::matchChar(OpenSP::Xchar, char)': ExtendEntityManager.cxx:1324:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1324 | return ch == idCharset_.execToDesc(execC); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ExtendEntityManager.cxx: In member function 'OpenSP::Boolean OpenSP::FSIParser::parseAttribute(OpenSP::StringC&, OpenSP::Boolean&, OpenSP::StringC&)': ExtendEntityManager.cxx:1962:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1962 | if (c == lit) | ~~^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]': ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::OpenElementInfo]': ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::ParsedSystemId::Map; size_t = long unsigned int]': ExtendEntityManager.cxx:386:28: required from here 386 | parsedSysid.maps.insert(parsedSysid.maps.begin(), 1, map); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ In file included from ../include/NCVector.h:12, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': ExtendEntityManager.cxx:586:3: required from here 586 | sov_(parsedSysid.size()), | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::CopyOwner]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14, from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::OpenElementInfo]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::OpenElementInfo]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Message.h:165:14: required from here 165 | class SP_API Message { | ^~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Event.cxx:337:57: required from here 337 | : LocatedEvent(endProlog, location), dtd_(dtd), lpd_(lpd) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]': ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]': ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Event.cxx:480:47: required from here 480 | : MarkupEvent(attlistNotationDecl, loc, markup) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::StorageObjectPosition; size_t = long unsigned int]': ExtendEntityManager.cxx:1103:21: required from here 1103 | : currentIndex_(0), position_(parsedSysid.size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::NCVector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ExternalId.cxx -fPIC -DPIC -o .libs/ExternalId.o In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ExtendEntityManager.cxx:298:59: required from here 298 | internalCharsetIsDocCharset_(internalCharsetIsDocCharset) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16, from ../include/ExtendEntityManager.h:18: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::StorageObjectSpec]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ParsedSystemId::Map]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ExtendEntityManager.cxx:586:3: required from here 586 | sov_(parsedSysid.size()), | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::StorageObjectPosition]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::StorageObjectPosition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ExtendEntityManager.cxx:1103:21: required from here 1103 | : currentIndex_(0), position_(parsedSysid.size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectPosition' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ StorageObjectPosition.h:17:8: note: 'struct OpenSP::StorageObjectPosition' declared here 17 | struct StorageObjectPosition { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ OffsetOrderedList.h:26:7: required from here 26 | class OffsetOrderedList { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ExternalId.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Text.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Fixed2CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed2CodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o GenericEventHandler.lo GenericEventHandler.cxx ExternalId.cxx: In member function 'OpenSP::PublicId::initUrn(OpenSP::String const&, OpenSP::CharsetInfo const&, unsigned int, OpenSP::MessageType1 const*&)': ExternalId.cxx:143:5: warning: 'percent' may be used uninitialized [-Wmaybe-uninitialized] 143 | if (c == percent) { | ^~ ExternalId.cxx:97:12: note: 'percent' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~~ ExternalId.cxx:172:8: warning: 'lparen' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:21: note: 'lparen' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:172:26: warning: 'rparen' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:29: note: 'rparen' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:172:44: warning: 'plus' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:97:37: note: 'plus' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~ ExternalId.cxx:172:60: warning: 'comma' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:97:43: note: 'comma' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:118:7: warning: 'minus' may be used uninitialized [-Wmaybe-uninitialized] 117 | if (!charset.descToUniv(fieldStart[i], c) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 118 | || ((!(c == minus) || i == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | && !(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 121 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:97:50: note: 'minus' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:173:25: warning: 'period' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:97:57: note: 'period' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~~ ExternalId.cxx:173:43: warning: 'colon' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:97:65: note: 'colon' was declared here 97 | UnivChar percent, lparen, rparen, plus, comma, minus, period, colon; | ^~~~~ ExternalId.cxx:173:60: warning: 'equal' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:98:12: note: 'equal' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~ ExternalId.cxx:174:8: warning: 'at' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ^~~~~~~~~~~~~ ExternalId.cxx:98:19: note: 'at' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~ ExternalId.cxx:174:22: warning: 'semicolon' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ExternalId.cxx:98:23: note: 'semicolon' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~~~~~ ExternalId.cxx:174:43: warning: 'dollar' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ExternalId.cxx:98:34: note: 'dollar' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~~ ExternalId.cxx:174:61: warning: 'uline' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ExternalId.cxx:98:42: note: 'uline' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~~ ExternalId.cxx:175:8: warning: 'bang' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ^~~~~~~~~~~~~~~ ExternalId.cxx:98:49: note: 'bang' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ ExternalId.cxx:175:24: warning: 'star' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:98:55: note: 'star' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ ExternalId.cxx:175:40: warning: 'apos' may be used uninitialized [-Wmaybe-uninitialized] 169 | if (!(c >= UnivCharsetDesc::a && c < UnivCharsetDesc::a + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | && !(c >= UnivCharsetDesc::A && c < UnivCharsetDesc::A + 26) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | && !(c >= UnivCharsetDesc::zero && c < UnivCharsetDesc::zero + 10) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | && !(c == lparen) && !(c == rparen) && !(c == plus) && !(c == comma) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | && !(c == minus) && !(c == period) && !(c == colon) && !(c == equal) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | && !(c == at) && !(c == semicolon) && !(c == dollar) && !(c == uline) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | && !(c == bang) && !(c == star) && !(c == apos)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ExternalId.cxx:98:61: note: 'apos' was declared here 98 | UnivChar equal, at, semicolon, dollar, uline, bang, star, apos; | ^~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Group.lo Group.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c GenericEventHandler.cxx -fPIC -DPIC -o .libs/GenericEventHandler.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Hash.lo Hash.cxx In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Group.cxx -fPIC -DPIC -o .libs/Group.o In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Group.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/GenericEventHandler.h: In constructor 'OpenSP::GenericEventHandler::GenericEventHandler(SGMLApplication&, bool)': ../include/GenericEventHandler.h:77:20: warning: 'OpenSP::GenericEventHandler::app_' will be initialized after [-Wreorder] 77 | SGMLApplication *app_; | ^~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/GenericEventHandler.h:76:8: warning: 'bool OpenSP::GenericEventHandler::generalEntities_' [-Wreorder] 76 | bool generalEntities_; | ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:76:8: warning: 'OpenSP::GenericEventHandler::generalEntities_' will be initialized after [-Wreorder] 76 | bool generalEntities_; | ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:74:10: warning: 'OpenSP::GenericEventHandler::Block* OpenSP::GenericEventHandler::freeBlocks_' [-Wreorder] 74 | Block *freeBlocks_; | ^~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:75:10: warning: 'OpenSP::GenericEventHandler::allocBlocks_' will be initialized after [-Wreorder] 75 | Block *allocBlocks_; | ^~~~~~~~~~~~ ../include/GenericEventHandler.h:73:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockSpare_' [-Wreorder] 73 | size_t firstBlockSpare_; | ^~~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:73:10: warning: 'OpenSP::GenericEventHandler::firstBlockSpare_' will be initialized after [-Wreorder] 73 | size_t firstBlockSpare_; | ^~~~~~~~~~~~~~~~ ../include/GenericEventHandler.h:72:10: warning: 'size_t OpenSP::GenericEventHandler::firstBlockUsed_' [-Wreorder] 72 | size_t firstBlockUsed_; | ^~~~~~~~~~~~~~~ GenericEventHandler.cxx:49:1: warning: when initialized here [-Wreorder] 49 | GenericEventHandler::GenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Group.h:24:16: required from here 24 | GroupToken() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ ../include/GenericEventHandler.h: In constructor 'OpenSP::MsgGenericEventHandler::MsgGenericEventHandler(SGMLApplication&, bool, OpenSP::MessageReporter&, const bool*)': ../include/GenericEventHandler.h:106:20: warning: 'OpenSP::MsgGenericEventHandler::reporter_' will be initialized after [-Wreorder] 106 | MessageReporter *reporter_; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Hash.cxx -fPIC -DPIC -o .libs/Hash.o ../include/GenericEventHandler.h:105:15: warning: 'const bool* OpenSP::MsgGenericEventHandler::messagesInhibitedPtr_' [-Wreorder] 105 | const bool *messagesInhibitedPtr_; | ^~~~~~~~~~~~~~~~~~~~~ GenericEventHandler.cxx:743:1: warning: when initialized here [-Wreorder] 743 | MsgGenericEventHandler::MsgGenericEventHandler(SGMLApplication &app, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o IListBase.lo IListBase.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c IListBase.cxx -fPIC -DPIC -o .libs/IListBase.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Id.lo Id.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o IdentityCodingSystem.lo IdentityCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Id.cxx -fPIC -DPIC -o .libs/Id.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c IdentityCodingSystem.cxx -fPIC -DPIC -o .libs/IdentityCodingSystem.o In file included from ../include/Location.h:12, from Id.h:12, from Id.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Id.cxx:16:13: required from here 16 | : Named(name) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o InputSource.lo InputSource.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o InternalInputSource.lo InternalInputSource.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c InputSource.cxx -fPIC -DPIC -o .libs/InputSource.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Link.lo Link.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c InternalInputSource.cxx -fPIC -DPIC -o .libs/InternalInputSource.o In file included from ../include/InputSource.h:12, from InputSource.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/InputSource.h: In constructor 'OpenSP::InputSource::InputSource(OpenSP::InputSourceOrigin*, const OpenSP::Char*, const OpenSP::Char*)': ../include/InputSource.h:82:26: warning: 'OpenSP::InputSource::origin_' will be initialized after [-Wreorder] 82 | Ptr origin_; | ^~~~~~~ ../include/InputSource.h:79:15: warning: 'const OpenSP::Char* OpenSP::InputSource::start_' [-Wreorder] 79 | const Char *start_; | ^~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:80:15: warning: 'OpenSP::InputSource::end_' will be initialized after [-Wreorder] 80 | const Char *end_; | ^~~~ ../include/InputSource.h:78:15: warning: 'const OpenSP::Char* OpenSP::InputSource::cur_' [-Wreorder] 78 | const Char *cur_; | ^~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:83:11: warning: 'OpenSP::InputSource::accessError_' will be initialized after [-Wreorder] 83 | Boolean accessError_; | ^~~~~~~~~~~~ ../include/InputSource.h:81:12: warning: 'OpenSP::Location OpenSP::InputSource::startLocation_' [-Wreorder] 81 | Location startLocation_; | ^~~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ ../include/InputSource.h:87:11: warning: 'OpenSP::InputSource::multicode_' will be initialized after [-Wreorder] 87 | Boolean multicode_; | ^~~~~~~~~~ ../include/InputSource.h:84:11: warning: 'OpenSP::Boolean OpenSP::InputSource::scanSuppress_' [-Wreorder] 84 | Boolean scanSuppress_; | ^~~~~~~~~~~~~ InputSource.cxx:15:1: warning: when initialized here [-Wreorder] 15 | InputSource::InputSource(InputSourceOrigin *origin, const Char *start, | ^~~~~~~~~~~ In file included from ../include/InputSource.h:12, from ../include/InternalInputSource.h:11, from InternalInputSource.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o LinkProcess.lo LinkProcess.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Link.cxx -fPIC -DPIC -o .libs/Link.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o LiteralStorage.lo LiteralStorage.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Location.lo Location.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c LinkProcess.cxx -fPIC -DPIC -o .libs/LinkProcess.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c LiteralStorage.cxx -fPIC -DPIC -o .libs/LiteralStorage.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Lpd.lo Lpd.cxx In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Location.cxx -fPIC -DPIC -o .libs/Location.o In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/LiteralStorage.h:10, from LiteralStorage.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Lpd.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from Location.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/LinkProcess.h:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Location.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Markup.lo Markup.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Message.lo Message.cxx ../include/Location.h: In constructor 'OpenSP::BracketOrigin::BracketOrigin(const OpenSP::Location&, Position)': ../include/Location.h:152:12: warning: 'OpenSP::BracketOrigin::loc_' will be initialized after [-Wreorder] 152 | Location loc_; | ^~~~ ../include/Location.h:151:12: warning: 'OpenSP::BracketOrigin::Position OpenSP::BracketOrigin::pos_' [-Wreorder] 151 | Position pos_; | ^~~~ Location.cxx:183:1: warning: when initialized here [-Wreorder] 183 | BracketOrigin::BracketOrigin(const Location &loc, Position pos) | ^~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:361:1: warning: when initialized here [-Wreorder] 361 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity) | ^~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&, const OpenSP::Location&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:366:1: warning: when initialized here [-Wreorder] 366 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity, | ^~~~~~~~~~~~~~~~ Location.cxx: In constructor 'OpenSP::EntityOriginImpl::EntityOriginImpl(const OpenSP::ConstPtr&, const OpenSP::Location&, OpenSP::Index, OpenSP::Owner&)': Location.cxx:75:9: warning: 'OpenSP::EntityOriginImpl::refLength_' will be initialized after [-Wreorder] 75 | Index refLength_; | ^~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ Location.cxx:372:1: warning: when initialized here [-Wreorder] 372 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity, | ^~~~~~~~~~~~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Lpd.cxx -fPIC -DPIC -o .libs/Lpd.o In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ LinkProcess.cxx:18:26: required from here 18 | LinkProcess::LinkProcess() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Lpd.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Markup.cxx -fPIC -DPIC -o .libs/Markup.o ../include/Lpd.h: In constructor 'OpenSP::Lpd::Lpd(const OpenSP::StringC&, Type, const OpenSP::Location&, const OpenSP::Ptr&)': ../include/Lpd.h:55:35: warning: 'OpenSP::Lpd::name_' will be initialized after [-Wreorder] 55 | ConstPtr > name_; | ^~~~~ ../include/Lpd.h:51:8: warning: 'OpenSP::Lpd::Type OpenSP::Lpd::type_' [-Wreorder] 51 | Type type_; | ^~~~~ Lpd.cxx:14:1: warning: when initialized here [-Wreorder] 14 | Lpd::Lpd(const StringC &name, Type type, const Location &location, | ^~~ ../include/Lpd.h: In constructor 'OpenSP::ComplexLpd::ComplexLpd(const OpenSP::StringC&, OpenSP::Lpd::Type, const OpenSP::Location&, const OpenSP::Syntax&, const OpenSP::Ptr&, const OpenSP::Ptr&)': ../include/Lpd.h:191:10: warning: 'OpenSP::ComplexLpd::nAttributeDefinitionList_' will be initialized after [-Wreorder] 191 | size_t nAttributeDefinitionList_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:187:11: warning: 'OpenSP::LinkSet OpenSP::ComplexLpd::initialLinkSet_' [-Wreorder] 187 | LinkSet initialLinkSet_; | ^~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] 149 | ComplexLpd::ComplexLpd(const StringC &name, Type type, | ^~~~~~~~~~ ../include/Lpd.h:188:11: warning: 'OpenSP::ComplexLpd::emptyLinkSet_' will be initialized after [-Wreorder] 188 | LinkSet emptyLinkSet_; | ^~~~~~~~~~~~~ ../include/Lpd.h:185:46: warning: 'OpenSP::Vector > OpenSP::ComplexLpd::linkAttributeDefs_' [-Wreorder] 185 | Vector > linkAttributeDefs_; | ^~~~~~~~~~~~~~~~~~ Lpd.cxx:149:1: warning: when initialized here [-Wreorder] 149 | ComplexLpd::ComplexLpd(const StringC &name, Type type, | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Message.cxx -fPIC -DPIC -o .libs/Message.o In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::Vector >; size_t = long unsigned int]': Lpd.cxx:77:29: required from here 77 | : Named(name), defined_(0), linkRules_(dtd ? dtd->nElementTypeIndex() : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector > >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector > >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': Lpd.cxx:160:3: required from here 160 | linkAttributeDefs_(sourceDtd.isNull() ? 0 : sourceDtd->nElementTypeIndex()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from Message.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector >]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector >]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Lpd.cxx:77:29: required from here 77 | : Named(name), defined_(0), linkRules_(dtd ? dtd->nElementTypeIndex() : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Vector >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: 'class OpenSP::Vector >' declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ResultElementSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ResultElementSpec]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Lpd.cxx:77:74: required from here 77 | : Named(name), defined_(0), linkRules_(dtd ? dtd->nElementTypeIndex() : 0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ResultElementSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:27:15: note: 'struct OpenSP::ResultElementSpec' declared here 27 | struct SP_API ResultElementSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::Attribute]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: required from here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::IdLinkRule]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::IdLinkRule]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Lpd.cxx:139:13: required from here 139 | : Named(name) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::IdLinkRule' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Lpd.h:124:14: note: 'class OpenSP::IdLinkRule' declared here 124 | class SP_API IdLinkRule : public SourceLinkRule { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Lpd.cxx:160:3: required from here 160 | linkAttributeDefs_(sourceDtd.isNull() ? 0 : sourceDtd->nElementTypeIndex()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Message.h: In constructor 'OpenSP::MessageFragment::MessageFragment(const OpenSP::MessageModule*, unsigned int, const char*)': ../include/Message.h:52:15: warning: 'OpenSP::MessageFragment::text_' will be initialized after [-Wreorder] 52 | const char *text_; | ^~~~~ ../include/Message.h:46:18: warning: 'short unsigned int OpenSP::MessageFragment::number_' [-Wreorder] 46 | unsigned short number_; | ^~~~~~~ Message.cxx:16:1: warning: when initialized here [-Wreorder] 16 | MessageFragment::MessageFragment(const MessageModule *module, unsigned number, const char * | ^~~~~~~~~~~~~~~ ../include/Message.h: In constructor 'OpenSP::MessageType::MessageType(Severity, const OpenSP::MessageModule*, unsigned int, const char*, const char*, const char*)': ../include/Message.h:77:15: warning: 'OpenSP::MessageType::auxText_' will be initialized after [-Wreorder] 77 | const char *auxText_; | ^~~~~~~~ Message.cxx:46:39: warning: base 'OpenSP::MessageFragment' [-Wreorder] 46 | MessageFragment(module, number, text) | ^ Message.cxx:31:1: warning: when initialized here [-Wreorder] 31 | MessageType::MessageType(Severity severity, const MessageModule *module, unsigned number, | ^~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': Message.cxx:142:3: required from here 142 | : args(nArgs) | ^~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Vector.cxx:132:17: required from 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector >]' 132 | ((X *)p)->~X(); | ~~~~~~~~~~~~^~ ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Vector >]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Lpd.cxx:77:29: required from here 77 | : Named(name), defined_(0), linkRules_(dtd ? dtd->nElementTypeIndex() : 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Message.cxx:137:18: required from here 137 | Message::Message() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:14: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::OpenElementInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::OpenElementInfo]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Message.cxx:137:18: required from here 137 | Message::Message() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::OpenElementInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SdTextItem]': ../include/SdText.h:30:14: required from here 30 | class SP_API SdText { | ^~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Markup.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15, from Markup.cxx:13: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/SdText.h:30:14: required from here 30 | class SP_API SdText { | ^~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:16: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Sd.h:14: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SdTextItem]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SdText.h:30:14: required from here 30 | class SP_API SdText { | ^~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MessageArg.lo MessageArg.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MessageEventHandler.lo MessageEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c MessageArg.cxx -fPIC -DPIC -o .libs/MessageArg.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from ParserMessages.h:8, from MessageArg.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/MessageArg.h:11, from MessageArg.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': MessageArg.cxx:82:3: required from here 82 | : v_(v) | ^~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MessageArg.cxx:82:3: required from here 82 | : v_(v) | ^~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/MessageArg.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ MessageArg.cxx:82:3: required from here 82 | : v_(v) | ^~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MessageFormatter.lo MessageFormatter.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c MessageEventHandler.cxx -fPIC -DPIC -o .libs/MessageEventHandler.o In file included from ../include/Location.h:12, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MessageReporter.lo MessageReporter.cxx In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MessageTable.lo MessageTable.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c MessageFormatter.cxx -fPIC -DPIC -o .libs/MessageFormatter.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from MessageFormatter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c MessageReporter.cxx -fPIC -DPIC -o .libs/MessageReporter.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c MessageTable.cxx -fPIC -DPIC -o .libs/MessageTable.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from MessageReporter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ModeInfo.lo ModeInfo.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Notation.lo Notation.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageTable.h:11, from MessageTable.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ MessageReporter.cxx: In constructor 'OpenSP::XMLMessageReporter::XMLMessageReporter(OpenSP::OutputCharStream*)': MessageReporter.cxx:31:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 31 | if ( fmt ) | ^ MessageReporter.cxx: In member function 'virtual void OpenSP::XMLMessageReporter::printLocation(const OpenSP::ExternalInfo*, OpenSP::Offset)': MessageReporter.cxx:372:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 372 | for (int i=0; i::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o NotationStorage.lo NotationStorage.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o NumericCharRefOrigin.lo NumericCharRefOrigin.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o OffsetOrderedList.lo OffsetOrderedList.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ModeInfo.cxx -fPIC -DPIC -o .libs/ModeInfo.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Notation.cxx -fPIC -DPIC -o .libs/Notation.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c NotationStorage.cxx -fPIC -DPIC -o .libs/NotationStorage.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c NumericCharRefOrigin.cxx -fPIC -DPIC -o .libs/NumericCharRefOrigin.o In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from ModeInfo.cxx:12: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c OffsetOrderedList.cxx -fPIC -DPIC -o .libs/OffsetOrderedList.o In file included from ../include/Location.h:12, from NumericCharRefOrigin.h:8, from NumericCharRefOrigin.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ModeInfo.cxx:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/NotationStorage.h:10, from NotationStorage.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Markup.h:12, from NumericCharRefOrigin.h:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:51, from OffsetOrderedList.h:9, from OffsetOrderedList.cxx:5: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ OffsetOrderedList.cxx:13:42: required from here 13 | : blockUsed_(OffsetOrderedListBlock::size) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OffsetOrderedList.h:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o OpenElement.lo OpenElement.cxx ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17, from Notation.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o OutputByteStream.lo OutputByteStream.cxx In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o OutputCharStream.lo OutputCharStream.cxx In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o OutputState.lo OutputState.cxx ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Notation.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::TextItem]' 49 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Text.h:55:14: required from here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c OpenElement.cxx -fPIC -DPIC -o .libs/OpenElement.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c OutputByteStream.cxx -fPIC -DPIC -o .libs/OutputByteStream.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Param.lo Param.cxx ../include/OpenElement.h: In constructor 'OpenSP::OpenElement::OpenElement(const OpenSP::ElementType*, OpenSP::Boolean, OpenSP::Boolean, const OpenSP::ShortReferenceMap*, const OpenSP::Location&)': ../include/OpenElement.h:66:12: warning: 'OpenSP::OpenElement::startLocation_' will be initialized after [-Wreorder] 66 | Location startLocation_; | ^~~~~~~~~~~~~~ ../include/OpenElement.h:64:38: warning: 'OpenSP::ElementDefinition::DeclaredContent OpenSP::OpenElement::declaredContent_' [-Wreorder] 64 | ElementDefinition::DeclaredContent declaredContent_; | ^~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c OutputCharStream.cxx -fPIC -DPIC -o .libs/OutputCharStream.o OpenElement.cxx:14:1: warning: when initialized here [-Wreorder] 14 | OpenElement::OpenElement(const ElementType *type, | ^~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c OutputState.cxx -fPIC -DPIC -o .libs/OutputState.o In file included from OutputCharStream.cxx:5: ../include/OutputCharStream.h: In constructor 'OpenSP::EncodeOutputCharStream::EncodeOutputCharStream(OpenSP::OutputByteStream*, const OpenSP::OutputCodingSystem*)': ../include/OutputCharStream.h:67:11: warning: 'OpenSP::EncodeOutputCharStream::escaper_' will be initialized after [-Wreorder] 67 | Escaper escaper_; | ^~~~~~~~ ../include/OutputCharStream.h:66:18: warning: 'OpenSP::Owner OpenSP::EncodeOutputCharStream::ownedEncoder_' [-Wreorder] 66 | Owner ownedEncoder_; | ^~~~~~~~~~~~~ OutputCharStream.cxx:76:1: warning: when initialized here [-Wreorder] 76 | EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/OutputCharStream.h: In constructor 'OpenSP::EncodeOutputCharStream::EncodeOutputCharStream(OpenSP::OutputByteStream*, OpenSP::Encoder*)': ../include/OutputCharStream.h:67:11: warning: 'OpenSP::EncodeOutputCharStream::escaper_' will be initialized after [-Wreorder] 67 | Escaper escaper_; | ^~~~~~~~ ../include/OutputCharStream.h:65:12: warning: 'OpenSP::Encoder* OpenSP::EncodeOutputCharStream::encoder_' [-Wreorder] 65 | Encoder *encoder_; | ^~~~~~~~ OutputCharStream.cxx:89:1: warning: when initialized here [-Wreorder] 89 | EncodeOutputCharStream::EncodeOutputCharStream(OutputByteStream *byteStream, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from OutputState.h:11: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from OutputState.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Param.cxx -fPIC -DPIC -o .libs/Param.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Parser.lo Parser.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ParserApp.lo ParserApp.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ParserEventGeneratorKit.lo ParserEventGeneratorKit.cxx In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from Param.h:19: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Param.h:33:11: required from here 33 | Param() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ParserMessages.lo ParserMessages.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ParserApp.cxx -fPIC -DPIC -o .libs/ParserApp.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ParserEventGeneratorKit.cxx -fPIC -DPIC -o .libs/ParserEventGeneratorKit.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Parser.cxx -fPIC -DPIC -o .libs/Parser.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ParserOptions.lo ParserOptions.cxx In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from Parser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ParserMessages.cxx -fPIC -DPIC -o .libs/ParserMessages.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from ParserMessages.h:8, from ParserMessages.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ParserState.lo ParserState.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ParserOptions.cxx -fPIC -DPIC -o .libs/ParserOptions.o In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ArcEngine.h:31:7: required from here 31 | : select_(select), eh_(&eh) { } | ^~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ArcEngine.h:31:7: required from here 31 | : select_(select), eh_(&eh) { } | ^~~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ParserOptions.cxx:8: ../include/ParserOptions.h: In constructor 'OpenSP::ParserOptions::ParserOptions()': ../include/ParserOptions.h:101:9: warning: 'OpenSP::ParserOptions::typeValid' will be initialized after [-Wreorder] 101 | short typeValid; | ^~~~~~~~~ ../include/ParserOptions.h:99:17: warning: 'OpenSP::PackedBoolean OpenSP::ParserOptions::shortref' [-Wreorder] 99 | PackedBoolean shortref; | ^~~~~~~~ ParserOptions.cxx:15:1: warning: when initialized here [-Wreorder] 15 | ParserOptions::ParserOptions() | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ParserOptions.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserOptions.cxx:41:13: required from here 41 | integral(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/ParserOptions.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageType1'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class OpenSP::MessageFragment'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/PointerTable.h:18:7: required from here 18 | class PointerTable { | ^~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:73:14: required from here 73 | class SP_API CharsetDecl { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Partition.lo Partition.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ParserState.cxx -fPIC -DPIC -o .libs/ParserState.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Partition.cxx -fPIC -DPIC -o .libs/Partition.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from ParserState.h:13, from ParserState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/XcharMap.h:9, from Partition.h:14, from Partition.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Partition.cxx:13: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Partition.cxx:14: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from Partition.h:11: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Partition.cxx:37:9: required from here 37 | : map_(0) // eE gets code 0 | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SubstTable.h:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o PosixStorage.lo PosixStorage.cxx In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ParserState.cxx:13: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ ParserState.h: In constructor 'OpenSP::ParserState::ParserState(const OpenSP::Ptr&, const OpenSP::ParserOptions&, unsigned int, Phase)': ParserState.h:241:22: warning: 'OpenSP::ParserState::entityManager_' will be initialized after [-Wreorder] 241 | Ptr entityManager_; | ^~~~~~~~~~~~~~ ParserState.h:229:17: warning: 'OpenSP::ParserOptions OpenSP::ParserState::options_' [-Wreorder] 229 | ParserOptions options_; | ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:268:11: warning: 'OpenSP::ParserState::keepingMessages_' will be initialized after [-Wreorder] 268 | Boolean keepingMessages_; | ^~~~~~~~~~~~~~~~ ParserState.h:264:13: warning: 'OpenSP::Allocator OpenSP::ParserState::eventAllocator_' [-Wreorder] 264 | Allocator eventAllocator_; | ^~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:265:13: warning: 'OpenSP::ParserState::internalAllocator_' will be initialized after [-Wreorder] 265 | Allocator internalAllocator_; | ^~~~~~~~~~~~~~~~~~ ParserState.h:230:17: warning: 'OpenSP::EventHandler* OpenSP::ParserState::handler_' [-Wreorder] 230 | EventHandler *handler_; | ^~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:281:12: warning: 'OpenSP::ParserState::inputLevel_' will be initialized after [-Wreorder] 281 | unsigned inputLevel_; | ^~~~~~~~~~~ ParserState.h:274:12: warning: 'unsigned int OpenSP::ParserState::specialParseInputLevel_' [-Wreorder] 274 | unsigned specialParseInputLevel_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:277:12: warning: 'OpenSP::ParserState::markedSectionSpecialLevel_' will be initialized after [-Wreorder] 277 | unsigned markedSectionSpecialLevel_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:270:8: warning: 'OpenSP::Mode OpenSP::ParserState::currentMode_' [-Wreorder] 270 | Mode currentMode_; | ^~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:270:8: warning: 'OpenSP::ParserState::currentMode_' will be initialized after [-Wreorder] 270 | Mode currentMode_; | ^~~~~~~~~~~~ ParserState.h:254:11: warning: 'OpenSP::Boolean OpenSP::ParserState::hadLpd_' [-Wreorder] 254 | Boolean hadLpd_; | ^~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:256:11: warning: 'OpenSP::ParserState::pass2_' will be initialized after [-Wreorder] 256 | Boolean pass2_; | ^~~~~~ ParserState.h:253:19: warning: 'OpenSP::Boolean OpenSP::ParserState::activeLinkTypesSubsted_' [-Wreorder] 253 | mutable Boolean activeLinkTypesSubsted_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:253:19: warning: 'OpenSP::ParserState::activeLinkTypesSubsted_' will be initialized after [-Wreorder] 253 | mutable Boolean activeLinkTypesSubsted_; | ^~~~~~~~~~~~~~~~~~~~~~~ ParserState.h:232:11: warning: 'OpenSP::Boolean OpenSP::ParserState::allowPass2_' [-Wreorder] 232 | Boolean allowPass2_; | ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:301:32: warning: 'OpenSP::ParserState::cancelPtr_' will be initialized after [-Wreorder] 301 | const volatile sig_atomic_t *cancelPtr_; | ^~~~~~~~~~ ParserState.h:244:9: warning: 'OpenSP::ParserState::Phase OpenSP::ParserState::finalPhase_' [-Wreorder] 244 | Phase finalPhase_; | ^~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ ParserState.h:298:11: warning: 'OpenSP::ParserState::hadAfdrDecl_' will be initialized after [-Wreorder] 298 | Boolean hadAfdrDecl_; | ^~~~~~~~~~~~ ParserState.h:288:12: warning: 'unsigned int OpenSP::ParserState::instantiatedDtds_' [-Wreorder] 288 | unsigned instantiatedDtds_; | ^~~~~~~~~~~~~~~~~ ParserState.cxx:49:1: warning: when initialized here [-Wreorder] 49 | ParserState::ParserState(const Ptr &em, | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Recognizer.lo Recognizer.cxx ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ParserOptions.h:85:15: required from here 85 | struct SP_API ParserOptions : public Warnings { | ^~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ParserOptions.h:85:15: required from here 85 | struct SP_API ParserOptions : public Warnings { | ^~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.cxx:79:22: required from here 79 | instantiatedDtds_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.cxx:79:22: required from here 79 | instantiatedDtds_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.cxx:79:22: required from here 79 | instantiatedDtds_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.cxx:79:22: required from here 79 | instantiatedDtds_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/PointerTable.h:18:7: required from here 18 | class PointerTable { | ^~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.cxx:79:22: required from here 79 | instantiatedDtds_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::String; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::String; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ParserState.cxx:473:24: required from here 473 | currentRank_.assign(currentDtd().nRankStem(), StringC()); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::LpdEntityRef*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::LpdEntityRef*; K = OpenSP::LpdEntityRef; HF = OpenSP::LpdEntityRef; KF = OpenSP::LpdEntityRef; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ParserState.cxx:600:26: required from here 600 | lpdEntityRefs_.insert(new LpdEntityRef(ref)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c PosixStorage.cxx -fPIC -DPIC -o .libs/PosixStorage.o ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o RewindStorageObject.lo RewindStorageObject.cxx In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from PosixStorage.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from PosixStorage.cxx:16: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ PosixStorage.cxx: In constructor 'OpenSP::PosixBaseStorageObject::PosixBaseStorageObject(int, OpenSP::Boolean)': PosixStorage.cxx:80:17: warning: 'OpenSP::PosixBaseStorageObject::eof_' will be initialized after [-Wreorder] 80 | PackedBoolean eof_; | ^~~~ PosixStorage.cxx:92:58: warning: base 'OpenSP::RewindStorageObject' [-Wreorder] 92 | RewindStorageObject(mayRewind, mayRewind && canSeek(fd)) | ^ PosixStorage.cxx:90:1: warning: when initialized here [-Wreorder] 90 | PosixBaseStorageObject::PosixBaseStorageObject(int fd, Boolean mayRewind) | ^~~~~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h: In constructor 'OpenSP::PosixStorageManager::PosixStorageManager(const char*, const OpenSP::CharsetInfo*, const OpenSP::OutputCodingSystem*, int, OpenSP::Boolean)': ../include/PosixStorage.h:58:15: warning: 'OpenSP::PosixStorageManager::type_' will be initialized after [-Wreorder] 58 | const char *type_; | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Recognizer.cxx -fPIC -DPIC -o .libs/Recognizer.o ../include/PosixStorage.h:56:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::PosixStorageManager::filenameCodingSystem_' [-Wreorder] 56 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 163 | PosixStorageManager::PosixStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h:56:29: warning: 'OpenSP::PosixStorageManager::filenameCodingSystem_' will be initialized after [-Wreorder] 56 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ ../include/PosixStorage.h:53:21: warning: 'OpenSP::DescriptorManager OpenSP::PosixStorageManager::descriptorManager_' [-Wreorder] 53 | DescriptorManager descriptorManager_; | ^~~~~~~~~~~~~~~~~~ PosixStorage.cxx:163:1: warning: when initialized here [-Wreorder] 163 | PosixStorageManager::PosixStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ PosixStorage.cxx: In constructor 'OpenSP::PosixStorageObject::PosixStorageObject(int, const OpenSP::StringC&, const OpenSP::String&, OpenSP::Boolean, OpenSP::DescriptorManager*)': PosixStorage.cxx:502:23: warning: base 'OpenSP::DescriptorUser' will be initialized after [-Wreorder] 502 | cfilename_(cfilename) | ^ PosixStorage.cxx:502:23: warning: base 'OpenSP::PosixBaseStorageObject' [-Wreorder] PosixStorage.cxx:493:1: warning: when initialized here [-Wreorder] 493 | PosixStorageObject::PosixStorageObject(int fd, | ^~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/PosixStorage.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ PosixStorage.cxx:176:43: required from here 176 | restrictFileReading_(restrictFileReading) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/StorageManager.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/XcharMap.h:9, from Recognizer.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Recognizer.cxx:12: Recognizer.h: In constructor 'OpenSP::Recognizer::Recognizer(OpenSP::Trie*, const OpenSP::XcharMap&)': Recognizer.h:35:23: warning: 'OpenSP::Recognizer::map_' will be initialized after [-Wreorder] 35 | XcharMap map_; | ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] 33 | Boolean multicode_; | ^~~~~~~~~~ Recognizer.cxx:19:1: warning: when initialized here [-Wreorder] 19 | Recognizer::Recognizer(Trie *trie, const XcharMap &map) | ^~~~~~~~~~ Recognizer.h: In constructor 'OpenSP::Recognizer::Recognizer(OpenSP::Trie*, const OpenSP::XcharMap&, OpenSP::Vector&)': Recognizer.h:35:23: warning: 'OpenSP::Recognizer::map_' will be initialized after [-Wreorder] 35 | XcharMap map_; | ^~~~ Recognizer.h:33:11: warning: 'OpenSP::Boolean OpenSP::Recognizer::multicode_' [-Wreorder] 33 | Boolean multicode_; | ^~~~~~~~~~ Recognizer.cxx:24:1: warning: when initialized here [-Wreorder] 24 | Recognizer::Recognizer(Trie *trie, const XcharMap &map, | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c RewindStorageObject.cxx -fPIC -DPIC -o .libs/RewindStorageObject.o Recognizer.cxx: In member function 'OpenSP::Token OpenSP::Recognizer::recognize(OpenSP::InputSource*, OpenSP::Messenger&) const': Recognizer.cxx:42:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 42 | register const Trie *pos = trie_.pointer(); | ^~~ In file included from Trie.h:10, from Recognizer.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from RewindStorageObject.cxx:9: ../include/RewindStorageObject.h: In constructor 'OpenSP::RewindStorageObject::RewindStorageObject(OpenSP::Boolean, OpenSP::Boolean)': ../include/RewindStorageObject.h:29:17: warning: 'OpenSP::RewindStorageObject::canSeek_' will be initialized after [-Wreorder] 29 | PackedBoolean canSeek_; | ^~~~~~~~ ../include/RewindStorageObject.h:27:17: warning: 'OpenSP::PackedBoolean OpenSP::RewindStorageObject::savingBytes_' [-Wreorder] 27 | PackedBoolean savingBytes_; | ^~~~~~~~~~~~ RewindStorageObject.cxx:16:1: warning: when initialized here [-Wreorder] 16 | RewindStorageObject::RewindStorageObject(Boolean mayRewind, Boolean canSeek) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/RewindStorageObject.h:4: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SGMLApplication.lo SGMLApplication.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SJISCodingSystem.lo SJISCodingSystem.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SOEntityCatalog.lo SOEntityCatalog.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Sd.lo Sd.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SGMLApplication.cxx -fPIC -DPIC -o .libs/SGMLApplication.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SJISCodingSystem.cxx -fPIC -DPIC -o .libs/SJISCodingSystem.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SOEntityCatalog.cxx -fPIC -DPIC -o .libs/SOEntityCatalog.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SdText.lo SdText.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Sd.cxx -fPIC -DPIC -o .libs/Sd.o In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SearchResultMessageArg.lo SearchResultMessageArg.cxx In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ExternalId.h:12, from ../include/Sd.h:14, from Sd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SgmlParser.lo SgmlParser.cxx In file included from ../include/Sd.h:16, from ../include/Event.h:20, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Sd.h: In constructor 'OpenSP::Sd::Sd(const OpenSP::Ptr&)': ../include/Sd.h:271:22: warning: 'OpenSP::Sd::entityManager_' will be initialized after [-Wreorder] 271 | Ptr entityManager_; | ^~~~~~~~~~~~~~ ../include/Sd.h:258:17: warning: 'OpenSP::PackedBoolean OpenSP::Sd::internalCharsetIsDocCharset_' [-Wreorder] 258 | PackedBoolean internalCharsetIsDocCharset_; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Sd::Sd(const Ptr &entityManager) | ^~ ../include/Sd.h:269:11: warning: 'OpenSP::Sd::integrallyStored_' will be initialized after [-Wreorder] 269 | Boolean integrallyStored_; | ^~~~~~~~~~~~~~~~~ ../include/Sd.h:267:19: warning: 'OpenSP::Sd::ImplydefElement OpenSP::Sd::implydefElement_' [-Wreorder] 267 | ImplydefElement implydefElement_; | ^~~~~~~~~~~~~~~~ Sd.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Sd::Sd(const Ptr &entityManager) | ^~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:73:14: required from here 73 | class SP_API CharsetDecl { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SdText.cxx -fPIC -DPIC -o .libs/SdText.o ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = int; OpenSP::Boolean = bool]' 15 | HashTableItem *tem = (HashTableItem *)table_.insert(newItem); | ~~~~~~~~~~~~~^~~~~~~~~ Sd.cxx:263:27: required from here 263 | namedCharTable_.insert(name, n); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ SOEntityCatalog.cxx: In member function 'OpenSP::Boolean OpenSP::CatalogParser::isMinimumData(OpenSP::Xchar)': SOEntityCatalog.cxx:208:42: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 208 | return (cat == min || (cat == s && c != tab_) | ~~^~~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::SOCatalogManagerImpl::SOCatalogManagerImpl(const OpenSP::Vector >&, size_t, const OpenSP::CharsetInfo*, const OpenSP::CharsetInfo*, OpenSP::Boolean)': SOEntityCatalog.cxx:59:19: warning: 'OpenSP::SOCatalogManagerImpl::systemCatalogs_' will be initialized after [-Wreorder] 59 | Vector systemCatalogs_; | ^~~~~~~~~~~~~~~ SOEntityCatalog.cxx:58:10: warning: 'size_t OpenSP::SOCatalogManagerImpl::nSystemCatalogsMustExist_' [-Wreorder] 58 | size_t nSystemCatalogsMustExist_; | ^~~~~~~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx:258:1: warning: when initialized here [-Wreorder] 258 | SOCatalogManagerImpl::SOCatalogManagerImpl(const Vector &systemCatalogs, | ^~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::SOEntityCatalog::SOEntityCatalog(OpenSP::Ptr)': SOEntityCatalog.cxx:154:28: warning: 'OpenSP::SOEntityCatalog::em_' will be initialized after [-Wreorder] 154 | Ptr em_; | ^~~ SOEntityCatalog.cxx:143:10: warning: 'size_t OpenSP::SOEntityCatalog::catalogNumber_' [-Wreorder] 143 | size_t catalogNumber_; | ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:397:1: warning: when initialized here [-Wreorder] 397 | SOEntityCatalog::SOEntityCatalog(Ptr em) | ^~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/SdText.h:14, from SdText.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ SOEntityCatalog.cxx: In constructor 'OpenSP::CatalogParser::CatalogParser(const OpenSP::CharsetInfo&)': SOEntityCatalog.cxx:239:27: warning: 'OpenSP::CatalogParser::categoryTable_' will be initialized after [-Wreorder] 239 | XcharMap categoryTable_; | ^~~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::entityKey_' [-Wreorder] 225 | StringC entityKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] 795 | CatalogParser::CatalogParser(const CharsetInfo &charset) | ^~~~~~~~~~~~~ SOEntityCatalog.cxx:225:11: warning: 'OpenSP::CatalogParser::entityKey_' will be initialized after [-Wreorder] 225 | StringC entityKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:223:11: warning: 'OpenSP::StringC OpenSP::CatalogParser::publicKey_' [-Wreorder] 223 | StringC publicKey_; | ^~~~~~~~~~ SOEntityCatalog.cxx:795:1: warning: when initialized here [-Wreorder] 795 | CatalogParser::CatalogParser(const CharsetInfo &charset) | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SdText.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ SdText.cxx:14:16: required from here 14 | SdText::SdText() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ SOEntityCatalog.cxx: In member function 'OpenSP::CatalogParser::Param OpenSP::CatalogParser::parseParam(unsigned int)': SOEntityCatalog.cxx:1105:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1105 | if (c == minus_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx: In member function 'void OpenSP::CatalogParser::skipComment()': SOEntityCatalog.cxx:1122:11: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1122 | if (c == minus_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx:1124:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1124 | if (c == minus_) | ~~^~~~~~~~~ SOEntityCatalog.cxx: In member function 'void OpenSP::CatalogParser::parseLiteral(OpenSP::Char, unsigned int)': SOEntityCatalog.cxx:1150:13: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1150 | if (c == rs_) | ~~^~~~~~ SOEntityCatalog.cxx:1152:18: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1152 | else if (c == space_ || c == re_) { | ~~^~~~~~~~~ SOEntityCatalog.cxx:1152:33: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 1152 | else if (c == space_ || c == re_) { | ~~^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': SOEntityCatalog.cxx:263:3: required from here 263 | : systemCatalogs_(systemCatalogs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SearchResultMessageArg.cxx -fPIC -DPIC -o .libs/SearchResultMessageArg.o ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': SOEntityCatalog.cxx:353:19: required from here 353 | v.maps.erase(v.maps.begin(), v.maps.begin() + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SOEntityCatalog.h:11, from SOEntityCatalog.cxx:12: ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/CharsetInfo.h:14: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOEntityCatalog.cxx:263:3: required from here 263 | : systemCatalogs_(systemCatalogs), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::StorageObjectSpec]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::StorageObjectSpec' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.cxx:46:13: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::ParsedSystemId::Map]' 46 | insert(ptr_ + size_, v.ptr_ + size_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::ParsedSystemId::Map' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ SOEntityCatalog.cxx:399:21: required from here 399 | haveCurrentBase_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = OpenSP::CatalogEntry; OpenSP::Boolean = bool]' 15 | HashTableItem *tem = (HashTableItem *)table_.insert(newItem); | ~~~~~~~~~~~~~^~~~~~~~~ SOEntityCatalog.cxx:660:19: required from here 660 | dtdDecls_.insert(publicId, entry); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SgmlParser.cxx -fPIC -DPIC -o .libs/SgmlParser.o ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/MessageArg.h:11, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/SearchResultMessageArg.h:21:14: required from here 21 | class SP_API SearchResultMessageArg : public OtherMessageArg { | ^~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = unsigned int]': ../include/SearchResultMessageArg.h:21:14: required from here 21 | class SP_API SearchResultMessageArg : public OtherMessageArg { | ^~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ SearchResultMessageArg.cxx:17:48: required from here 17 | SearchResultMessageArg::SearchResultMessageArg() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/MessageArg.h:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:29:9: required from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]' 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/SearchResultMessageArg.h:21:14: required from here 21 | class SP_API SearchResultMessageArg : public OtherMessageArg { | ^~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:90:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ShortReferenceMap.lo ShortReferenceMap.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from SgmlParser.cxx:10: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o StdioStorage.lo StdioStorage.cxx In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ ../include/SgmlParser.h: In constructor 'OpenSP::SgmlParser::Params::Params()': ../include/SgmlParser.h:55:19: warning: 'OpenSP::SgmlParser::Params::subdocReferenced' will be initialized after [-Wreorder] 55 | PackedBoolean subdocReferenced; | ^~~~~~~~~~~~~~~~ ../include/SgmlParser.h:51:14: warning: 'unsigned int OpenSP::SgmlParser::Params::subdocLevel' [-Wreorder] 51 | unsigned subdocLevel; | ^~~~~~~~~~~ SgmlParser.cxx:101:1: warning: when initialized here [-Wreorder] 101 | SgmlParser::Params::Params() | ^~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c ShortReferenceMap.cxx -fPIC -DPIC -o .libs/ShortReferenceMap.o ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Location]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Location]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Location' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Ptr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/PointerTable.h:18:7: required from here 18 | class PointerTable { | ^~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ParserState.h:48:7: required from here 48 | class ParserState : public ContentState, public AttributeContext { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:12, from ../include/Entity.h:13, from ../include/ShortReferenceMap.h:15, from ShortReferenceMap.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c StdioStorage.cxx -fPIC -DPIC -o .libs/StdioStorage.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ShortReferenceMap.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/ShortReferenceMap.h:12: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/List.h:7, from ../include/DescriptorManager.h:8, from ../include/StdioStorage.h:11, from StdioStorage.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/List.cxx:7, from ../include/List.h:48: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from StdioStorage.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/StdioStorage.h: In constructor 'OpenSP::StdioStorageManager::StdioStorageManager(const char*, const OpenSP::CharsetInfo*, const OpenSP::OutputCodingSystem*)': ../include/StdioStorage.h:40:15: warning: 'OpenSP::StdioStorageManager::type_' will be initialized after [-Wreorder] 40 | const char *type_; | ^~~~~ ../include/StdioStorage.h:39:29: warning: 'const OpenSP::OutputCodingSystem* OpenSP::StdioStorageManager::filenameCodingSystem_' [-Wreorder] 39 | const OutputCodingSystem *filenameCodingSystem_; | ^~~~~~~~~~~~~~~~~~~~~ StdioStorage.cxx:53:1: warning: when initialized here [-Wreorder] 53 | StdioStorageManager::StdioStorageManager(const char *type, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from ../include/StdioStorage.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o StorageManager.lo StorageManager.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Syntax.lo Syntax.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Text.lo Text.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o TokenMessageArg.lo TokenMessageArg.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c StorageManager.cxx -fPIC -DPIC -o .libs/StorageManager.o In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/StorageManager.h:12, from StorageManager.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Syntax.cxx -fPIC -DPIC -o .libs/Syntax.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o TranslateCodingSystem.lo TranslateCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Text.cxx -fPIC -DPIC -o .libs/Text.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c TokenMessageArg.cxx -fPIC -DPIC -o .libs/TokenMessageArg.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from Text.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from Syntax.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::TextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::TextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Text.cxx:16:12: required from here 16 | Text::Text() | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::TextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h: In constructor 'OpenSP::Syntax::Syntax(const OpenSP::Sd&)': ../include/Syntax.h:285:27: warning: 'OpenSP::Syntax::categoryTable_' will be initialized after [-Wreorder] 285 | XcharMap categoryTable_; | ^~~~~~~~~~~~~~ ../include/Syntax.h:268:17: warning: 'OpenSP::PackedBoolean OpenSP::Syntax::shuncharControls_' [-Wreorder] 268 | PackedBoolean shuncharControls_; | ^~~~~~~~~~~~~~~~~ Syntax.cxx:38:1: warning: when initialized here [-Wreorder] 38 | Syntax::Syntax(const Sd &sd) | ^~~~~~ In file included from ../include/XcharMap.h:9, from ../include/Syntax.h:18, from TokenMessageArg.h:13, from TokenMessageArg.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from Syntax.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Syntax.cxx:44:24: required from here 44 | hasMarkupScanTable_(0) | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Syntax.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c TranslateCodingSystem.cxx -fPIC -DPIC -o .libs/TranslateCodingSystem.o ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::HashTableItemBase >*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::HashTableItemBase >*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::HashTableKeyFunction >; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/HashTable.cxx:15:66: required from 'void OpenSP::HashTable::insert(const K&, const V&, OpenSP::Boolean) [with K = OpenSP::String; V = unsigned int; OpenSP::Boolean = bool]' 15 | HashTableItem *tem = (HashTableItem *)table_.insert(newItem); | ~~~~~~~~~~~~~^~~~~~~~~ Syntax.cxx:156:28: required from here 156 | functionTable_.insert(reservedName(name[i]), standardFunction_[i]); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >*>::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >*>::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/MessageArg.h:11, from TokenMessageArg.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from TokenMessageArg.h:14: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/TranslateCodingSystem.h:8, from TranslateCodingSystem.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CharsetRegistry.h:13, from ../include/TranslateCodingSystem.h:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o TrieBuilder.lo TrieBuilder.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c TrieBuilder.cxx -fPIC -DPIC -o .libs/TrieBuilder.o In file included from Trie.h:10, from TrieBuilder.cxx:11: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o TypeId.lo TypeId.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o URLStorage.lo URLStorage.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c TypeId.cxx -fPIC -DPIC -o .libs/TypeId.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o UTF8CodingSystem.lo UTF8CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c URLStorage.cxx -fPIC -DPIC -o .libs/URLStorage.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Undo.lo Undo.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from URLStorageMessages.h:2, from URLStorage.cxx:55: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from URLStorage.cxx:54: ../include/URLStorage.h: In constructor 'OpenSP::URLStorageManager::URLStorageManager(const char*)': ../include/URLStorage.h:32:15: warning: 'OpenSP::URLStorageManager::type_' will be initialized after [-Wreorder] 32 | const char *type_; | ^~~~~ URLStorage.cxx:182:47: warning: base 'OpenSP::IdStorageManager' [-Wreorder] 182 | : type_(type), IdStorageManager(&iso646Charset) | ^ URLStorage.cxx:181:1: warning: when initialized here [-Wreorder] 181 | URLStorageManager::URLStorageManager(const char *type) | ^~~~~~~~~~~~~~~~~ URLStorage.cxx: In function 'int OpenSP::strdiff(const char*, char*)': URLStorage.cxx:210:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 210 | for ( int i = 0; i < strlen(str); ++i) | ~~^~~~~~~~~~~~~ URLStorage.cxx: In member function 'virtual OpenSP::StorageObject* OpenSP::URLStorageManager::makeStorageObject(const OpenSP::StringC&, const OpenSP::StringC&, OpenSP::Boolean, OpenSP::Boolean, OpenSP::Messenger&, OpenSP::StringC&)': URLStorage.cxx:323:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 323 | while ( isspace(*line) ) | ^~~~~ URLStorage.cxx:330:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 330 | { | ^ URLStorage.cxx: In constructor 'OpenSP::HttpSocketStorageObject::HttpSocketStorageObject(SOCKET, OpenSP::Boolean, const OpenSP::StringC&)': URLStorage.cxx:109:10: warning: 'OpenSP::HttpSocketStorageObject::fd_' will be initialized after [-Wreorder] 109 | SOCKET fd_; | ^~~ URLStorage.cxx:108:11: warning: 'OpenSP::Boolean OpenSP::HttpSocketStorageObject::eof_' [-Wreorder] 108 | Boolean eof_; | ^~~~ URLStorage.cxx:526:1: warning: when initialized here [-Wreorder] 526 | HttpSocketStorageObject::HttpSocketStorageObject(SOCKET fd, | ^~~~~~~~~~~~~~~~~~~~~~~ URLStorage.cxx: In member function 'OpenSP::HTTP_RESPONSE_TYPE OpenSP::HttpSocketStorageObject::open(const OpenSP::String&, short unsigned int, const OpenSP::String&, OpenSP::Messenger&, char*)': URLStorage.cxx:565:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 565 | http_ua = "libosp 1.5" ; | ^~~~~~~~~~~~ URLStorage.cxx: In member function 'OpenSP::HTTP_RESPONSE_TYPE OpenSP::HttpSocketStorageObject::readHeader(OpenSP::Messenger&, char*)': URLStorage.cxx:637:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 637 | for (int i=0; i::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c UTF8CodingSystem.cxx -fPIC -DPIC -o .libs/UTF8CodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o UnicodeCodingSystem.lo UnicodeCodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Undo.cxx -fPIC -DPIC -o .libs/Undo.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o UnivCharsetDesc.lo UnivCharsetDesc.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o XMLCodingSystem.lo XMLCodingSystem.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ParserState.h:17, from Undo.cxx:9: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c UnicodeCodingSystem.cxx -fPIC -DPIC -o .libs/UnicodeCodingSystem.o UnicodeCodingSystem.cxx: In constructor 'OpenSP::UnicodeDecoder::UnicodeDecoder(const OpenSP::InputCodingSystem*)': UnicodeCodingSystem.cxx:38:28: warning: 'OpenSP::UnicodeDecoder::subCodingSystem_' will be initialized after [-Wreorder] 38 | const InputCodingSystem *subCodingSystem_; | ^~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:35:17: warning: 'OpenSP::PackedBoolean OpenSP::UnicodeDecoder::hadByteOrderMark_' [-Wreorder] 35 | PackedBoolean hadByteOrderMark_; | ^~~~~~~~~~~~~~~~~ UnicodeCodingSystem.cxx:65:1: warning: when initialized here [-Wreorder] 65 | UnicodeDecoder::UnicodeDecoder(const InputCodingSystem *subCodingSystem) | ^~~~~~~~~~~~~~ UnicodeCodingSystem.cxx: In member function 'virtual size_t OpenSP::UnicodeDecoder::decode(OpenSP::Char*, const char*, size_t, const char**)': UnicodeCodingSystem.cxx:80:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 80 | if (subDecoder_) | ^~ UnicodeCodingSystem.cxx:82:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 82 | if (fromLen < 2) { | ^~ In file included from ParserState.h:25: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Text.h:12: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Text.h:11: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12, from Undo.h:12: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c UnivCharsetDesc.cxx -fPIC -DPIC -o .libs/UnivCharsetDesc.o In file included from ../include/StringOf.h:78, from ../include/StringC.h:8, from ../include/MessageArg.h:10: In member function 'OpenSP::String::String(unsigned int const*, unsigned long)', inlined from 'OpenSP::URLStorageManager::resolveRelative(OpenSP::String const&, OpenSP::String&, bool) const' at URLStorage.cxx:413:46: ../include/StringOf.cxx:18:3: warning: 'sameSlashPos' may be used uninitialized [-Wmaybe-uninitialized] 18 | if (length) { | ^~ URLStorage.cxx: In member function 'OpenSP::URLStorageManager::resolveRelative(OpenSP::String const&, OpenSP::String&, bool) const': URLStorage.cxx:400:12: note: 'sameSlashPos' was declared here 400 | size_t sameSlashPos; | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c XMLCodingSystem.cxx -fPIC -DPIC -o .libs/XMLCodingSystem.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o assert.lo assert.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseAttribute.lo parseAttribute.cxx In file included from UnivCharsetDesc.cxx:8: ../include/UnivCharsetDesc.h: In constructor 'OpenSP::UnivCharsetDescIter::UnivCharsetDescIter(const OpenSP::UnivCharsetDesc&)': ../include/UnivCharsetDesc.h:88:11: warning: 'OpenSP::UnivCharsetDescIter::doneCharMap_' will be initialized after [-Wreorder] 88 | Boolean doneCharMap_; | ^~~~~~~~~~~~ ../include/UnivCharsetDesc.h:87:8: warning: 'OpenSP::Char OpenSP::UnivCharsetDescIter::nextChar_' [-Wreorder] 87 | Char nextChar_; | ^~~~~~~~~ UnivCharsetDesc.cxx:137:1: warning: when initialized here [-Wreorder] 137 | UnivCharsetDescIter::UnivCharsetDescIter(const UnivCharsetDesc &desc) | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ XMLCodingSystem.cxx: In constructor 'OpenSP::XMLDecoder::XMLDecoder(const OpenSP::InputCodingSystemKit*)': XMLCodingSystem.cxx:87:31: warning: 'OpenSP::XMLDecoder::kit_' will be initialized after [-Wreorder] 87 | const InputCodingSystemKit *kit_; | ^~~~ XMLCodingSystem.cxx:77:15: warning: 'OpenSP::XMLDecoder::DetectPhase OpenSP::XMLDecoder::phase_' [-Wreorder] 77 | DetectPhase phase_; | ^~~~~~ XMLCodingSystem.cxx:106:1: warning: when initialized here [-Wreorder] 106 | XMLDecoder::XMLDecoder(const InputCodingSystemKit *kit) | ^~~~~~~~~~ XMLCodingSystem.cxx: In member function 'virtual size_t OpenSP::XMLDecoder::decode(OpenSP::Char*, const char*, size_t, const char**)': XMLCodingSystem.cxx:219:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 219 | for (; fromLen > guessBytesPerChar_; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/CodingSystemKit.h:15, from XMLCodingSystem.cxx:15: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseCommon.lo parseCommon.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c assert.cxx -fPIC -DPIC -o .libs/assert.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseAttribute.cxx -fPIC -DPIC -o .libs/parseAttribute.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseDecl.lo parseDecl.cxx In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseAttribute.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseCommon.cxx -fPIC -DPIC -o .libs/parseCommon.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseInstance.lo parseInstance.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseCommon.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseDecl.cxx -fPIC -DPIC -o .libs/parseDecl.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseMode.lo parseMode.cxx Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseAttribute.cxx: In member function 'void OpenSP::Parser::extendUnquotedAttributeValue()': parseAttribute.cxx:383:14: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'unsigned int' [-Wsign-compare] 383 | || c == syn.delimGeneral(Syntax::dTAGC)[0]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseDecl.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseInstance.cxx -fPIC -DPIC -o .libs/parseInstance.o Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseInstance.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseMode.cxx -fPIC -DPIC -o .libs/parseMode.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseParam.lo parseParam.cxx Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ parseDecl.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::parseAttlistDecl()': parseDecl.cxx:1068:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1068 | if (index != -1 && adl->def(j)->isId()) | ~~~~~~^~~~~ parseDecl.cxx:1072:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1072 | if (index != -1 && adl->def(j)->isNotation()) | ~~~~~~^~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseMode.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addIdLinkRule(const OpenSP::StringC&, OpenSP::IdLinkRule&)': parseDecl.cxx:3229:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3229 | || nRules >= 1 && rule.attributes().nSpec() == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addLinkRule(OpenSP::LinkSet*, const OpenSP::ElementType*, const OpenSP::ConstPtr&)': parseDecl.cxx:3242:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3242 | || nRules >= 1 && linkRule->attributes().nSpec() == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseParam.cxx -fPIC -DPIC -o .libs/parseParam.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ElementType*; size_t = long unsigned int]': parseDecl.cxx:567:51: required from here 567 | Vector elements(nameVector.size()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = const OpenSP::ElementType*; size_t = long unsigned int]': parseDecl.cxx:731:50: required from here 731 | Vector v(elements.size()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::CopyOwner; size_t = long unsigned int]': parseDecl.cxx:1052:56: required from here 1052 | Vector > copy(oldSize); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': parseDecl.cxx:1094:54: required from here 1094 | Vector > v(attributed.size()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::String; size_t = long unsigned int]': parseDecl.cxx:1329:56: required from here 1329 | Vector group(parm.nameTokenVector.size()); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::ConstPtr; size_t = long unsigned int]': parseDecl.cxx:2424:50: required from here 2424 | Vector > entityMap(nShortref); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = bool; size_t = long unsigned int]': parseDecl.cxx:2615:21: required from here 2615 | PackedBoolean(0)); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Param.h:33:11: required from here 33 | Param() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16, from parseDecl.cxx:8: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ parseDecl.cxx:176:27: required from here 176 | Vector simpleLinkAtts; | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::AttributeList' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ContentModelAmbiguity]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ContentModelAmbiguity]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ parseDecl.cxx:691:37: required from here 691 | Vector ambiguities; | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::ContentModelAmbiguity'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CopyOwner]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CopyOwner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ parseDecl.cxx:909:43: required from here 909 | Vector > defs; | ^~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CopyOwner' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:15: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ parseDecl.cxx:1094:54: required from here 1094 | Vector > v(attributed.size()); | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseParam.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Partition.h:21:7: required from here 21 | class Partition { | ^~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SrInfo]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SrInfo]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ parseMode.cxx:230:18: required from here 230 | Vector srInfo; | ^~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SrInfo' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parseMode.cxx:11: SrInfo.h:14:8: note: 'struct OpenSP::SrInfo' declared here 14 | struct SrInfo { | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ parseAttribute.cxx: In member function 'OpenSP::Parser::parseAttributeSpec(OpenSP::Mode, OpenSP::AttributeList&, bool&, OpenSP::Ptr&)': parseAttribute.cxx:51:52: warning: 'nameMarkupIndex' may be used uninitialized [-Wmaybe-uninitialized] 51 | currentMarkup()->changeToAttributeValue(nameMarkupIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ parseAttribute.cxx:34:16: note: 'nameMarkupIndex' was declared here 34 | size_t nameMarkupIndex; | ^~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.h: In instantiation of 'OpenSP::NCVector::NCVector(size_t) [with T = OpenSP::Owner; size_t = long unsigned int]': parseParam.cxx:766:39: required from here 766 | NCVector > vec(2); | ^ ../include/Vector.h:66:6: warning: 'OpenSP::NCVector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::NCVector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/NCVector.h:4:16: warning: when initialized here [-Wreorder] 4 | #define Vector NCVector | ^~~~~~~~ ../include/Vector.h:25:3: note: in expansion of macro 'Vector' 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parseSd.lo parseSd.cxx ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::NameToken]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::NameToken]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Param.h:33:11: required from here 33 | Param() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::NameToken' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:16, from parseParam.cxx:6: NameToken.h:14:8: note: 'struct OpenSP::NameToken' declared here 14 | struct NameToken { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Text]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Text]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ Group.h:24:16: required from here 24 | GroupToken() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Text' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parseSd.cxx -fPIC -DPIC -o .libs/parseSd.o In file included from ../include/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from parseSd.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17: ../include/Syntax.h: In member function 'OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const': ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const OpenSP::Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ Parser.h:65:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::scanForSgmlDecl(const OpenSP::CharsetInfo&)': parseSd.cxx:609:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~ parseSd.cxx:609:23: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~~~~ parseSd.cxx:609:37: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~ parseSd.cxx:609:48: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 609 | while (c == rs || c == space || c == re || c == tab) | ~~^~~~~~ parseSd.cxx:611:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 611 | if (c != initCharset.execToDesc('<')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:613:34: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 613 | if (in->tokenChar(messenger()) != initCharset.execToDesc('!')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:616:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 616 | if (c != initCharset.execToDesc('S') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:617:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 617 | && c != initCharset.execToDesc('s')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:620:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 620 | if (c != initCharset.execToDesc('G') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:621:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 621 | && c != initCharset.execToDesc('g')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:624:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 624 | if (c != initCharset.execToDesc('M') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:625:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 625 | && c != initCharset.execToDesc('m')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:628:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 628 | if (c != initCharset.execToDesc('L') | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:629:12: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 629 | && c != initCharset.execToDesc('l')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:636:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 636 | if (c == initCharset.execToDesc('-')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:638:9: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'OpenSP::Char' {aka 'unsigned int'} [-Wsign-compare] 638 | if (c == initCharset.execToDesc('.')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Boolean OpenSP::Parser::sdParseFeatures(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:2397:14: warning: enumeration value 'rALL' not handled in switch [-Wswitch] 2397 | switch (features[i].name) { | ^ parseSd.cxx:2397:14: warning: enumeration value 'rANY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rANYOTHER' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rAPPINFO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rATTLIST' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rATTRIB' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rBASESET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCAPACITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCHARSET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCONCUR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rCONTROLS' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDATATAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDEFAULT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDELIM' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDESCSET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDOCTYPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rDOCUMENT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rELEMENT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rEMPTY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENDTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENTITIES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rENTITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rEXPLICIT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFEATURES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFORMAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFUNCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rFUNCTION' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rGENERAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMMEDNET' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMPLICIT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rIMPLYDEF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINSTANCE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINTEGRAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rINTERNAL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rKEEPRSRE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLCNMCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLCNMSTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rLINK' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMINIMIZE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSICHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSOCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rMSSCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMECASE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMECHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMESTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNAMING' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNETENABL' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNOASSERT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNONE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rNOTATION' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOMITNAME' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOMITTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rOTHER' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rPUBLIC' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rQUANTITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRANK' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rRS' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSCOPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSEEALSO' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSEPCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSGML' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSGMLREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHORTREF' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHORTTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSHUNCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSIMPLE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSPACE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSTARTTAG' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSUBDOC' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSWITCHES' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSYNTAX' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rSYSTEM' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rTYPE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUCNMCHAR' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUCNMSTRT' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUNCLOSED' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rUNUSED' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rURN' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rVALIDITY' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rVALUE' not handled in switch [-Wswitch] parseSd.cxx:2397:14: warning: enumeration value 'rYES' not handled in switch [-Wswitch] parseSd.cxx:2340:12: warning: enumeration value 'none' not handled in switch [-Wswitch] 2340 | switch (features[i].arg) { | ^ /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o splib.lo splib.cxx parseSd.cxx: In constructor 'OpenSP::SdBuilder::SdBuilder()': parseSd.cxx:50:11: warning: 'OpenSP::SdBuilder::valid' will be initialized after [-Wreorder] 50 | Boolean valid; | ^~~~~ parseSd.cxx:47:11: warning: 'OpenSP::Boolean OpenSP::SdBuilder::externalSyntax' [-Wreorder] 47 | Boolean externalSyntax; | ^~~~~~~~~~~~~~ parseSd.cxx:3378:1: warning: when initialized here [-Wreorder] 3378 | SdBuilder::SdBuilder() | ^~~~~~~~~ In file included from parseSd.cxx:7: SdFormalError.h: In constructor 'OpenSP::SdFormalError::SdFormalError(const OpenSP::Location&, const OpenSP::MessageType1&, const OpenSP::StringC&)': SdFormalError.h:24:12: warning: 'OpenSP::SdFormalError::location_' will be initialized after [-Wreorder] 24 | Location location_; | ^~~~~~~~~ SdFormalError.h:23:23: warning: 'const OpenSP::MessageType1* OpenSP::SdFormalError::message_' [-Wreorder] 23 | const MessageType1 *message_; | ^~~~~~~~ parseSd.cxx:3390:1: warning: when initialized here [-Wreorder] 3390 | SdFormalError::SdFormalError(const Location &location, | ^~~~~~~~~~~~~ In file included from ../include/Attribute.h:14: ../include/Vector.h: In instantiation of 'OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]': ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here 44 | class BlankTrie : public Trie { | ^~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ISetRange]': ../include/ISet.h:25:7: required from here 25 | class ISet { | ^~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::String' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Attribute' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16: ../include/Vector.cxx: In instantiation of 'T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]': ../include/Vector.cxx:18:5: required from 'OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Owner' with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:12: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::Transition]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct OpenSP::Transition'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclRange' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]' 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::MarkupItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::ConstPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclSection]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclSection]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:73:14: required from here 73 | class SP_API CharsetDecl { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::CharsetDeclSection' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::SdTextItem]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::SdTextItem]' 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/SdText.h:30:14: required from here 30 | class SP_API SdText { | ^~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct OpenSP::SdTextItem' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:16: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]': ../include/PointerTable.cxx:56:12: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]' 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: 'OpenSP::Vector::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of 'void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]': ../include/Vector.cxx:62:11: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]': ../include/Vector.cxx:65:5: required from 'void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]' 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from 'P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]' 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class OpenSP::Ptr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c splib.cxx -fPIC -DPIC -o .libs/splib.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o app_inst.lo app_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c app_inst.cxx -fPIC -DPIC -o .libs/app_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o arc_inst.lo arc_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c arc_inst.cxx -fPIC -DPIC -o .libs/arc_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o entmgr_inst.lo entmgr_inst.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o parser_inst.lo parser_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c entmgr_inst.cxx -fPIC -DPIC -o .libs/entmgr_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xentmgr_inst.lo xentmgr_inst.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c parser_inst.cxx -fPIC -DPIC -o .libs/parser_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SubstTable.lo SubstTable.cxx /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o UTF16CodingSystem.lo UTF16CodingSystem.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c xentmgr_inst.cxx -fPIC -DPIC -o .libs/xentmgr_inst.o /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o Fixed4CodingSystem.lo Fixed4CodingSystem.cxx /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o memcmp.lo memcmp.c g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c SubstTable.cxx -fPIC -DPIC -o .libs/SubstTable.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c UTF16CodingSystem.cxx -fPIC -DPIC -o .libs/UTF16CodingSystem.o parseDecl.cxx: In member function 'OpenSP::Parser::parseMarkedSectionDeclStart()': parseDecl.cxx:3514:7: warning: 'discardMarkup' may be used uninitialized [-Wmaybe-uninitialized] 3514 | if (discardMarkup) | ^~ parseDecl.cxx:3424:11: note: 'discardMarkup' was declared here 3424 | Boolean discardMarkup; | ^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c Fixed4CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed4CodingSystem.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c memcmp.c -fPIC -DPIC -o .libs/memcmp.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o memmove.lo memmove.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o strerror.lo strerror.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c memmove.c -fPIC -DPIC -o .libs/memmove.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c strerror.c -fPIC -DPIC -o .libs/strerror.o parseSd.cxx: In member function 'OpenSP::Parser::translateName(OpenSP::SdBuilder&, OpenSP::String const&, OpenSP::String&)': parseSd.cxx:2671:29: warning: 'univChar' may be used uninitialized [-Wmaybe-uninitialized] 2671 | univChar = translateUniv(univChar, sdBuilder.switcher, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2672 | sdBuilder.syntaxCharset); | ~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:2668:14: note: 'univChar' was declared here 2668 | UnivChar univChar; | ^~~~~~~~ parseSd.cxx: In member function 'OpenSP::Parser::sdParseFunction(OpenSP::SdBuilder&, OpenSP::SdParam&)': parseSd.cxx:1482:48: warning: 'nameMarkupIndex' may be used uninitialized [-Wmaybe-uninitialized] 1482 | currentMarkup()->changeToSdReservedName(nameMarkupIndex, Sd::rNAMING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parseSd.cxx:1449:12: note: 'nameMarkupIndex' was declared here 1449 | size_t nameMarkupIndex; | ^~~~~~~~~~~~~~~ parseSd.cxx: In member function 'OpenSP::Parser::translateRange(OpenSP::SdBuilder&, unsigned int, unsigned int, OpenSP::ISet&)': parseSd.cxx:2549:34: warning: 'firstSwitch' may be used uninitialized [-Wmaybe-uninitialized] 2549 | if (gotSwitch && firstSwitch == start) { | ~~~~~~~~~~~~^~~~~~~~ parseSd.cxx:2537:14: note: 'firstSwitch' was declared here 2537 | WideChar firstSwitch; | ^~~~~~~~~~~ parseDecl.cxx: In member function 'OpenSP::Parser::parseDoctypeDeclStart()': parseDecl.cxx:2234:47: warning: 'data' may be used uninitialized [-Wmaybe-uninitialized] 2234 | Entity::doctype); | ^ parseDecl.cxx:2147:24: note: 'data' was declared here 2147 | EntityDecl::DataType data; | ^~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 libosp.la -rpath /usr/lib64 -no-undefined -version-info 5:0:0 Allocator.lo ArcEngine.lo Attribute.lo Big5CodingSystem.lo CharsetDecl.lo CharsetInfo.lo CharsetRegistry.lo CmdLineApp.lo CodingSystem.lo CodingSystemKit.lo ConsoleOutput.lo ContentState.lo ContentToken.lo DescriptorManager.lo Dtd.lo DtdDeclEventHandler.lo EUCJPCodingSystem.lo ElementType.lo Entity.lo EntityApp.lo EntityCatalog.lo EntityDecl.lo EntityManager.lo ErrnoMessageArg.lo ErrorCountEventHandler.lo Event.lo EventGenerator.lo ExtendEntityManager.lo ExternalId.lo Fixed2CodingSystem.lo GenericEventHandler.lo Group.lo Hash.lo IListBase.lo Id.lo IdentityCodingSystem.lo InputSource.lo InternalInputSource.lo Link.lo LinkProcess.lo LiteralStorage.lo Location.lo Lpd.lo Markup.lo Message.lo MessageArg.lo MessageEventHandler.lo MessageFormatter.lo MessageReporter.lo MessageTable.lo ModeInfo.lo Notation.lo NotationStorage.lo NumericCharRefOrigin.lo OffsetOrderedList.lo OpenElement.lo OutputByteStream.lo OutputCharStream.lo OutputState.lo Param.lo Parser.lo ParserApp.lo ParserEventGeneratorKit.lo ParserMessages.lo ParserOptions.lo ParserState.lo Partition.lo PosixStorage.lo Recognizer.lo RewindStorageObject.lo SGMLApplication.lo SJISCodingSystem.lo SOEntityCatalog.lo Sd.lo SdText.lo SearchResultMessageArg.lo SgmlParser.lo ShortReferenceMap.lo StdioStorage.lo StorageManager.lo Syntax.lo Text.lo TokenMessageArg.lo TranslateCodingSystem.lo TrieBuilder.lo TypeId.lo URLStorage.lo UTF8CodingSystem.lo Undo.lo UnicodeCodingSystem.lo UnivCharsetDesc.lo XMLCodingSystem.lo assert.lo parseAttribute.lo parseCommon.lo parseDecl.lo parseInstance.lo parseMode.lo parseParam.lo parseSd.lo splib.lo app_inst.lo arc_inst.lo entmgr_inst.lo parser_inst.lo xentmgr_inst.lo SubstTable.lo UTF16CodingSystem.lo Fixed4CodingSystem.lo memcmp.lo memmove.lo strerror.lo -lpthread g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/14/crtbeginS.o .libs/Allocator.o .libs/ArcEngine.o .libs/Attribute.o .libs/Big5CodingSystem.o .libs/CharsetDecl.o .libs/CharsetInfo.o .libs/CharsetRegistry.o .libs/CmdLineApp.o .libs/CodingSystem.o .libs/CodingSystemKit.o .libs/ConsoleOutput.o .libs/ContentState.o .libs/ContentToken.o .libs/DescriptorManager.o .libs/Dtd.o .libs/DtdDeclEventHandler.o .libs/EUCJPCodingSystem.o .libs/ElementType.o .libs/Entity.o .libs/EntityApp.o .libs/EntityCatalog.o .libs/EntityDecl.o .libs/EntityManager.o .libs/ErrnoMessageArg.o .libs/ErrorCountEventHandler.o .libs/Event.o .libs/EventGenerator.o .libs/ExtendEntityManager.o .libs/ExternalId.o .libs/Fixed2CodingSystem.o .libs/GenericEventHandler.o .libs/Group.o .libs/Hash.o .libs/IListBase.o .libs/Id.o .libs/IdentityCodingSystem.o .libs/InputSource.o .libs/InternalInputSource.o .libs/Link.o .libs/LinkProcess.o .libs/LiteralStorage.o .libs/Location.o .libs/Lpd.o .libs/Markup.o .libs/Message.o .libs/MessageArg.o .libs/MessageEventHandler.o .libs/MessageFormatter.o .libs/MessageReporter.o .libs/MessageTable.o .libs/ModeInfo.o .libs/Notation.o .libs/NotationStorage.o .libs/NumericCharRefOrigin.o .libs/OffsetOrderedList.o .libs/OpenElement.o .libs/OutputByteStream.o .libs/OutputCharStream.o .libs/OutputState.o .libs/Param.o .libs/Parser.o .libs/ParserApp.o .libs/ParserEventGeneratorKit.o .libs/ParserMessages.o .libs/ParserOptions.o .libs/ParserState.o .libs/Partition.o .libs/PosixStorage.o .libs/Recognizer.o .libs/RewindStorageObject.o .libs/SGMLApplication.o .libs/SJISCodingSystem.o .libs/SOEntityCatalog.o .libs/Sd.o .libs/SdText.o .libs/SearchResultMessageArg.o .libs/SgmlParser.o .libs/ShortReferenceMap.o .libs/StdioStorage.o .libs/StorageManager.o .libs/Syntax.o .libs/Text.o .libs/TokenMessageArg.o .libs/TranslateCodingSystem.o .libs/TrieBuilder.o .libs/TypeId.o .libs/URLStorage.o .libs/UTF8CodingSystem.o .libs/Undo.o .libs/UnicodeCodingSystem.o .libs/UnivCharsetDesc.o .libs/XMLCodingSystem.o .libs/assert.o .libs/parseAttribute.o .libs/parseCommon.o .libs/parseDecl.o .libs/parseInstance.o .libs/parseMode.o .libs/parseParam.o .libs/parseSd.o .libs/splib.o .libs/app_inst.o .libs/arc_inst.o .libs/entmgr_inst.o .libs/parser_inst.o .libs/xentmgr_inst.o .libs/SubstTable.o .libs/UTF16CodingSystem.o .libs/Fixed4CodingSystem.o .libs/memcmp.o .libs/memmove.o .libs/strerror.o -lpthread -L/usr/lib/gcc/x86_64-redhat-linux/14 -L/usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/14/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/14/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libosp.so.5 -o .libs/libosp.so.5.0.0 TrieBuilder.cxx: In member function 'operator=': TrieBuilder.cxx:52:29: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 52 | next_ = new Trie[nCodes_]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function 'operator new []' declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ TrieBuilder.cxx: In member function '__ct_base ': TrieBuilder.cxx:34:29: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 34 | next_ = new Trie[nCodes_]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function 'operator new []' declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ TrieBuilder.cxx: In member function 'forceNext': TrieBuilder.cxx:225:35: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 225 | trie->next_ = new Trie[nCodes_]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function 'operator new []' declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ (cd .libs && rm -f libosp.so.5 && ln -s libosp.so.5.0.0 libosp.so.5) (cd .libs && rm -f libosp.so && ln -s libosp.so.5.0.0 libosp.so) creating libosp.la (cd .libs && rm -f libosp.la && ln -s ../libosp.la libosp.la) make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' Making all in nsgmls make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o nsgmls.o nsgmls.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SgmlsEventHandler.o SgmlsEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o RastEventHandler.o RastEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o StringSet.o StringSet.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o nsgmls_inst.o nsgmls_inst.cxx In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from StringSet.h:10, from StringSet.cxx:5: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::String*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::String*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::StringSetKey; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ StringSet.cxx:21:16: required from here 21 | table_.insert(p); | ~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector*>::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector*>::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from SgmlsEventHandler.h:8, from SgmlsEventHandler.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from nsgmls.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from RastEventHandler.h:10, from RastEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/LinkProcess.h:11, from RastEventHandler.h:18: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/LinkProcess.h:11, from SgmlsEventHandler.h:17, from nsgmls.cxx:7: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ RastEventHandler.h: In constructor ‘OpenSP::RastEventHandler::RastEventHandler(OpenSP::SgmlParser*, OpenSP::Messenger*)’: RastEventHandler.h:147:12: warning: ‘OpenSP::RastEventHandler::piErrorCount_’ will be initialized after [-Wreorder] 147 | unsigned piErrorCount_; | ^~~~~~~~~~~~~ RastEventHandler.cxx:129:11: warning: base ‘OpenSP::RastSubdocState’ [-Wreorder] 129 | mgr_(mgr) | ^ RastEventHandler.cxx:124:1: warning: when initialized here [-Wreorder] 124 | RastEventHandler::RastEventHandler(SgmlParser *parser, Messenger *mgr) | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h: In constructor ‘OpenSP::SgmlsEventHandler::SgmlsEventHandler(const OpenSP::SgmlParser*, OpenSP::OutputCharStream*, OpenSP::Messenger*, unsigned int)’: SgmlsEventHandler.h:119:21: warning: ‘OpenSP::SgmlsEventHandler::os_’ will be initialized after [-Wreorder] 119 | OutputCharStream *os_; | ^~~ SgmlsEventHandler.h:117:14: warning: ‘OpenSP::Messenger* OpenSP::SgmlsEventHandler::messenger_’ [-Wreorder] 117 | Messenger *messenger_; | ^~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:131:17: warning: ‘OpenSP::SgmlsEventHandler::outputNotationSysid_’ will be initialized after [-Wreorder] 131 | PackedBoolean outputNotationSysid_; | ^~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:128:17: warning: ‘OpenSP::PackedBoolean OpenSP::SgmlsEventHandler::outputIncluded_’ [-Wreorder] 128 | PackedBoolean outputIncluded_; | ^~~~~~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:138:17: warning: ‘OpenSP::SgmlsEventHandler::outputParserInformation_’ will be initialized after [-Wreorder] 138 | PackedBoolean outputParserInformation_; | ^~~~~~~~~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:121:11: warning: ‘OpenSP::Boolean OpenSP::SgmlsEventHandler::haveData_’ [-Wreorder] 121 | Boolean haveData_; | ^~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ SgmlsEventHandler.h:124:28: warning: ‘OpenSP::SgmlsEventHandler::lastSos_’ will be initialized after [-Wreorder] 124 | const StorageObjectSpec *lastSos_; | ^~~~~~~~ SgmlsEventHandler.h:120:11: warning: ‘OpenSP::Boolean OpenSP::SgmlsEventHandler::inDocument_’ [-Wreorder] 120 | Boolean inDocument_; | ^~~~~~~~~~~ SgmlsEventHandler.cxx:90:1: warning: when initialized here [-Wreorder] 90 | SgmlsEventHandler::SgmlsEventHandler(const SgmlParser *parser, | ^~~~~~~~~~~~~~~~~ In file included from nsgmls.cxx:16: nsgmls.h: In constructor ‘NsgmlsApp::NsgmlsApp()’: nsgmls.h:37:11: warning: ‘NsgmlsApp::batchMode_’ will be initialized after [-Wreorder] 37 | Boolean batchMode_; | ^~~~~~~~~~ nsgmls.h:33:11: warning: ‘OpenSP::Boolean NsgmlsApp::prologOnly_’ [-Wreorder] 33 | Boolean prologOnly_; | ^~~~~~~~~~~ nsgmls.cxx:78:1: warning: when initialized here [-Wreorder] 78 | NsgmlsApp::NsgmlsApp() | ^~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ SgmlsEventHandler.h: In constructor ‘OpenSP::SgmlsSubdocState::SgmlsSubdocState()’: SgmlsEventHandler.h:38:11: warning: ‘OpenSP::SgmlsSubdocState::haveLinkProcess_’ will be initialized after [-Wreorder] 38 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: ‘const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_’ [-Wreorder] 35 | const SgmlParser *parser_; | ^~~~~~~ SgmlsEventHandler.cxx:701:1: warning: when initialized here [-Wreorder] 701 | SgmlsSubdocState::SgmlsSubdocState() | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h: In constructor ‘OpenSP::SgmlsSubdocState::SgmlsSubdocState(const OpenSP::SgmlParser*)’: SgmlsEventHandler.h:38:11: warning: ‘OpenSP::SgmlsSubdocState::haveLinkProcess_’ will be initialized after [-Wreorder] 38 | Boolean haveLinkProcess_; | ^~~~~~~~~~~~~~~~ SgmlsEventHandler.h:35:21: warning: ‘const OpenSP::SgmlParser* OpenSP::SgmlsSubdocState::parser_’ [-Wreorder] 35 | const SgmlParser *parser_; | ^~~~~~~ SgmlsEventHandler.cxx:706:1: warning: when initialized here [-Wreorder] 706 | SgmlsSubdocState::SgmlsSubdocState(const SgmlParser *parser) | ^~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = long unsigned int; size_t = long unsigned int]’: RastEventHandler.cxx:272:29: required from here 272 | Vector sortOrder(n); | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::AttributeList’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: ‘class OpenSP::AttributeList’ declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/LinkProcess.h:32:14: required from here 32 | class SP_API LinkProcess { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Vector]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ RastEventHandler.h:73:7: required from here 73 | class RastSubdocState { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Vector’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: ‘class OpenSP::Vector’ declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/LinkProcess.h:32:14: required from here 32 | class SP_API LinkProcess { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::AttributeList’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: ‘class OpenSP::AttributeList’ declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/LinkProcess.h:32:14: required from here 32 | class SP_API LinkProcess { | ^~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Vector]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Vector]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ RastEventHandler.cxx:71:34: required from here 71 | RastSubdocState::RastSubdocState() | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Vector’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:19:7: note: ‘class OpenSP::Vector’ declared here 19 | class Vector { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::AttributeList’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: ‘class OpenSP::AttributeList’ declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/.libs/libosp.so -lpthread creating onsgmls make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' Making all in spent make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spent.o spent.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from spent.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ spent.cxx: In constructor ‘SpentApp::SpentApp()’: spent.cxx:23:11: warning: ‘SpentApp::rawOutput_’ will be initialized after [-Wreorder] 23 | Boolean rawOutput_; | ^~~~~~~~~~ spent.cxx:22:11: warning: ‘OpenSP::Boolean SpentApp::isNdata_’ [-Wreorder] 22 | Boolean isNdata_; | ^~~~~~~~ spent.cxx:28:1: warning: when initialized here [-Wreorder] 28 | SpentApp::SpentApp() | ^~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ospent spent.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/ospent spent.o ../lib/.libs/libosp.so -lpthread creating ospent make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' Making all in spam make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spam.o spam.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o CopyEventHandler.o CopyEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o MarkupEventHandler.o MarkupEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spam_inst.o spam_inst.cxx In file included from ../include/Location.h:12, from ../include/Event.h:12, from MarkupEventHandler.h:11, from MarkupEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/SgmlParser.h:12, from spam.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from CopyEventHandler.h:10, from CopyEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from spam.cxx:8: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:705:7: required from here 705 | class AttlistNotationDeclEvent : public MarkupEvent { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ spam.cxx: In constructor ‘SpamApp::SpamApp()’: spam.cxx:64:11: warning: ‘SpamApp::rawOutput_’ will be initialized after [-Wreorder] 64 | Boolean rawOutput_; | ^~~~~~~~~~ spam.cxx:62:12: warning: ‘unsigned int SpamApp::normalizeFlags_’ [-Wreorder] 62 | unsigned normalizeFlags_; | ^~~~~~~~~~~~~~~ spam.cxx:69:1: warning: when initialized here [-Wreorder] 69 | SpamApp::SpamApp() | ^~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ spam.cxx: In constructor ‘XCopyEventHandler::XCopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const OpenSP::StringC&, OpenSP::Messenger*)’: spam.cxx:33:21: warning: ‘XCopyEventHandler::os_’ will be initialized after [-Wreorder] 33 | OutputCharStream *os_; | ^~~ spam.cxx:155:52: warning: base ‘OpenSP::CopyEventHandler’ [-Wreorder] 155 | CopyEventHandler(os, normalizeFlags, outputEntity) | ^ spam.cxx:150:1: warning: when initialized here [-Wreorder] 150 | XCopyEventHandler::XCopyEventHandler(OutputCharStream *os, | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ CopyEventHandler.h: In constructor ‘OpenSP::CopyEventHandler::CopyEventHandler(OpenSP::OutputCharStream*, unsigned int, const OpenSP::StringC&)’: CopyEventHandler.h:124:24: warning: ‘OpenSP::CopyEventHandler::currentAttributes_’ will be initialized after [-Wreorder] 124 | const AttributeList *currentAttributes_; | ^~~~~~~~~~~~~~~~~~ CopyEventHandler.h:123:11: warning: ‘OpenSP::Boolean OpenSP::CopyEventHandler::emptyElementNormal_’ [-Wreorder] 123 | Boolean emptyElementNormal_; | ^~~~~~~~~~~~~~~~~~~ CopyEventHandler.cxx:75:1: warning: when initialized here [-Wreorder] 75 | CopyEventHandler::CopyEventHandler(OutputCharStream *os, | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:14, from ../include/Notation.h:15: ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ CopyEventHandler.cxx: In member function ‘virtual void OpenSP::CopyEventHandler::startElement(OpenSP::StartElementEvent*)’: CopyEventHandler.cxx:320:40: warning: enum constant in boolean context [-Wint-in-bool-context] 320 | if (!closed && (normalizeFlags_ && normalizeUnclosed)) { | ^~~~~~~~~~~~~~~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]’: ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::CopyEventHandlerEntityInfo]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::CopyEventHandlerEntityInfo]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ CopyEventHandler.cxx:81:47: required from here 81 | currentAttributes_(0), emptyElementNormal_(0) | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::CopyEventHandlerEntityInfo’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CopyEventHandler.h:23:8: note: ‘struct OpenSP::CopyEventHandlerEntityInfo’ declared here 23 | struct CopyEventHandlerEntityInfo { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::AttributeList’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: ‘class OpenSP::AttributeList’ declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.cxx:29:9: required from ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]’ 29 | insert(ptr_ + size_, v.ptr_, v.ptr_ + v.size_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:41:14: required from here 41 | class SP_API Markup { | ^~~~~~ ../include/Vector.cxx:90:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 90 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/.libs/libosp.so -lpthread creating ospam make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' Making all in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sgmlnorm.o sgmlnorm.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o SGMLGenerator.o SGMLGenerator.cxx In file included from SGMLGenerator.cxx:9: SGMLGenerator.h: In constructor ‘SGMLGenerator::SGMLGenerator(OpenSP::OutputCharStream*, unsigned int)’: SGMLGenerator.h:68:7: warning: ‘SGMLGenerator::parseMode_’ will be initialized after [-Wreorder] 68 | } parseMode_; | ^~~~~~~~~~ SGMLGenerator.h:56:8: warning: ‘char SGMLGenerator::outputState_’ [-Wreorder] 56 | char outputState_; | ^~~~~~~~~~~~ SGMLGenerator.cxx:74:1: warning: when initialized here [-Wreorder] 74 | SGMLGenerator::SGMLGenerator(SP_NAMESPACE_SCOPE OutputCharStream *os, | ^~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sgmlnorm.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ sgmlnorm.cxx: In constructor ‘SgmlnormApp::SgmlnormApp()’: sgmlnorm.cxx:30:11: warning: ‘SgmlnormApp::rawOutput_’ will be initialized after [-Wreorder] 30 | Boolean rawOutput_; | ^~~~~~~~~~ sgmlnorm.cxx:29:12: warning: ‘unsigned int SgmlnormApp::genFlags_’ [-Wreorder] 29 | unsigned genFlags_; | ^~~~~~~~~ sgmlnorm.cxx:35:1: warning: when initialized here [-Wreorder] 35 | SgmlnormApp::SgmlnormApp() | ^~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/SgmlParser.h:11: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 osgmlnorm sgmlnorm.o SGMLGenerator.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/osgmlnorm sgmlnorm.o SGMLGenerator.o ../lib/.libs/libosp.so -lpthread creating osgmlnorm make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' Making all in sx make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sx.o sx.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o XmlOutputEventHandler.o XmlOutputEventHandler.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sx_inst.o sx_inst.cxx In file included from ../include/EntityManager.h:15, from ../include/ExtendEntityManager.h:11, from XmlOutputEventHandler.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from sx.cxx:7: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from XmlOutputEventHandler.cxx:10: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XmlOutputEventHandler.h:17, from XmlOutputEventHandler.cxx:11: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ XmlOutputEventHandler.h: In constructor ‘OpenSP::XmlOutputEventHandler::XmlOutputEventHandler(const Options&, OpenSP::OutputCharStream*, const OpenSP::StringC&, const char*, const char*, const OpenSP::Ptr&, const OpenSP::CharsetInfo&, OpenSP::CmdLineApp*)’: XmlOutputEventHandler.h:118:11: warning: ‘OpenSP::XmlOutputEventHandler::options_’ will be initialized after [-Wreorder] 118 | Options options_; | ^~~~~~~~ XmlOutputEventHandler.h:107:21: warning: ‘OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::os_’ [-Wreorder] 107 | OutputCharStream *os_; | ^~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:107:21: warning: ‘OpenSP::XmlOutputEventHandler::os_’ will be initialized after [-Wreorder] 107 | OutputCharStream *os_; | ^~~ XmlOutputEventHandler.h:101:28: warning: ‘OpenSP::Ptr OpenSP::XmlOutputEventHandler::entityManager_’ [-Wreorder] 101 | Ptr entityManager_; | ^~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:106:22: warning: ‘OpenSP::XmlOutputEventHandler::systemCharset_’ will be initialized after [-Wreorder] 106 | const CharsetInfo *systemCharset_; | ^~~~~~~~~~~~~~ XmlOutputEventHandler.h:100:15: warning: ‘OpenSP::CmdLineApp* OpenSP::XmlOutputEventHandler::app_’ [-Wreorder] 100 | CmdLineApp *app_; | ^~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:116:11: warning: ‘OpenSP::XmlOutputEventHandler::inCdata_’ will be initialized after [-Wreorder] 116 | Boolean inCdata_; | ^~~~~~~~ XmlOutputEventHandler.h:115:11: warning: ‘OpenSP::Boolean OpenSP::XmlOutputEventHandler::useCdata_’ [-Wreorder] 115 | Boolean useCdata_; | ^~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:119:11: warning: ‘OpenSP::XmlOutputEventHandler::namecaseGeneral_’ will be initialized after [-Wreorder] 119 | Boolean namecaseGeneral_; | ^~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:110:25: warning: ‘OpenSP::FileOutputByteStream* OpenSP::XmlOutputEventHandler::extEntFile_’ [-Wreorder] 110 | FileOutputByteStream *extEntFile_; | ^~~~~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.h:111:25: warning: ‘OpenSP::XmlOutputEventHandler::intEntFile_’ will be initialized after [-Wreorder] 111 | FileOutputByteStream *intEntFile_; | ^~~~~~~~~~~ XmlOutputEventHandler.h:108:21: warning: ‘OpenSP::OutputCharStream* OpenSP::XmlOutputEventHandler::extEnts_’ [-Wreorder] 108 | OutputCharStream *extEnts_; | ^~~~~~~~ XmlOutputEventHandler.cxx:78:1: warning: when initialized here [-Wreorder] 78 | XmlOutputEventHandler::XmlOutputEventHandler(const Options &options, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx: In member function ‘void OpenSP::XmlOutputEventHandler::outputCdata(const OpenSP::Char*, size_t)’: XmlOutputEventHandler.cxx:1020:11: warning: comparison of integer expressions of different signedness: ‘OpenSP::Char’ {aka ‘unsigned int’} and ‘const char’ [-Wsign-compare] 1020 | if (c == cdataEnd[nCdataEndMatched_]) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/EntityManager.h:12: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:16, from ../include/ExtendEntityManager.h:18: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::AttributeList]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::AttributeList]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Event.h:458:7: required from here 458 | class EndPrologEvent : public LocatedEvent { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::AttributeList’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Attribute.h:482:14: note: ‘class OpenSP::AttributeList’ declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::StorageObjectSpec]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::StorageObjectSpec’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:29:15: note: ‘struct OpenSP::StorageObjectSpec’ declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ParsedSystemId::Map]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ExtendEntityManager.h:59:15: required from here 59 | struct SP_API ParsedSystemId : public Vector { | ^~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::ParsedSystemId::Map’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ExtendEntityManager.h:62:17: note: ‘struct OpenSP::ParsedSystemId::Map’ declared here 62 | struct SP_API Map { | ^~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ In file included from XmlOutputEventHandler.h:17, from sx.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ XmlOutputEventHandler.cxx: In member function ‘virtual void OpenSP::XmlOutputEventHandler::inputOpened(OpenSP::InputSource*)’: XmlOutputEventHandler.cxx:1206:19: warning: ignoring return value of ‘char* realpath(const char*, char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1206 | realpath((const char *)dirname(dirs), realDirs); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XmlOutputEventHandler.cxx:1207:19: warning: ignoring return value of ‘char* realpath(const char*, char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1207 | realpath((const char *)dirname(outputDir), realOutputDir); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.h: In instantiation of ‘OpenSP::Vector::Vector(size_t) [with T = OpenSP::LeafContentToken*; size_t = long unsigned int]’: ../include/ContentToken.h:61:51: required from here 61 | LastSet(size_t n) : Vector(n) { } | ^ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.h:25:3: warning: when initialized here [-Wreorder] 25 | Vector(size_t n) : ptr_(0), size_(0), alloc_(0) { append(n); } | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/OutputCharStream.h:10, from sx.cxx:6: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22: ../include/Vector.cxx: In instantiation of ‘T* OpenSP::NCVector::erase(const T*, const T*) [with T = OpenSP::Owner]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::NCVector::~NCVector() [with T = OpenSP::Owner]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:123:32: required from here 123 | inline virtual ~ModelGroup() {}; | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Owner’ with no trivial copy-assignment [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OutputCharStream.h:11: ../include/Owner.h:16:7: note: ‘class OpenSP::Owner’ declared here 16 | class Owner { | ^~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Transition]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Transition]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ContentToken.h:187:13: required from here 187 | AndInfo() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct OpenSP::Transition’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/ContentToken.h:22:15: note: ‘struct OpenSP::Transition’ declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14: ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/ShortReferenceMap.h:26:31: required from here 26 | inline ~ShortReferenceMap() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::ConstPtr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:53:7: note: ‘class OpenSP::ConstPtr’ declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from ../include/ParserApp.h:13: ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(size_t, const T&) [with T = OpenSP::Named*; size_t = long unsigned int]’: ../include/PointerTable.cxx:56:12: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Named*; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedTableKeyFunction; OpenSP::Boolean = bool]’ 56 | Vector

oldVec(vec_.size()*2, P(0)); | ^~~~~~ ../include/NamedTable.h:28:40: required from ‘T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]’ 28 | T *insert(T *p) { return (T *)table_.insert(p); } | ~~~~~~~^~~~~~ ../include/Dtd.h:279:34: required from here 279 | return elementTypeTable_.insert(e); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘void OpenSP::Vector::insert(const T*, size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’: ../include/Vector.cxx:62:11: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 62 | insert(ptr_ + size_, n - size_, t); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:76:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 76 | memmove(ptr_ + i + n, ptr_ + i, (size_ - i)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Ptr]’: ../include/Vector.cxx:65:5: required from ‘void OpenSP::Vector::assign(size_t, const T&) [with T = OpenSP::Ptr; size_t = long unsigned int]’ 65 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/PointerTable.cxx:32:16: required from ‘P OpenSP::PointerTable::insert(P, OpenSP::Boolean) [with P = OpenSP::Ptr; K = OpenSP::String; HF = OpenSP::Hash; KF = OpenSP::NamedResourceKeyFunction; OpenSP::Boolean = bool]’ 32 | vec_.assign(8, P(0)); | ~~~~~~~~~~~^~~~~~~~~ ../include/NamedResourceTable.h:37:30: required from ‘OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]’ 37 | return (T *)table_.insert((NamedResource *)p.pointer(), replace).pointer(); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Dtd.h:165:35: required from here 162 | return ((entity->declType() == Entity::parameterEntity | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | || entity->declType() == Entity::doctype) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 164 | ? ¶meterEntityTable_ | ~~~~~~~~~~~~~~~~~~~~~~~~ 165 | : &generalEntityTable_)->insert(entity, replace); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Ptr’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Ptr.h:17:7: note: ‘class OpenSP::Ptr’ declared here 17 | class Ptr { | ^~~ XmlOutputEventHandler.cxx: In member function ‘OpenSP::XmlOutputEventHandler::uniqueFilename(char*)’: XmlOutputEventHandler.cxx:1538:24: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1538 | sprintf(numStr, "%d", num); | ^ In file included from /usr/include/stdio.h:970, from XmlOutputEventHandler.cxx:24: In function ‘sprintf’, inlined from ‘OpenSP::XmlOutputEventHandler::uniqueFilename(char*)’ at XmlOutputEventHandler.cxx:1538:12: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 2 and 4 bytes into a destination of size 3 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/.libs/libosp.so -lpthread creating osx make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' Making all in spcat make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spcat.o spcat.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spcat_inst.o spcat_inst.cxx In file included from ../include/Location.h:12, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from ../include/EntityApp.h:11, from spcat.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favor of using-declarations; suggestion: add the ‘using’ keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from spcat.cxx:7: ../include/Syntax.h: In member function ‘OpenSP::Boolean OpenSP::Syntax::isB(OpenSP::Xchar) const’: ../include/Syntax.h:382:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: ‘OpenSP::Xchar’ {aka ‘int’} and ‘const OpenSP::Char’ {aka ‘const unsigned int’} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ spcat.cxx: In member function ‘virtual void SpcatApp::processOption(OpenSP::CmdLineApp::AppChar, const OpenSP::CmdLineApp::AppChar*)’: spcat.cxx:146:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 146 | for (int i = 0; i < ret.size(); i++) | ~~^~~~~~~~~~~~ In file included from ../include/Location.h:15: ../include/Vector.cxx: In instantiation of ‘OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]’: ../include/RangeMap.h:27:7: required from here 27 | class RangeMap { | ^~~~~~~~ ../include/Vector.h:66:6: warning: ‘OpenSP::Vector >::ptr_’ will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Vector.h:65:10: warning: ‘size_t OpenSP::Vector >::size_’ [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::String]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::String]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:57:29: required from here 57 | AttributeDefinitionDesc() { } | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Location.h:17: ../include/StringOf.h:23:7: note: ‘class OpenSP::String’ declared here 23 | class String { | ^~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::Attribute]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::Attribute]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/Attribute.h:486:27: required from here 486 | inline ~AttributeList() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::Attribute’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15: ../include/Attribute.h:461:14: note: ‘class OpenSP::Attribute’ declared here 461 | class SP_API Attribute { | ^~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::CharsetDeclRange]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::CharsetDeclRange]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CharsetDecl.h:53:25: required from here 53 | ~CharsetDeclSection() {} | ^ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class OpenSP::CharsetDeclRange’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13: ../include/CharsetDecl.h:20:14: note: ‘class OpenSP::CharsetDeclRange’ declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MarkupItem]’: ../include/Vector.h:29:7: required from ‘void OpenSP::Vector::resize(size_t) [with T = OpenSP::MarkupItem; size_t = long unsigned int]’ 29 | erase(ptr_ + n, ptr_ + size_); | ^~~~~ ../include/Markup.h:125:16: required from here 125 | items_.resize(0); | ~~~~~~~~~~~~~^~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct OpenSP::MarkupItem’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Markup.h:24:15: note: ‘struct OpenSP::MarkupItem’ declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageType1]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageType1]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageType1’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:90:14: note: ‘class OpenSP::MessageType1’ declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of ‘T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::MessageFragment]’: ../include/Vector.cxx:18:5: required from ‘OpenSP::Vector::~Vector() [with T = OpenSP::MessageFragment]’ 18 | erase(ptr_, ptr_ + size_); | ^~~~~ ../include/CmdLineApp.h:36:14: required from here 36 | class SP_API CmdLineApp : public SP_REPORTER_CLASS { | ^~~~~~~~~~ ../include/Vector.cxx:134:12: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class OpenSP::MessageFragment’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memmove((T *)p1, p2, ((const T *)(ptr_ + size_) - p2)*sizeof(T)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Message.h:33:14: note: ‘class OpenSP::MessageFragment’ declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ospcat spcat.o spcat_inst.o ../lib/libosp.la -lpthread mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,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 .libs/ospcat spcat.o spcat_inst.o ../lib/.libs/libosp.so -lpthread creating ospcat make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' Making all in docsrc make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' /usr/bin/xmlto man onsgmls.xml /usr/bin/xmlto man osgmlnorm.xml /usr/bin/xmlto man ospent.xml /usr/bin/xmlto man ospam.xml /usr/bin/xmlto man osx.xml /usr/bin/xmlto man ospcat.xml Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for James Clark Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Warn: AUTHOR sect.: no personblurb|contrib for Ian Castle Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/contr Note: AUTHOR sect.: see http://www.docbook.org/tdg5/en/html/perso Note: Writing ospent.1 Note: Writing ospcat.1 Note: Writing osgmlnorm.1 Note: Writing osx.1 Note: Writing ospam.1 Note: Writing onsgmls.1 make all-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' /usr/bin/xmlto html-nochunks ./releasenotes.xml make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[1]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gOa3Bi + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + '[' /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/opensp-1.5.2-build + mkdir /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 OpenSP-1.5.2 + rm -rf /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT + make install DESTDIR=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT make install-recursive make[1]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' Making install in pubtext make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP" /usr/bin/install -c -m 644 'HTML32.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML32.dcl' /usr/bin/install -c -m 644 'HTML32.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML32.dtd' /usr/bin/install -c -m 644 'HTML32.soc' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML32.soc' /usr/bin/install -c -m 644 'HTML4-f.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML4-f.dtd' /usr/bin/install -c -m 644 'HTML4-s.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML4-s.dtd' /usr/bin/install -c -m 644 'HTML4.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML4.dcl' /usr/bin/install -c -m 644 'HTML4.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML4.dtd' /usr/bin/install -c -m 644 'HTML4.soc' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTML4.soc' /usr/bin/install -c -m 644 'HTMLlat1.ent' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTMLlat1.ent' /usr/bin/install -c -m 644 'HTMLspec.ent' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTMLspec.ent' /usr/bin/install -c -m 644 'HTMLsym.ent' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/HTMLsym.ent' /usr/bin/install -c -m 644 'ISOlat1.ent' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/ISOlat1.ent' /usr/bin/install -c -m 644 'ISOlat1.sgm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/ISOlat1.sgm' /usr/bin/install -c -m 644 'html-1.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html-1.dtd' /usr/bin/install -c -m 644 'html-1s.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html-1s.dtd' /usr/bin/install -c -m 644 'html-s.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html-s.dtd' /usr/bin/install -c -m 644 'html.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html.dcl' /usr/bin/install -c -m 644 'html.dtd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html.dtd' /usr/bin/install -c -m 644 'html.soc' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/html.soc' /usr/bin/install -c -m 644 'xml.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/xml.dcl' /usr/bin/install -c -m 644 'xml.soc' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/xml.soc' /usr/bin/install -c -m 644 'japan.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/japan.dcl' /usr/bin/install -c -m 644 'opensp-implied.dcl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/opensp-implied.dcl' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' Making install in unicode make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP" /usr/bin/install -c -m 644 'catalog' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/catalog' /usr/bin/install -c -m 644 'demo.sgm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/demo.sgm' /usr/bin/install -c -m 644 'gensyntax.pl' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/gensyntax.pl' /usr/bin/install -c -m 644 'unicode.sd' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/unicode.sd' /usr/bin/install -c -m 644 'unicode.syn' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP/unicode.syn' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' Making install in doc make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/OpenSP/doc" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc" /usr/bin/install -c -m 644 'archform.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/archform.htm' /usr/bin/install -c -m 644 'build.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/build.htm' /usr/bin/install -c -m 644 'catalog.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/catalog.htm' /usr/bin/install -c -m 644 'charset.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/charset.htm' /usr/bin/install -c -m 644 'features.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/features.htm' /usr/bin/install -c -m 644 'generic.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/generic.htm' /usr/bin/install -c -m 644 'ideas.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/ideas.htm' /usr/bin/install -c -m 644 'index.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/index.htm' /usr/bin/install -c -m 644 'new.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/new.htm' /usr/bin/install -c -m 644 'nsgmls.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/nsgmls.htm' /usr/bin/install -c -m 644 'sgmldecl.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sgmldecl.htm' /usr/bin/install -c -m 644 'sgmlnorm.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sgmlnorm.htm' /usr/bin/install -c -m 644 'sgmlsout.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sgmlsout.htm' /usr/bin/install -c -m 644 'spam.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/spam.htm' /usr/bin/install -c -m 644 'spcat.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/spcat.htm' /usr/bin/install -c -m 644 'spent.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/spent.htm' /usr/bin/install -c -m 644 'sx.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sx.htm' /usr/bin/install -c -m 644 'sysdecl.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sysdecl.htm' /usr/bin/install -c -m 644 'sysid.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/sysid.htm' /usr/bin/install -c -m 644 'xml.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/xml.htm' /usr/bin/install -c -m 644 'xmlwarn.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/xmlwarn.htm' /usr/bin/install -c -m 644 'autoconf.htm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/doc/autoconf.htm' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' Making install in include make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP" /usr/bin/install -c -m 644 'Allocator.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Allocator.h' /usr/bin/install -c -m 644 'ArcEngine.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ArcEngine.h' /usr/bin/install -c -m 644 'Attribute.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Attribute.h' /usr/bin/install -c -m 644 'Attributed.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Attributed.h' /usr/bin/install -c -m 644 'Big5CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Big5CodingSystem.h' /usr/bin/install -c -m 644 'Boolean.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Boolean.h' /usr/bin/install -c -m 644 'CharMap.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CharMap.cxx' /usr/bin/install -c -m 644 'CharMap.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CharMap.h' /usr/bin/install -c -m 644 'CharsetDecl.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CharsetDecl.h' /usr/bin/install -c -m 644 'CharsetInfo.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CharsetInfo.h' /usr/bin/install -c -m 644 'CharsetRegistry.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CharsetRegistry.h' /usr/bin/install -c -m 644 'CmdLineApp.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CmdLineApp.h' /usr/bin/install -c -m 644 'CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CodingSystem.h' /usr/bin/install -c -m 644 'CodingSystemKit.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CodingSystemKit.h' /usr/bin/install -c -m 644 'ConsoleOutput.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ConsoleOutput.h' /usr/bin/install -c -m 644 'ContentState.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ContentState.h' /usr/bin/install -c -m 644 'ContentToken.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ContentToken.h' /usr/bin/install -c -m 644 'CopyOwner.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CopyOwner.cxx' /usr/bin/install -c -m 644 'CopyOwner.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/CopyOwner.h' /usr/bin/install -c -m 644 'DescriptorManager.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/DescriptorManager.h' /usr/bin/install -c -m 644 'Dtd.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Dtd.h' /usr/bin/install -c -m 644 'EUCJPCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EUCJPCodingSystem.h' /usr/bin/install -c -m 644 'ElementType.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ElementType.h' /usr/bin/install -c -m 644 'Entity.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Entity.h' /usr/bin/install -c -m 644 'EntityApp.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EntityApp.h' /usr/bin/install -c -m 644 'EntityCatalog.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EntityCatalog.h' /usr/bin/install -c -m 644 'EntityDecl.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EntityDecl.h' /usr/bin/install -c -m 644 'EntityManager.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EntityManager.h' /usr/bin/install -c -m 644 'ErrnoMessageArg.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ErrnoMessageArg.h' /usr/bin/install -c -m 644 'ErrorCountEventHandler.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ErrorCountEventHandler.h' /usr/bin/install -c -m 644 'Event.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Event.h' /usr/bin/install -c -m 644 'EventsWanted.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EventsWanted.h' /usr/bin/install -c -m 644 'ExtendEntityManager.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ExtendEntityManager.h' /usr/bin/install -c -m 644 'ExternalId.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ExternalId.h' /usr/bin/install -c -m 644 'Fixed2CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Fixed2CodingSystem.h' /usr/bin/install -c -m 644 'GenericEventHandler.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/GenericEventHandler.h' /usr/bin/install -c -m 644 'Hash.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Hash.h' /usr/bin/install -c -m 644 'HashTable.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/HashTable.cxx' /usr/bin/install -c -m 644 'HashTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/HashTable.h' /usr/bin/install -c -m 644 'HashTableItemBase.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/HashTableItemBase.cxx' /usr/bin/install -c -m 644 'HashTableItemBase.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/HashTableItemBase.h' /usr/bin/install -c -m 644 'IList.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IList.h' /usr/bin/install -c -m 644 'IListBase.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IListBase.h' /usr/bin/install -c -m 644 'IListIter.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IListIter.h' /usr/bin/install -c -m 644 'IListIterBase.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IListIterBase.h' /usr/bin/install -c -m 644 'IQueue.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IQueue.cxx' /usr/bin/install -c -m 644 'IQueue.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IQueue.h' /usr/bin/install -c -m 644 'ISet.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ISet.cxx' /usr/bin/install -c -m 644 'ISet.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ISet.h' /usr/bin/install -c -m 644 'ISetIter.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ISetIter.h' /usr/bin/install -c -m 644 'IdentityCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/IdentityCodingSystem.h' /usr/bin/install -c -m 644 'InputSource.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/InputSource.h' /usr/bin/install -c -m 644 'InternalInputSource.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/InternalInputSource.h' /usr/bin/install -c -m 644 'Link.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Link.h' /usr/bin/install -c -m 644 'LinkProcess.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/LinkProcess.h' /usr/bin/install -c -m 644 'List.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/List.cxx' /usr/bin/install -c -m 644 'List.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/List.h' /usr/bin/install -c -m 644 'ListIter.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ListIter.h' /usr/bin/install -c -m 644 'LiteralStorage.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/LiteralStorage.h' /usr/bin/install -c -m 644 'Location.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Location.h' /usr/bin/install -c -m 644 'Lpd.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Lpd.h' /usr/bin/install -c -m 644 'Markup.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Markup.h' /usr/bin/install -c -m 644 'Message.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Message.h' /usr/bin/install -c -m 644 'MessageArg.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageArg.h' /usr/bin/install -c -m 644 'MessageBuilder.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageBuilder.h' /usr/bin/install -c -m 644 'MessageEventHandler.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageEventHandler.h' /usr/bin/install -c -m 644 'MessageFormatter.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageFormatter.h' /usr/bin/install -c -m 644 'MessageModule.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageModule.h' /usr/bin/install -c -m 644 'MessageReporter.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageReporter.h' /usr/bin/install -c -m 644 'MessageTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/MessageTable.h' /usr/bin/install -c -m 644 'Mode.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Mode.h' /usr/bin/install -c -m 644 'NCVector.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/NCVector.h' /usr/bin/install -c -m 644 'Named.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Named.h' /usr/bin/install -c -m 644 'NamedResource.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/NamedResource.h' /usr/bin/install -c -m 644 'NamedResourceTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/NamedResourceTable.h' /usr/bin/install -c -m 644 'NamedTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/NamedTable.h' /usr/bin/install -c -m 644 'Notation.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Notation.h' /usr/bin/install -c -m 644 'NotationStorage.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/NotationStorage.h' /usr/bin/install -c -m 644 'OpenElement.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/OpenElement.h' /usr/bin/install -c -m 644 'Options.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Options.cxx' /usr/bin/install -c -m 644 'Options.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Options.h' /usr/bin/install -c -m 644 'OutputByteStream.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/OutputByteStream.h' /usr/bin/install -c -m 644 'OutputCharStream.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/OutputCharStream.h' /usr/bin/install -c -m 644 'Owner.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Owner.cxx' /usr/bin/install -c -m 644 'Owner.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Owner.h' /usr/bin/install -c -m 644 'OwnerTable.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/OwnerTable.cxx' /usr/bin/install -c -m 644 'OwnerTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/OwnerTable.h' /usr/bin/install -c -m 644 'ParserApp.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ParserApp.h' /usr/bin/install -c -m 644 'ParserOptions.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ParserOptions.h' /usr/bin/install -c -m 644 'PointerTable.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/PointerTable.cxx' /usr/bin/install -c -m 644 'PointerTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/PointerTable.h' /usr/bin/install -c -m 644 'PosixStorage.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/PosixStorage.h' /usr/bin/install -c -m 644 'Ptr.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Ptr.cxx' /usr/bin/install -c -m 644 'Ptr.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Ptr.h' /usr/bin/install -c -m 644 'RangeMap.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/RangeMap.cxx' /usr/bin/install -c -m 644 'RangeMap.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/RangeMap.h' /usr/bin/install -c -m 644 'Resource.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Resource.h' /usr/bin/install -c -m 644 'RewindStorageObject.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/RewindStorageObject.h' /usr/bin/install -c -m 644 'SJISCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SJISCodingSystem.h' /usr/bin/install -c -m 644 'SOEntityCatalog.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SOEntityCatalog.h' /usr/bin/install -c -m 644 'Sd.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Sd.h' /usr/bin/install -c -m 644 'SdText.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SdText.h' /usr/bin/install -c -m 644 'SearchResultMessageArg.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SearchResultMessageArg.h' /usr/bin/install -c -m 644 'SgmlParser.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SgmlParser.h' /usr/bin/install -c -m 644 'ShortReferenceMap.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ShortReferenceMap.h' /usr/bin/install -c -m 644 'StdioStorage.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StdioStorage.h' /usr/bin/install -c -m 644 'StorageManager.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StorageManager.h' /usr/bin/install -c -m 644 'StringC.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StringC.h' /usr/bin/install -c -m 644 'StringOf.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StringOf.cxx' /usr/bin/install -c -m 644 'StringOf.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StringOf.h' /usr/bin/install -c -m 644 'StringResource.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/StringResource.h' /usr/bin/install -c -m 644 'SubstTable.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SubstTable.h' /usr/bin/install -c -m 644 'Syntax.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Syntax.h' /usr/bin/install -c -m 644 'Text.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Text.h' /usr/bin/install -c -m 644 'TranslateCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/TranslateCodingSystem.h' /usr/bin/install -c -m 644 'TypeId.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/TypeId.h' /usr/bin/install -c -m 644 'URLStorage.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/URLStorage.h' /usr/bin/install -c -m 644 'UTF8CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/UTF8CodingSystem.h' /usr/bin/install -c -m 644 'UnicodeCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/UnicodeCodingSystem.h' /usr/bin/install -c -m 644 'UnivCharsetDesc.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/UnivCharsetDesc.h' /usr/bin/install -c -m 644 'Vector.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Vector.cxx' /usr/bin/install -c -m 644 'Vector.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Vector.h' /usr/bin/install -c -m 644 'XMLCodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/XMLCodingSystem.h' /usr/bin/install -c -m 644 'XcharMap.cxx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/XcharMap.cxx' /usr/bin/install -c -m 644 'XcharMap.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/XcharMap.h' /usr/bin/install -c -m 644 'constant.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/constant.h' /usr/bin/install -c -m 644 'macros.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/macros.h' /usr/bin/install -c -m 644 'rtti.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/rtti.h' /usr/bin/install -c -m 644 'sptchar.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/sptchar.h' /usr/bin/install -c -m 644 'types.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/types.h' /usr/bin/install -c -m 644 'xnew.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/xnew.h' /usr/bin/install -c -m 644 'UTF16CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/UTF16CodingSystem.h' /usr/bin/install -c -m 644 'Fixed4CodingSystem.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/Fixed4CodingSystem.h' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' Making install in generic make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP" /usr/bin/install -c -m 644 'ParserEventGeneratorKit.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/ParserEventGeneratorKit.h' /usr/bin/install -c -m 644 'EventGenerator.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/EventGenerator.h' /usr/bin/install -c -m 644 'SGMLApplication.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/SGMLApplication.h' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' Making install in intl make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' if { test "OpenSP" = "gettext-runtime" || test "OpenSP" = "gettext-tools"; } \ && test 'no' = yes; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64 /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include; \ /usr/bin/install -c -m 644 libintl.h /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/libintl.h; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -c -m 644 libintl.a /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libintl.a; \ if test "@RELOCATABLE@" = yes; then \ dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libintl.la | sed -e "s,^',," -e "s,'\$,,"`; \ if test -n "$dependencies"; then \ rm -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libintl.la; \ fi; \ fi; \ else \ : ; \ fi if test "OpenSP" = "gettext-tools" \ && test 'no' = no \ && test yes != no; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64; \ /bin/sh ../libtool --mode=install \ /usr/bin/install -c -m 644 libgnuintl.a /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libgnuintl.a; \ rm -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/preloadable_libintl.so; \ /usr/bin/install -c -m 644 /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libgnuintl.so /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/preloadable_libintl.so; \ /bin/sh ../libtool --mode=uninstall \ rm -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libgnuintl.a; \ else \ : ; \ fi if test 'no' = yes; then \ test yes != no || /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64; \ temp=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/t-charset.alias; \ dest=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/charset.alias; \ if test -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/charset.alias; then \ orig=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ if test yes = no; then \ orig=charset.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ fi; \ fi; \ /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale; \ test -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/locale.alias \ && orig=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/locale.alias \ || orig=./locale.alias; \ temp=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/t-locale.alias; \ dest=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/locale.alias; \ sed -f ref-add.sed $orig > $temp; \ /usr/bin/install -c -m 644 $temp $dest; \ rm -f $temp; \ else \ : ; \ fi if test "OpenSP" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl; \ /usr/bin/install -c -m 644 VERSION /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/VERSION; \ /usr/bin/install -c -m 644 ChangeLog.inst /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/ChangeLog; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h loadinfo.h plural-exp.h eval-plural.h localcharset.h relocatable.h xsize.h printf-args.h printf-args.c printf-parse.h wprintf-parse.h printf-parse.c vasnprintf.h vasnwprintf.h vasnprintf.c os2compat.h libgnuintl.h.in bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c relocatable.c langprefs.c localename.c log.c printf.c osdep.c os2compat.c intl-compat.c"; \ for file in $dists; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ chmod a+x /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/config.charset; \ dists="plural.c"; \ for file in $dists; do \ if test -f $file; then dir=.; else dir=.; fi; \ /usr/bin/install -c -m 644 $dir/$file \ /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h"; \ for file in $dists; do \ rm -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' Making install in po make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share mkdir -p -- /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES installing ja.gmo as /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES installing sv.gmo as /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES/sp5.mo mkdir -p -- /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES installing tr.gmo as /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES/sp5.mo if test "sp5" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' test -z "/usr/lib64" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c 'libosp.la' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libosp.la' /usr/bin/install -c .libs/libosp.so.5.0.0 /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libosp.so.5.0.0 (cd /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64 && rm -f libosp.so.5 && ln -s libosp.so.5.0.0 libosp.so.5) (cd /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64 && rm -f libosp.so && ln -s libosp.so.5.0.0 libosp.so) /usr/bin/install -c .libs/libosp.lai /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libosp.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' Making install in nsgmls make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'onsgmls' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/onsgmls' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/onsgmls /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/onsgmls make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' Making install in spent make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospent' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospent' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospent /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospent make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' Making install in spam make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospam' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospam' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospam /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospam make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' Making install in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'osgmlnorm' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/osgmlnorm' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/osgmlnorm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/osgmlnorm make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' Making install in sx make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'osx' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/osx' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/osx /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/osx make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' Making install in spcat make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c 'ospcat' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospcat' libtool: install: warning: `../lib/libosp.la' has not been installed in `/usr/lib64' /usr/bin/install -c .libs/ospcat /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/ospcat make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' Making install in tests make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' Making install in docsrc make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make install-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[4]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[4]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1" /usr/bin/install -c -m 644 './onsgmls.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/onsgmls.1' /usr/bin/install -c -m 644 './osgmlnorm.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/osgmlnorm.1' /usr/bin/install -c -m 644 './ospent.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/ospent.1' /usr/bin/install -c -m 644 './ospam.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/ospam.1' /usr/bin/install -c -m 644 './osx.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/osx.1' /usr/bin/install -c -m 644 './ospcat.1' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/ospcat.1' test -z "/usr/share/doc/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP" /usr/bin/install -c -m 644 'releasenotes.html' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/releasenotes.html' make[4]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc' make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[3]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/doc/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP" /usr/bin/install -c -m 644 'README' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/README' /usr/bin/install -c -m 644 'ABOUT-NLS' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/ABOUT-NLS' /usr/bin/install -c -m 644 'NEWS' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/NEWS' /usr/bin/install -c -m 644 'COPYING' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/COPYING' /usr/bin/install -c -m 644 'AUTHORS' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/AUTHORS' /usr/bin/install -c -m 644 'BUGS' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/BUGS' /usr/bin/install -c -m 644 'ChangeLog' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP/ChangeLog' test -z "/usr/include/OpenSP" || mkdir -p -- "/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP" /usr/bin/install -c -m 644 'config.h' '/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/include/OpenSP/config.h' make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[1]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' + rm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/lib64/libosp.la + for file in nsgmls sgmlnorm spam spent sx + ln -s onsgmls /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/nsgmls + echo '.so man1/onsgmls.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s osgmlnorm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/sgmlnorm + echo '.so man1/osgmlnorm.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s ospam /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/spam + echo '.so man1/ospam.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s ospent /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/spent + echo '.so man1/ospent.1' + for file in nsgmls sgmlnorm spam spent sx + ln -s osx /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/sx + echo '.so man1/osx.1' + mv /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/sx /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/bin/sgml2xml + mv /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/sx.1 /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/man/man1/sgml2xml.1 + rm -rf /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/OpenSP + rm -rf /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/OpenSP + /usr/lib/rpm/find-lang.sh /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT sp5 + export QA_RPATHS=0x0001 + QA_RPATHS=0x0001 + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 1.5.2-47.fc41 --unique-debug-suffix -1.5.2-47.fc41.x86_64 --unique-debug-src-base opensp-1.5.2-47.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2 find-debuginfo: starting Extracting debug info from 7 files DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/opensp-1.5.2-47.fc41.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT Scanned 39 directories and 493 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/opensp-1.5.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Yq5GpK + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 OpenSP-1.5.2 + make check make check-recursive make[1]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' Making check in pubtext make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext' Making check in unicode make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/unicode' Making check in doc make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc' Making check in include make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/include' Making check in generic make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/generic' Making check in intl make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/intl' Making check in po make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/po' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/lib' Making check in nsgmls make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls' Making check in spent make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spent' Making check in spam make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spam' Making check in sgmlnorm make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sgmlnorm' Making check in sx make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/sx' Making check in spcat make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make check-am make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/spcat' Making check in tests make[2]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' PASS: onsgmls-1 PASS: onsgmls-2 PASS: osnorm-1 PASS: af-1 PASS: af-2 PASS: af-3 PASS: af-4 PASS: af-5 PASS: af-6 PASS: af-12 PASS: af-13 PASS: af-14 PASS: af-15 PASS: af-16 PASS: af-18 PASS: af-19 /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:E: error reading "./cat-2/" (Is a directory) FAIL: catalog-2 /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:af-7.sgml:3:1:E: value of attribute "TYPE" cannot be "A"; must be one of "ZZZ", "YYY" 2c2 < ATYPE TOKEN YYY --- > ATYPE TOKEN A FAIL: af-7 /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/nsgmls/.libs/lt-onsgmls:af-8.sgml:3:1:E: value of attribute "ROLE" cannot be "A"; must be one of "ZZZ", "YYY" 2c2 < AROLE TOKEN YYY --- > AROLE TOKEN A FAIL: af-8 3c3 < AN CDATA verse 1 --- > AN CDATA 1 7c7 < AN CDATA verse 2 --- > AN CDATA 2 FAIL: af-9 4c4 < ATEXT CDATA verse 1 --- > ATEXT IMPLIED 8c8 < ATEXT CDATA verse 2 --- > ATEXT IMPLIED FAIL: af-10 3c3 < ATEXT CDATA verse 1 --- > ATEXT IMPLIED 5c5 < -1 --- > -verse 1 7c7 < ATEXT CDATA verse 2 --- > ATEXT IMPLIED 9c9 < -2 --- > -verse 2 FAIL: af-11 PASS: catalog-1 ==================== 6 of 23 tests failed ==================== make[3]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[3]: *** [Makefile:289: check-TESTS] Error 1 make[2]: *** [Makefile:389: check-am] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/tests' make[1]: Leaving directory '/builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2' make[1]: *** [Makefile:384: check-recursive] Error 1 make: *** [Makefile:658: check] Error 2 + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: opensp-1.5.2-47.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VS73UW + umask 022 + cd /builddir/build/BUILD/opensp-1.5.2-build + cd OpenSP-1.5.2 + DOCDIR=/builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/archform.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/autoconf.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/build.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/catalog.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/charset.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/features.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/generic.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/ideas.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/index.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/new.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/nsgmls.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sgmldecl.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sgmlnorm.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sgmlsout.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/spam.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/spcat.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/spent.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sx.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sysdecl.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/sysid.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/xml.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/doc/xmlwarn.htm /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/docsrc/releasenotes.html /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/AUTHORS /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/BUGS /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/COPYING /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/ChangeLog /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/NEWS /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/README /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + cp -pr /builddir/build/BUILD/opensp-1.5.2-build/OpenSP-1.5.2/pubtext/opensp-implied.dcl /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT/usr/share/doc/opensp + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(gettext) = 0.14.5 libosp.so.5()(64bit) opensp = 1.5.2-47.fc41 opensp(x86-64) = 1.5.2-47.fc41 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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(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) libosp.so.5()(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) rtld(GNU_HASH) Processing files: opensp-devel-1.5.2-47.fc41.x86_64 Provides: opensp-devel = 1.5.2-47.fc41 opensp-devel(x86-64) = 1.5.2-47.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libosp.so.5()(64bit) Processing files: opensp-debugsource-1.5.2-47.fc41.x86_64 Provides: opensp-debugsource = 1.5.2-47.fc41 opensp-debugsource(x86-64) = 1.5.2-47.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opensp-debuginfo-1.5.2-47.fc41.x86_64 Provides: debuginfo(build-id) = 38865e9f6e1aad74d28bee3c0011b42681e6b377 debuginfo(build-id) = 5cc4305e01d3eb1fc85e0f489683428f9a7d4d0d debuginfo(build-id) = b41a165d2026c502be192a23c3ba25f95010292e debuginfo(build-id) = bb5c844821500b851e7289d42ccfc00b981bcea5 debuginfo(build-id) = bea857c3653899494386cbd69efbd2d7569771f1 debuginfo(build-id) = d453b41df9c89416320f95abc467cb037fa196a7 debuginfo(build-id) = f75280a8cb331a528fb4878f969632a6e9ae99e4 libosp.so.5.0.0-1.5.2-47.fc41.x86_64.debug()(64bit) opensp-debuginfo = 1.5.2-47.fc41 opensp-debuginfo(x86-64) = 1.5.2-47.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opensp-debugsource(x86-64) = 1.5.2-47.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/opensp-1.5.2-build/BUILDROOT Wrote: /builddir/build/RPMS/opensp-devel-1.5.2-47.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/opensp-debugsource-1.5.2-47.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/opensp-1.5.2-47.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/opensp-debuginfo-1.5.2-47.fc41.x86_64.rpm Child return code was: 0