Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/opensp-1.5.2-38.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/opensp.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iFvFyD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf OpenSP-1.5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/OpenSP-1.5.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd OpenSP-1.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (opensp-multilib.patch): + echo 'Patch #0 (opensp-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p1 -b --suffix .nodeids --fuzz=0 patching file docsrc/releasenotes.xml Patch #2 (opensp-sigsegv.patch): + echo 'Patch #2 (opensp-sigsegv.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p1 -b --suffix .manpage --fuzz=0 patching file docsrc/osgmlnorm.xml patching file docsrc/ospam.xml + 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.IcWY71 + umask 022 + cd /builddir/build/BUILD + cd OpenSP-1.5.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + 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 2005-12-23 14:15:56.000000000 +0000 +++ ./configure 2022-01-13 21:08:00.689538246 +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 } @@ -12821,7 +12821,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 } @@ -12981,7 +12981,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -18610,7 +18610,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 } @@ -18770,7 +18770,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -22073,7 +22073,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 } @@ -22397,7 +22397,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 } @@ -25361,7 +25361,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 } @@ -31462,7 +31462,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 } @@ -31574,7 +31574,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 2022-01-13 21:08:00.689538246 +0000 +++ ./configure 2022-01-13 21:08:00.799533991 +0000 @@ -22706,10 +22706,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 2022-01-13 21:08:00.799533991 +0000 +++ ./configure 2022-01-13 21:08:00.819533217 +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 + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 ppc64le-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 ppc64le-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... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-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 ppc64le-redhat-linux-gnu-g77... no checking for ppc64le-redhat-linux-gnu-f77... no checking for ppc64le-redhat-linux-gnu-xlf... no checking for ppc64le-redhat-linux-gnu-frt... no checking for ppc64le-redhat-linux-gnu-pgf77... no checking for ppc64le-redhat-linux-gnu-fort77... no checking for ppc64le-redhat-linux-gnu-fl32... no checking for ppc64le-redhat-linux-gnu-af77... no checking for ppc64le-redhat-linux-gnu-f90... no checking for ppc64le-redhat-linux-gnu-xlf90... no checking for ppc64le-redhat-linux-gnu-pgf90... no checking for ppc64le-redhat-linux-gnu-epcf90... no checking for ppc64le-redhat-linux-gnu-f95... no checking for ppc64le-redhat-linux-gnu-fort... no checking for ppc64le-redhat-linux-gnu-xlf95... no checking for ppc64le-redhat-linux-gnu-ifc... no checking for ppc64le-redhat-linux-gnu-efc... no checking for ppc64le-redhat-linux-gnu-pgf95... no checking for ppc64le-redhat-linux-gnu-lf95... no checking for ppc64le-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... 262144 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ppc64le-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 elf64ppc) 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 elf64ppc checking if the linker (/usr/bin/ld -m elf64ppc) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf64ppc) 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 elf64ppc) 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 ppc64le-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... no 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 elf64ppc checking if the linker (/usr/bin/ld -m elf64ppc) 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 -j16 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2' Making all in pubtext make[2]: Entering directory '/builddir/build/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/pubtext' Making all in unicode make[2]: Entering directory '/builddir/build/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/unicode' Making all in doc make[2]: Entering directory '/builddir/build/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/doc' Making all in include make[2]: Entering directory '/builddir/build/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/include' Making all in generic make[2]: Entering directory '/builddir/build/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/generic' Making all in intl make[2]: Entering directory '/builddir/build/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/intl' Making all in po make[2]: Entering directory '/builddir/build/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/po' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/OpenSP-1.5.2/lib' make all-am make[3]: Entering directory '/builddir/build/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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetInfo.lo CharsetInfo.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CharsetRegistry.lo CharsetRegistry.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CmdLineApp.lo CmdLineApp.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o CodingSystemKit.lo CodingSystemKit.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ConsoleOutput.lo ConsoleOutput.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ContentToken.lo ContentToken.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o DescriptorManager.lo DescriptorManager.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o DtdDeclEventHandler.lo DtdDeclEventHandler.cxx mkdir .libs 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetDecl.cxx -fPIC -DPIC -o .libs/CharsetDecl.o mkdir: cannot create directory '.libs': File exists 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c CharsetRegistry.cxx -fPIC -DPIC -o .libs/CharsetRegistry.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ConsoleOutput.cxx -fPIC -DPIC -o .libs/ConsoleOutput.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c CmdLineApp.cxx -fPIC -DPIC -o .libs/CmdLineApp.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Attribute.cxx -fPIC -DPIC -o .libs/Attribute.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) | ^~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ContentToken.cxx -fPIC -DPIC -o .libs/ContentToken.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c DescriptorManager.cxx -fPIC -DPIC -o .libs/DescriptorManager.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c DtdDeclEventHandler.cxx -fPIC -DPIC -o .libs/DtdDeclEventHandler.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ContentState.cxx -fPIC -DPIC -o .libs/ContentState.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Dtd.cxx -fPIC -DPIC -o .libs/Dtd.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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, from ../include/DescriptorManager.h:8, from DescriptorManager.cxx:5: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from DescriptorManager.cxx:5: ../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) | ^~~~~~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from CharsetDecl.cxx:8: ../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/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 ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11, from CharsetDecl.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 CharsetDecl.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11, from CharsetDecl.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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/CharsetDecl.h:12, from CharsetDecl.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11, from CharsetDecl.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/CharsetDecl.h:12, from CharsetDecl.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/CharsetDecl.h:11, from CharsetDecl.cxx:8: ../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]' CharsetDecl.cxx:183:26: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from CharsetDecl.cxx:8: ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/ContentToken.h:11, from ContentToken.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c CodingSystemKit.cxx -fPIC -DPIC -o .libs/CodingSystemKit.o 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++) | ~~^~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Entity.lo Entity.cxx In file included from CmdLineApp.cxx:12: ../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) | ^~~~~~~~~~ In file included from CmdLineApp.cxx:12: ../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, OpenSP::CmdLineApp::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, OpenSP::CmdLineApp::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, 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/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Location.h:15, 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/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/ContentState.h:13, from ContentState.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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 ../include/ArcEngine.h:11, from ArcEngine.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, 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/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 ../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); } | ^~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityApp.lo EntityApp.cxx In file included from ../include/CmdLineApp.h:25, from CmdLineApp.cxx:12: ../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 ../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, from ../include/CmdLineApp.h:25, from CmdLineApp.cxx:12: ../include/Options.cxx:15:1: warning: when initialized here [-Wreorder] 15 | Options::Options(int argc, T *const *argv, const Vector > &l) | ^~~~~~~~~~ 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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, 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/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]' CmdLineApp.cxx:81:23: required from here ../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 CmdLineApp.cxx:12: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, 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/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]' CmdLineApp.cxx:81:23: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from CmdLineApp.cxx:12: ../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/Location.h:15, 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/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]' CmdLineApp.cxx:199:40: required from here ../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/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from ../include/CmdLineApp.h:17, from CmdLineApp.cxx:12: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, 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/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]' CmdLineApp.cxx:222:19: required from here ../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, 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/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Location.h:15, 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/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]' CmdLineApp.cxx:379:45: required from here ../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, from ../include/Location.h:15, 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/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Options.h:57, from ../include/CmdLineApp.h:25, from CmdLineApp.cxx:12: ../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]' CmdLineApp.cxx:381:21: required from here ../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_++) | ~~~~~~~~^~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../include/Attribute.h: In constructor 'OpenSP::AttributeDefinition::AttributeDefinition(const 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) | ^ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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 | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from Dtd.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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) | ^~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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) | ^~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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) | ^~~~~~~~~~~~~ In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/Dtd.h:14, from ../include/ContentState.h:16, from ContentState.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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 ContentToken.cxx:9: ../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) | ^~~~~~~~~ In file included from ../include/TranslateCodingSystem.h:8, from CodingSystemKit.cxx:10: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Attribute.h:14, from Attribute.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 ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ContentToken.cxx:9: ../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/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/Attribute.h:167:7: required from here ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Attribute.cxx:8: ../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 ../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); } | ^~~~~~ 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_; | ^~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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 ../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_; | ^~~~~ CodingSystemKit.cxx:329:1: warning: when initialized here [-Wreorder] 329 | CodingSystemKitImpl::CodingSystemKitImpl(const TranslateCodingSystem::Desc *systemCharsetDesc) | ^~~~~~~~~~~~~~~~~~~ ../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 ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = long unsigned int]': Attribute.cxx:1054:3: required from here ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Attribute.cxx:8: ../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 ../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, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Attribute.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 Attribute.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ 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 ../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, 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:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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 Attribute.cxx:13: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/Attribute.h:482:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Attribute.cxx:8: ../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 ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' Attribute.cxx:336:24: required from here ../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/Attribute.h:13, from Attribute.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' Attribute.cxx:482:45: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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 ../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, 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:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' Attribute.cxx:890:31: required from here ../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, from Attribute.cxx:8: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' Attribute.cxx:907:18: required from here ../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/Attribute.h:15, from Attribute.cxx:8: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Attribute.cxx:8: ../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]' ../include/Attribute.h:396:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityCatalog.lo EntityCatalog.cxx In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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 ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ContentState.cxx:10: ../include/IListIter.h: At global scope: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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 ../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 ../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 ../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 ../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 ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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 ../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, from ContentToken.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ContentToken.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentToken.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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 ../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 ../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, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ContentToken.cxx:13: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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, from ContentToken.cxx:13: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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 = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ContentToken.cxx:160:25: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ContentToken.cxx:284:22: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentToken.cxx:9: ../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::String]': ../include/Vector.cxx:18:5: required from 'OpenSP::Vector::~Vector() [with T = OpenSP::String]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Dtd.h:10, from Dtd.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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, from Dtd.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ContentToken.cxx:505:39: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentToken.cxx:9: ../include/ContentToken.h:43:14: note: 'class OpenSP::FirstSet' declared here 43 | class SP_API FirstSet { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ContentToken.cxx:506:37: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ContentToken.cxx:9: ../include/ContentToken.h:58:14: note: 'class OpenSP::LastSet' declared here 58 | class SP_API LastSet : public Vector { | ^~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from ../include/Dtd.h:12, from Dtd.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ../include/Dtd.h:12, from Dtd.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from Dtd.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/NCVector.h:12, from ../include/ContentToken.h:13, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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 ../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_; | ^~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ In file included from ../include/ContentToken.h:13, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from Dtd.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from Dtd.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../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::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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ContentToken.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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 ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/PointerTable.h:18:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ../include/ContentState.h:16, from ContentState.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/ContentState.h:16, from ContentState.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../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]' ../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]' Dtd.cxx:40:24: required from here ../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, from ../include/PointerTable.h:7, from ../include/OwnerTable.h:7, from ../include/NamedTable.h:10, from ../include/Dtd.h:10, from Dtd.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ContentState.cxx:36:33: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NamedResourceTable.h:11, from ../include/Dtd.h:11, from Dtd.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ContentState.cxx:127:10: required from here ../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, from ../include/Attributed.h:8, from ../include/ElementType.h:18, from ../include/OpenElement.h:12, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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 ../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 '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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from ../include/ContentState.h:12, from ContentState.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ArcEngine.cxx:21: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ ArcEngine.cxx: In constructor 'OpenSP::ArcEngineImpl::ArcEngineImpl(OpenSP::Messenger&, const OpenSP::SgmlParser*, OpenSP::ArcDirector&, const volatile sig_atomic_t*, const 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, | ^~~~~~~~~~~~~ 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) | ^~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ArcEngine.cxx:11: 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() | ^~~~~~~~~~~~ In file included from ArcEngine.cxx:11: 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() | ^~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from DtdDeclEventHandler.h:8, from DtdDeclEventHandler.cxx:5: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx: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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx: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 ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ISetRange]': ../include/ISet.h:25:7: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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 ../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, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ArcEngine.cxx:197:38: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ArcEngine.cxx:11: ArcProcessor.h:23:7: note: 'class OpenSP::ArcProcessor' declared here 23 | class ArcProcessor : private ContentState, private AttributeContext { | ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/LinkProcess.h:32:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ArcEngine.cxx:302:48: required from here ../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, from ../include/Event.h:19, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Entity.cxx -fPIC -DPIC -o .libs/Entity.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Markup.h:41:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14, from ../include/Event.h:22, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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 ../include/Event.h:22, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ArcEngine.cxx:647:19: required from here ../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/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ArcEngine.cxx:647:19: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EUCJPCodingSystem.cxx -fPIC -DPIC -o .libs/EUCJPCodingSystem.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Text.h:55:14: required from here ../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/Notation.h:15, from ../include/Event.h:19, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Notation.h:15, from ../include/Event.h:19, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ArcEngine.h:11, from ArcEngine.cxx:10: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ElementType.cxx -fPIC -DPIC -o .libs/ElementType.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityDecl.lo EntityDecl.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityCatalog.cxx -fPIC -DPIC -o .libs/EntityCatalog.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Entity.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ElementType.cxx:8: ../include/ElementType.h: In constructor 'OpenSP::ElementType::ElementType(const 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, from ElementType.cxx:8: ../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 ../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, from ../include/ElementType.h:12, from ElementType.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ElementType.h:14, from ElementType.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/ElementType.h:12, from ElementType.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 ElementType.cxx:8: ../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 ElementType.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ElementType.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/ElementType.h:12, from ElementType.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ElementType.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ElementType.h:12, from ElementType.cxx:8: ../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]' ElementType.cxx:102:28: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/ElementType.h:14, from ElementType.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/EntityDecl.h:12, from EntityCatalog.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EntityManager.lo EntityManager.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityApp.cxx -fPIC -DPIC -o .libs/EntityApp.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ErrorCountEventHandler.lo ErrorCountEventHandler.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Event.lo Event.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 EntityApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.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 ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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/Entity.h:13, from Entity.cxx:8: ../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 ../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 ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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/Entity.h:13, from Entity.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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/Entity.h:13, from Entity.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::Attribute]': ../include/Attribute.h:482:14: required from here ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Entity.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 Entity.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Entity.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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 Entity.cxx:8: ../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, from Entity.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Entity.h:13, from Entity.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o EventGenerator.lo EventGenerator.cxx In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ParserState.h:17, from Entity.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Entity.h:13, from Entity.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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, from ../include/Entity.h:15, from Entity.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:17, from ../include/Entity.h:15, from Entity.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/Attribute.h:482:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:15, from Entity.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Entity.h:13, from Entity.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Entity.h:13, from Entity.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Entity.h:13, from Entity.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from EntityApp.cxx:14: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:15, 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/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Location.h:15, 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/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/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/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 ../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, from ../include/Location.h:15, 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/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]' ../include/CmdLineApp.h:36:14: required from here ../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 EntityApp.cxx:9: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, 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/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]' ../include/CmdLineApp.h:36:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included 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/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/Location.h:15, 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/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]' EntityApp.cxx:88:53: required from here ../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, 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/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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityDecl.cxx -fPIC -DPIC -o .libs/EntityDecl.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Event.cxx -fPIC -DPIC -o .libs/Event.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ErrorCountEventHandler.cxx -fPIC -DPIC -o .libs/ErrorCountEventHandler.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EntityManager.cxx -fPIC -DPIC -o .libs/EntityManager.o In file included from ../include/EntityDecl.h:12, from EntityDecl.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from EntityDecl.cxx:8: ../include/EntityDecl.h: In constructor 'OpenSP::EntityDecl::EntityDecl(const StringC&, OpenSP::EntityDecl::DeclType, OpenSP::EntityDecl::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, | ^~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ErrnoMessageArg.cxx -fPIC -DPIC -o .libs/ErrnoMessageArg.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/EntityManager.h:15, from EntityManager.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ExternalId.lo ExternalId.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Fixed2CodingSystem.lo Fixed2CodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o GenericEventHandler.lo GenericEventHandler.cxx In file included from ../include/Sd.h:16, from ../include/Event.h:20, from Event.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c EventGenerator.cxx -fPIC -DPIC -o .libs/EventGenerator.o In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Hash.lo Hash.cxx In file included from Event.cxx:8: ../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) | ^~~~~~~~~~~~ In file included from Event.cxx:8: ../include/Event.h: In constructor 'OpenSP::DataEvent::DataEvent(OpenSP::Event::Type, const 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, | ^~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o IListBase.lo IListBase.cxx In file included from Event.cxx:8: ../include/Event.h: In constructor 'OpenSP::PiEvent::PiEvent(const 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) | ^~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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_; | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~ In file included from Event.cxx:8: ../include/Event.h: In constructor 'OpenSP::StartSubsetEvent::StartSubsetEvent(OpenSP::Event::Type, const 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, | ^~~~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~ In file included from Event.cxx:8: ../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 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, | ^~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~~~ In file included from Event.cxx:8: ../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, | ^~~~~~~~~~~~~ In file included from ErrorCountEventHandler.cxx:8: ../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, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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/Event.h:12, from Event.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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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 ../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:15, from ../include/Event.h:12, from Event.cxx:8: ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ExtendEntityManager.cxx -fPIC -DPIC -o .libs/ExtendEntityManager.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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::CopyOwner]': ../include/Message.h:165:14: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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/Event.h:12, from Event.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::OpenElementInfo]': ../include/Message.h:165:14: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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/Event.h:12, from Event.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from Event.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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, from Event.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from Event.cxx:8: ../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, from Event.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from Event.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from Event.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from Event.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/ErrorCountEventHandler.h:12, from ErrorCountEventHandler.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Message.h:165:14: required from here ../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, from ../include/Event.h:19, from Event.cxx:8: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Fixed2CodingSystem.cxx -fPIC -DPIC -o .libs/Fixed2CodingSystem.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Message.h:165:14: required from here ../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, from ../include/Event.h:19, from Event.cxx:8: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Message.h:165:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:14, from ../include/Notation.h:15, from ../include/Event.h:19, from Event.cxx:8: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Message.h:165:14: required from here ../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/ExternalId.h:14, from ../include/Notation.h:15, from ../include/Event.h:19, from Event.cxx:8: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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/Notation.h:15, from ../include/Event.h:19, from Event.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Notation.h:15, from ../include/Event.h:19, from Event.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' Event.cxx:337:57: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19, from Event.cxx:8: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' Event.cxx:480:47: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from Event.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Event.h:12, from Event.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c GenericEventHandler.cxx -fPIC -DPIC -o .libs/GenericEventHandler.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ExternalId.cxx -fPIC -DPIC -o .libs/ExternalId.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Id.lo Id.cxx 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, | ^~~~~~~~~~~~~~~~~ ExtendEntityManager.cxx: In constructor 'OpenSP::UnbufferingStorageObject::UnbufferingStorageObject(OpenSP::StorageObject*, const 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, | ^~~~~~~~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o IdentityCodingSystem.lo IdentityCodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o InputSource.lo InputSource.cxx 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) | ^~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../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() | ^~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../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 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: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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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) | ~~^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Hash.cxx -fPIC -DPIC -o .libs/Hash.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Group.cxx -fPIC -DPIC -o .libs/Group.o In file included from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.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 ../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, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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*, size_t, const T&) [with T = OpenSP::ParsedSystemId::Map; size_t = long unsigned int]': ExtendEntityManager.cxx:386:28: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../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 ../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_; | ^~~~~ In file included from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../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/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]': ../include/ExtendEntityManager.h:59:15: required from here ../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, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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 ../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, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o InternalInputSource.lo InternalInputSource.cxx 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::StorageObjectPosition; size_t = long unsigned int]': ExtendEntityManager.cxx:1103:21: required from here ../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_; | ^~~~~ In file included from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../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, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx: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]' ExtendEntityManager.cxx:298:59: required from here ../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, from ExtendEntityManager.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../include/Vector.cxx: In instantiation of 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ParsedSystemId::Map]': ../include/Vector.h:29:7: required from 'void OpenSP::Vector::resize(size_t) [with T = OpenSP::ParsedSystemId::Map; size_t = long unsigned int]' ExtendEntityManager.cxx:349:28: required from here ../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 ExtendEntityManager.cxx:9: ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ In file included from ../include/NCVector.h:48, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx: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]' ExtendEntityManager.cxx:586:3: required from here ../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, from ExtendEntityManager.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from ../include/EntityCatalog.h:11, from ../include/EntityManager.h:14, from ../include/ExtendEntityManager.h:11, from ExtendEntityManager.cxx:9: ../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]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:9: ../include/ExtendEntityManager.h:62:17: note: 'struct OpenSP::ParsedSystemId::Map' declared here 62 | struct SP_API Map { | ^~~ In file included from ../include/NCVector.h:48, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx:12: ../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]' ExtendEntityManager.cxx:1103:21: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ExtendEntityManager.cxx:20: StorageObjectPosition.h:17:8: note: 'struct OpenSP::StorageObjectPosition' declared here 17 | struct StorageObjectPosition { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/NCVector.h:48, from OffsetOrderedList.h:9, from ExtendEntityManager.cxx: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]' OffsetOrderedList.h:26:7: required from here ../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, from ExtendEntityManager.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ExternalId.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 ../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, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ExternalId.cxx:8: ../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, from ../include/GenericEventHandler.h:15, from GenericEventHandler.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Link.lo Link.cxx 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o LinkProcess.lo LinkProcess.cxx In file included from Group.h:15, from Group.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o LiteralStorage.lo LiteralStorage.cxx In file included from GenericEventHandler.cxx:9: ../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_; | ^~~~ ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from GenericEventHandler.cxx:9: ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from GenericEventHandler.cxx:9: ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from GenericEventHandler.cxx:9: ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../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 ../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, from Group.h:11, from Group.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Group.h:11, from Group.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Group.h:11, from Group.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../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]' Group.h:24:16: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ContentToken.h:11, from Group.h:11, from Group.cxx:8: ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ In file included from GenericEventHandler.cxx:9: ../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_; | ^~~~~~~~~ ../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, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Id.cxx -fPIC -DPIC -o .libs/Id.o In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c InternalInputSource.cxx -fPIC -DPIC -o .libs/InternalInputSource.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../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]' ../include/Event.h:458:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attributed.h:8, from ../include/Notation.h:17, from ../include/Event.h:19, from ../include/GenericEventHandler.h:15, from GenericEventHandler.cxx:9: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c IdentityCodingSystem.cxx -fPIC -DPIC -o .libs/IdentityCodingSystem.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from Id.h:12, from Id.cxx:9: ../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]' Id.cxx:16:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Id.h:12, from Id.cxx:9: ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c InputSource.cxx -fPIC -DPIC -o .libs/InputSource.o 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 in this function [-Wmaybe-uninitialized] 143 | if (c == percent) { | ^~ In file included from ../include/InputSource.h:12, from InputSource.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from InputSource.cxx:8: ../include/InputSource.h: In constructor 'OpenSP::InputSource::InputSource(OpenSP::InputSourceOrigin*, const Char*, const 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 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, | ^~~~~~~~~~~ In file included from InputSource.cxx:8: ../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 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, | ^~~~~~~~~~~ In file included from InputSource.cxx:8: ../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, | ^~~~~~~~~~~ In file included from InputSource.cxx:8: ../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, | ^~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Location.lo Location.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Lpd.lo Lpd.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Markup.lo Markup.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Message.lo Message.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c LinkProcess.cxx -fPIC -DPIC -o .libs/LinkProcess.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 ../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, 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageEventHandler.lo MessageEventHandler.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Markup.cxx -fPIC -DPIC -o .libs/Markup.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Lpd.cxx -fPIC -DPIC -o .libs/Lpd.o In file included from ../include/Lpd.h:17, from ../include/LinkProcess.h:10, from LinkProcess.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Location.cxx -fPIC -DPIC -o .libs/Location.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageFormatter.lo MessageFormatter.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageReporter.lo MessageReporter.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o MessageTable.lo MessageTable.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 Lpd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Message.cxx -fPIC -DPIC -o .libs/Message.o In file included from ../include/LinkProcess.h:11, from LinkProcess.cxx:8: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:12, from Location.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Markup.h:12, from Markup.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageEventHandler.cxx -fPIC -DPIC -o .libs/MessageEventHandler.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Message.cxx:9: ../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 * | ^~~~~~~~~~~~~~~ In file included from Message.cxx:9: ../include/Message.h: In constructor 'OpenSP::MessageType::MessageType(OpenSP::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, | ^~~~~~~~~~~ In file included from ../include/Lpd.h:17, from Lpd.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageArg.cxx -fPIC -DPIC -o .libs/MessageArg.o In file included from ../include/Location.h:15, from ../include/Message.h:12, from Message.cxx:9: ../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 ../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, from ../include/Location.h:15, from ../include/Message.h:12, from Message.cxx:9: ../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]' Message.cxx:137:18: required from here ../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 Message.cxx:9: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Message.h:12, from Message.cxx:9: ../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]' Message.cxx:137:18: required from here ../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 Message.cxx:9: ../include/Message.h:154:14: note: 'class OpenSP::OpenElementInfo' declared here 154 | class SP_API OpenElementInfo { | ^~~~~~~~~~~~~~~ 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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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 ../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 ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.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 ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::TextItem]': ../include/Text.h:55:14: required from here ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::SdTextItem]': ../include/SdText.h:30:14: required from here ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ../include/Lpd.h:19, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Lpd.h:19, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Location.cxx:8: ../include/Location.h: In constructor 'OpenSP::BracketOrigin::BracketOrigin(const OpenSP::Location&, OpenSP::BracketOrigin::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) | ^~~~~~~~~~~~~ ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Markup.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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 Markup.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Markup.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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 { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/SdText.h:30:14: required from here ../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, from Markup.cxx:9: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Text.h:55:14: required from here ../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, from ../include/Markup.h:13, from Markup.cxx:9: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Sd.h:14, from ../include/Markup.h:13, from Markup.cxx:9: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ 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_; | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ../include/Markup.h:12, from Markup.cxx:9: ../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]' ../include/SdText.h:30:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Location.cxx:72:20: warning: 'OpenSP::ConstPtr OpenSP::EntityOriginImpl::entity_' [-Wreorder] 72 | ConstPtr entity_; // 0 for document entity | ^~~~~~~ In file included from ../include/Markup.h:16, from Markup.cxx:9: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ Location.cxx:361:1: warning: when initialized here [-Wreorder] 361 | EntityOriginImpl::EntityOriginImpl(const ConstPtr &entity) | ^~~~~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' LinkProcess.cxx:18:26: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private 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, | ^~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from Lpd.cxx:8: ../include/Lpd.h: In constructor 'OpenSP::Lpd::Lpd(const StringC&, OpenSP::Lpd::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, | ^~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from ../include/LinkProcess.h:10, from LinkProcess.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from Lpd.cxx:8: ../include/Lpd.h: In constructor 'OpenSP::ComplexLpd::ComplexLpd(const 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, | ^~~~~~~~~~ In file included from Lpd.cxx:8: ../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, | ^~~~~~~~~~ In file included from ../include/Location.h:15, from Location.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 ../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, from ../include/Location.h:15, from Location.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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 ../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:15, from Location.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::MarkupItem]': ../include/Markup.h:41:14: required from here ../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, from ../include/Location.h:15, from Location.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 ../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, from ../include/MessageArg.h:11, from MessageArg.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Location.cxx:8: ../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]' MessageArg.cxx:82:3: required from here ../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, from MessageArg.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from Location.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 Location.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/MessageArg.h:11, from MessageArg.cxx:8: ../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]' MessageArg.cxx:82:3: required from here ../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, from MessageArg.cxx:8: ../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::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from Location.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Location.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from Location.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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 Location.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from Location.cxx:8: ../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]' ../include/Markup.h:41:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Entity.h:22, from Location.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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 ../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 ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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/Lpd.h:10, from Lpd.cxx:8: ../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, from Lpd.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Lpd.h:19, from Lpd.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ../include/Lpd.h:19, from Lpd.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Lpd.h:19, from Lpd.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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 >]' Lpd.cxx:77:29: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Vector.h:19:7: note: 'class OpenSP::Vector >' declared here 19 | class Vector { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' Lpd.cxx:77:74: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Lpd.cxx:8: ../include/Lpd.h:27:15: note: 'struct OpenSP::ResultElementSpec' declared here 27 | struct SP_API ResultElementSpec { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/Attribute.h:482:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' Lpd.cxx:139:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Lpd.cxx:8: ../include/Lpd.h:124:14: note: 'class OpenSP::IdLinkRule' declared here 124 | class SP_API IdLinkRule : public SourceLinkRule { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' Lpd.cxx:160:3: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ../include/Lpd.h:10, from Lpd.cxx:8: ../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]' ../include/Vector.cxx:132:17: required from '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 >]' Lpd.cxx:77:29: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageTable.cxx -fPIC -DPIC -o .libs/MessageTable.o In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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 ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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, from ../include/MessageEventHandler.h:7, from MessageEventHandler.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]' ../include/ContentToken.h:123:32: required from here ../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/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/Event.h:12, from ../include/MessageEventHandler.h:7, from MessageEventHandler.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c MessageReporter.cxx -fPIC -DPIC -o .libs/MessageReporter.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Notation.lo Notation.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 MessageReporter.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OffsetOrderedList.lo OffsetOrderedList.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OpenElement.lo OpenElement.cxx 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 ../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, from ../include/Location.h:15, from ../include/Message.h:12, from ../include/MessageFormatter.h:14, from ../include/MessageReporter.h:12, from MessageReporter.cxx:9: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputByteStream.lo OutputByteStream.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Notation.cxx -fPIC -DPIC -o .libs/Notation.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputCharStream.lo OutputCharStream.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c OffsetOrderedList.cxx -fPIC -DPIC -o .libs/OffsetOrderedList.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c NumericCharRefOrigin.cxx -fPIC -DPIC -o .libs/NumericCharRefOrigin.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c NotationStorage.cxx -fPIC -DPIC -o .libs/NotationStorage.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ModeInfo.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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]' OffsetOrderedList.cxx:13:42: required from here ../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, from OffsetOrderedList.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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, from ModeInfo.cxx: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 ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from ModeInfo.cxx:12: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Markup.h:12, from NumericCharRefOrigin.h:9, from NumericCharRefOrigin.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c OpenElement.cxx -fPIC -DPIC -o .libs/OpenElement.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/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 ../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, 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:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Location.h:15, from NumericCharRefOrigin.h:8, from NumericCharRefOrigin.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 ../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, from ../include/Location.h:15, from NumericCharRefOrigin.h:8, from NumericCharRefOrigin.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 NumericCharRefOrigin.h:9, from NumericCharRefOrigin.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from NumericCharRefOrigin.h:8, from NumericCharRefOrigin.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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 NumericCharRefOrigin.h:9, from NumericCharRefOrigin.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ 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 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 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 ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o OutputState.lo OutputState.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Param.lo Param.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Parser.lo Parser.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c OutputCharStream.cxx -fPIC -DPIC -o .libs/OutputCharStream.o In file included from ParserState.h:25, from Notation.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c OutputByteStream.cxx -fPIC -DPIC -o .libs/OutputByteStream.o In file included from OpenElement.cxx:8: ../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_; | ^~~~~~~~~~~~~~~~ OpenElement.cxx:14:1: warning: when initialized here [-Wreorder] 14 | OpenElement::OpenElement(const ElementType *type, | ^~~~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../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 ../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); } | ^~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserApp.lo ParserApp.cxx In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from ../include/OpenElement.h:11, from OpenElement.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 OpenElement.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserEventGeneratorKit.lo ParserEventGeneratorKit.cxx In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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 ../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 ../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, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Notation.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 Notation.cxx:8: ../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 ParserState.h:17, from Notation.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Notation.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ParserState.h:17, from Notation.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ParserState.h:17, from Notation.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ParserState.h:17, from Notation.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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/Notation.h:15, from Notation.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/Text.h:55:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ 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, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ExternalId.h:12, from ../include/Notation.h:15, from Notation.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Notation.h:14, from Notation.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from OutputCharStream.cxx:5: ../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, | ^~~~~~~~~~~~~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Param.cxx -fPIC -DPIC -o .libs/Param.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c OutputState.cxx -fPIC -DPIC -o .libs/OutputState.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserOptions.lo ParserOptions.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ParserState.lo ParserState.cxx 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Partition.lo Partition.cxx In file included from OutputState.h:11, from OutputState.cxx:8: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o PosixStorage.lo PosixStorage.cxx In file included from Param.h:19, from Param.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserEventGeneratorKit.cxx -fPIC -DPIC -o .libs/ParserEventGeneratorKit.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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 ParserApp.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../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 ../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, from Param.h:11, from Param.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Param.h:11, from Param.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Param.h:11, from Param.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ 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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Param.h:11, from Param.cxx:8: ../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]' Param.h:33:11: required from here ../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 Param.cxx:8: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Recognizer.lo Recognizer.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o RewindStorageObject.lo RewindStorageObject.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from Parser.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SGMLApplication.lo SGMLApplication.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserMessages.cxx -fPIC -DPIC -o .libs/ParserMessages.o In file included from ../include/Location.h:15, from OutputState.h:10, from OutputState.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 ../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, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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 ../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, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from OutputState.h:10, from OutputState.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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, from OutputState.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from OutputState.cxx:9: ../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, from OutputState.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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 OutputState.h:10, from OutputState.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from OutputState.cxx:9: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserOptions.cxx -fPIC -DPIC -o .libs/ParserOptions.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from OutputState.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from Parser.h:19, from Parser.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from OutputState.h:10, from OutputState.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from OutputState.h:10, from OutputState.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ParserState.cxx -fPIC -DPIC -o .libs/ParserState.o In file included from Parser.cxx:9: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ 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() | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ParserOptions.h:12, from ParserOptions.cxx:8: ../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]' ParserOptions.cxx:41:13: required from here ../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, from ParserOptions.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Sd.h:16, from ../include/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Partition.cxx -fPIC -DPIC -o .libs/Partition.o In file included from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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 ../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 ../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, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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, from ../include/ParserApp.h:11, from ParserApp.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 ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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 ../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, from Parser.h:12, from Parser.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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 ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from Parser.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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, from Parser.cxx:9: ../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, from Parser.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from Parser.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from Parser.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.cxx:9: ../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, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.cxx:9: ../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]' ../include/ContentToken.h:123:32: required from here ../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/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from Parser.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.cxx:9: ../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 Parser.h:17, from Parser.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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/Location.h:12, from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from Parser.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Entity.h:22, from ../include/Dtd.h:14, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserApp.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SJISCodingSystem.lo SJISCodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SGMLApplication.cxx -fPIC -DPIC -o .libs/SGMLApplication.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/ArcEngine.h:31:7: required from here ../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/SgmlParser.h:11, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/CmdLineApp.h:36:14: required from here ../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, from ParserApp.cxx:9: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/CmdLineApp.h:36:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, from ParserApp.cxx:9: ../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/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, from Parser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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, from Parser.h:12, from Parser.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:13, from ../include/Attribute.h:17, from Parser.h:12, from Parser.cxx:9: ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/PointerTable.h:18:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/CharsetDecl.h:73:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from ../include/Markup.h:13, from ../include/Entity.h:22, from Parser.h:17, from Parser.cxx:9: ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserApp.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from Parser.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c PosixStorage.cxx -fPIC -DPIC -o .libs/PosixStorage.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx: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 ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from Partition.cxx:13: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from Partition.cxx:14: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx: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 ../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/Attribute.h:17, from ParserState.h:13, from ParserState.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Recognizer.cxx -fPIC -DPIC -o .libs/Recognizer.o In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/Attribute.h:486:27: required from here ../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, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/SubstTable.h:9, from Partition.h:11, from Partition.cxx:8: ../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]' Partition.cxx:37:9: required from here ../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, from Partition.h:11, from Partition.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../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, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/ContentToken.h:123:32: required from here ../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/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from ../include/ErrorCountEventHandler.h:12, from ../include/ParserApp.h:15, from ParserEventGeneratorKit.cxx:10: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/CmdLineApp.h:36:14: required from here ../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, from ParserEventGeneratorKit.cxx:10: ../include/Message.h:90:14: note: 'class OpenSP::MessageType1' declared here 90 | class SP_API MessageType1 : public MessageType { | ^~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/CmdLineApp.h:36:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, from ParserEventGeneratorKit.cxx:10: ../include/Message.h:33:14: note: 'class OpenSP::MessageFragment' declared here 33 | class SP_API MessageFragment { | ^~~~~~~~~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from ../include/ParserApp.h:11, from ParserEventGeneratorKit.cxx:10: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c RewindStorageObject.cxx -fPIC -DPIC -o .libs/RewindStorageObject.o In file included from ../include/XcharMap.h:9, from Recognizer.cxx:11: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SOEntityCatalog.lo SOEntityCatalog.cxx 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) | ^~~~~~~~~~ In file included from Recognizer.cxx:12: 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, | ^~~~~~~~~~ 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 ../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, from Trie.h:10, from Recognizer.cxx:9: ../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 ParserState.h:17, from ParserState.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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Sd.lo Sd.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SdText.lo SdText.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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, from ../include/DescriptorManager.h:8, from ../include/PosixStorage.h:11, from PosixStorage.cxx:9: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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, from RewindStorageObject.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 ../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, 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, from RewindStorageObject.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from PosixStorage.cxx:9: ../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_; | ^~~~~ ../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, | ^~~~~~~~~~~~~~~~~~~ In file included from PosixStorage.cxx:9: ../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 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, from PosixStorage.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 ../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, 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, from PosixStorage.cxx:9: ../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]' PosixStorage.cxx:176:43: required from here ../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, from ../include/PosixStorage.h:10, from PosixStorage.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ParserState.h:25, from ParserState.cxx:8: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 21 | IListIterBase::done; | ^~~~~~~~~~~~~ In file included from ParserState.cxx:8: ParserState.h: In constructor 'OpenSP::ParserState::ParserState(const OpenSP::Ptr&, const OpenSP::ParserOptions&, unsigned int, OpenSP::ParserState::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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ In file included from ParserState.cxx:8: 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, | ^~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SearchResultMessageArg.lo SearchResultMessageArg.cxx In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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 ../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 ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': ../include/ParserOptions.h:85:15: required from here ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ParserState.h:13, from ParserState.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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 ParserState.h:13, from ParserState.cxx:8: ../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 ParserState.h:17, from ParserState.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from ParserState.h:13, from ParserState.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ParserState.h:17, from ParserState.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o SgmlParser.lo SgmlParser.cxx In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ParserState.h:17, from ParserState.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ParserState.h:17, from ParserState.cxx:8: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/ParserOptions.h:85:15: required from here ../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/Attribute.h:13, from ParserState.h:13, from ParserState.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:79:22: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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, from ParserState.cxx:8: ../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]' ParserState.cxx:79:22: required from here ../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, from ParserState.h:13, from ParserState.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:79:22: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Text.h:13, from ../include/Attribute.h:17, from ParserState.h:13, from ParserState.cxx:8: ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:79:22: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/PointerTable.h:18:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:79:22: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:473:24: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/StringC.h:8, from ../include/Attribute.h:13, from ParserState.h:13, from ParserState.cxx:8: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ParserState.cxx:600:26: required from here ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from ParserState.h:13, from ParserState.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ShortReferenceMap.lo ShortReferenceMap.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SdText.cxx -fPIC -DPIC -o .libs/SdText.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SOEntityCatalog.cxx -fPIC -DPIC -o .libs/SOEntityCatalog.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SJISCodingSystem.cxx -fPIC -DPIC -o .libs/SJISCodingSystem.o 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/SdText.h:13, from SdText.cxx:8: ../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]' SdText.cxx:14:16: required from here ../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 SdText.cxx:8: ../include/SdText.h:21:15: note: 'struct OpenSP::SdTextItem' declared here 21 | struct SP_API SdTextItem { | ^~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SearchResultMessageArg.cxx -fPIC -DPIC -o .libs/SearchResultMessageArg.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Sd.cxx -fPIC -DPIC -o .libs/Sd.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o StdioStorage.lo StdioStorage.cxx 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 ../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, from ../include/MessageArg.h:11, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 = unsigned int]': ../include/SearchResultMessageArg.h:21:14: required from here ../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, from ../include/MessageArg.h:11, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../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]' SearchResultMessageArg.cxx:17:48: required from here ../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, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/MessageArg.h:11, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../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]' ../include/SearchResultMessageArg.h:21:14: required from here ../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, from ../include/SearchResultMessageArg.h:11, from SearchResultMessageArg.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/ExternalId.h:12, from ../include/Sd.h:14, from Sd.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Syntax.lo Syntax.cxx In file included from ../include/Sd.h:16, from Sd.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Sd.cxx:8: ../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) | ^~ In file included from Sd.cxx:8: ../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) | ^~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c SgmlParser.cxx -fPIC -DPIC -o .libs/SgmlParser.o 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, from Sd.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 ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, from Sd.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c ShortReferenceMap.cxx -fPIC -DPIC -o .libs/ShortReferenceMap.o ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Sd.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, from Sd.cxx:8: ../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]' ../include/CharsetDecl.h:73:14: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Sd.h:17, from Sd.cxx:8: ../include/CharsetDecl.h:50:14: note: 'class OpenSP::CharsetDeclSection' declared here 50 | class SP_API CharsetDeclSection { | ^~~~~~~~~~~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, from Sd.cxx:8: ../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]' ../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]' Sd.cxx:263:27: required from here ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from ../include/Sd.h:13, from Sd.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Text.lo Text.cxx 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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) | ^~~~~~~~~~~~~ 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 ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../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 ../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); } | ^~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TokenMessageArg.lo TokenMessageArg.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from ../include/ShortReferenceMap.h:15, from ShortReferenceMap.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 Char' {aka 'const unsigned int'} [-Wsign-compare] 382 | && !(standardFunctionValid_[fRE] && c == standardFunction_[fRE]) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::String]': SOEntityCatalog.cxx:263:3: required from here ../include/Vector.h:66:6: warning: 'OpenSP::Vector >::ptr_' will be initialized after [-Wreorder] 66 | T *ptr_; | ^~~~ ../include/Syntax.h:383:49: warning: comparison of integer expressions of different signedness: 'OpenSP::Xchar' {aka 'int'} and 'const Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.h:65:10: warning: 'size_t OpenSP::Vector >::size_' [-Wreorder] 65 | size_t size_; | ^~~~~ In file included from ../include/Vector.h:77, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../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::ParsedSystemId::Map]': SOEntityCatalog.cxx:353:19: required from here ../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 { | ^~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TranslateCodingSystem.lo TranslateCodingSystem.cxx In file included from ../include/Vector.h:77, 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 '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]' ../include/Attribute.h:57:29: required from here ../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, from SOEntityCatalog.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/Attribute.h:486:27: required from here ../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, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/CharsetDecl.h:53:25: required from here ../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/Event.h:20, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../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, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../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]' ../include/ContentToken.h:123:32: required from here ../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/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from ../include/Dtd.h:12, from ../include/Event.h:22, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/Markup.h:125:16: required from here ../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, from ../include/Event.h:22, from DtdDeclEventHandler.h:8, from SOEntityCatalog.cxx:28: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Vector.h:77, 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 '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]' SOEntityCatalog.cxx:263:3: required from here ../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/CharsetInfo.h:14, from SOEntityCatalog.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SOEntityCatalog.h:11, from SOEntityCatalog.cxx:12: ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, 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 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::StorageObjectSpec]': ../include/Vector.cxx:49:7: required from 'OpenSP::Vector& OpenSP::Vector::operator=(const OpenSP::Vector&) [with T = OpenSP::StorageObjectSpec]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SOEntityCatalog.h:11, from SOEntityCatalog.cxx:12: ../include/ExtendEntityManager.h:29:15: note: 'struct OpenSP::StorageObjectSpec' declared here 29 | struct SP_API StorageObjectSpec { | ^~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, 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 '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]' ../include/ExtendEntityManager.h:59:15: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 { | ^~~ In file included from ../include/Vector.h:77, 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 '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]' SOEntityCatalog.cxx:399:21: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c StdioStorage.cxx -fPIC -DPIC -o .libs/StdioStorage.o In file included from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.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 ../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, from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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(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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ 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(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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ShortReferenceMap.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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 ../include/ShortReferenceMap.h:15, from ShortReferenceMap.cxx:9: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ 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(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]' ../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]' SOEntityCatalog.cxx:660:19: required from here ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from ../include/CharsetInfo.h:11, from SOEntityCatalog.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, 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 '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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Location.h:12, from ../include/Message.h:12, from CatalogMessages.h:2, from SOEntityCatalog.cxx:11: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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/ShortReferenceMap.h:15, from ShortReferenceMap.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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/ShortReferenceMap.h:15, from ShortReferenceMap.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ShortReferenceMap.h:10, from ShortReferenceMap.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c StorageManager.cxx -fPIC -DPIC -o .libs/StorageManager.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o TrieBuilder.lo TrieBuilder.cxx In file included from Parser.h:19, from SgmlParser.cxx:10: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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/StdioStorage.h:11, from StdioStorage.cxx:9: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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, from ../include/DescriptorManager.h:8, from ../include/StdioStorage.h:11, from StdioStorage.cxx:9: ../include/IListIter.h:20:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 20 | IListIterBase::next; | ^~~~~~~~~~~~~ ../include/IListIter.h:21:3: warning: access declarations are deprecated in favour 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from SgmlParser.cxx:10: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from StdioStorage.cxx:9: ../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, from StdioStorage.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 ../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, 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, from StdioStorage.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 ../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, 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:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from SgmlParser.cxx:9: ../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, from SgmlParser.cxx:9: ../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 ../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 ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/Attribute.h:57:29: required from here ../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, from SgmlParser.cxx:9: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/Attribute.h:486:27: required from here ../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, from SgmlParser.cxx:10: ../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, from SgmlParser.cxx:10: ../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]' ../include/ContentToken.h:123:32: required from here ../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/SgmlParser.h:13, from SgmlParser.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from SgmlParser.cxx:10: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from SgmlParser.cxx:10: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from SgmlParser.cxx:10: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from Syntax.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o URLStorage.lo URLStorage.cxx In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, from SgmlParser.cxx:10: ../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]' ParserState.h:48:7: required from here ../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/SgmlParser.h:13, from SgmlParser.cxx:9: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../include/Location.h:77:14: note: 'class OpenSP::Location' declared here 77 | class SP_API Location { | ^~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../include/Ptr.h:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Location.h:15, from ../include/SgmlParser.h:13, from SgmlParser.cxx:9: ../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]' ParserState.h:48:7: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/SgmlParser.h:12, from SgmlParser.cxx:9: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UTF8CodingSystem.lo UTF8CodingSystem.cxx ../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) | ^~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Text.cxx -fPIC -DPIC -o .libs/Text.o In file included from ../include/ISet.h:9, from ../include/Syntax.h:12, from Syntax.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 ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from Syntax.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/ISet.h:9, from ../include/Syntax.h:12, from Syntax.cxx:8: ../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]' Syntax.cxx:44:24: required from here ../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, from Syntax.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c TokenMessageArg.cxx -fPIC -DPIC -o .libs/TokenMessageArg.o In file included from ../include/ISet.h:9, from ../include/Syntax.h:12, from Syntax.cxx:8: ../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]' ../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]' Syntax.cxx:156:28: required from here ../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, from ../include/ISet.h:9, from ../include/Syntax.h:12, from Syntax.cxx:8: ../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/Text.h:13, from Text.cxx:8: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o Undo.lo Undo.cxx In file included from ../include/Vector.h:77, from ../include/Text.h:12, from Text.cxx:8: ../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]' Text.cxx:16:12: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Text.cxx:8: ../include/Text.h:21:15: note: 'struct OpenSP::TextItem' declared here 21 | struct SP_API TextItem { | ^~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c TrieBuilder.cxx -fPIC -DPIC -o .libs/TrieBuilder.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c TranslateCodingSystem.cxx -fPIC -DPIC -o .libs/TranslateCodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o UnivCharsetDesc.lo UnivCharsetDesc.cxx 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from TokenMessageArg.h:13, from TokenMessageArg.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/TranslateCodingSystem.h:8, from TranslateCodingSystem.cxx:6: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 ../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, from Trie.h:10, from TrieBuilder.cxx:11: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/MessageArg.h:11, from TokenMessageArg.h:10, from TokenMessageArg.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 ../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, from ../include/MessageArg.h:11, from TokenMessageArg.h:10, from TokenMessageArg.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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, from TranslateCodingSystem.cxx:6: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, 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, from TranslateCodingSystem.cxx:6: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from TokenMessageArg.cxx:8: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c TypeId.cxx -fPIC -DPIC -o .libs/TypeId.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c UTF8CodingSystem.cxx -fPIC -DPIC -o .libs/UTF8CodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c URLStorage.cxx -fPIC -DPIC -o .libs/URLStorage.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c Undo.cxx -fPIC -DPIC -o .libs/Undo.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o XMLCodingSystem.lo XMLCodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c UnivCharsetDesc.cxx -fPIC -DPIC -o .libs/UnivCharsetDesc.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o assert.lo assert.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c UnicodeCodingSystem.cxx -fPIC -DPIC -o .libs/UnicodeCodingSystem.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseAttribute.lo parseAttribute.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseCommon.lo parseCommon.cxx 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 ../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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ 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, from UnivCharsetDesc.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 ../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, from ../include/RangeMap.h:7, from ../include/UnivCharsetDesc.h:14, from UnivCharsetDesc.cxx:8: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 StringC&, const 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 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 ../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, from ../include/MessageArg.h:11, from ../include/ErrnoMessageArg.h:7, from URLStorage.cxx:48: ../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 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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseDecl.lo parseDecl.cxx In file included from ParserState.h:25, from Undo.cxx:9: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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 ../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); } | ^~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseInstance.lo parseInstance.cxx ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c parseCommon.cxx -fPIC -DPIC -o .libs/parseCommon.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c assert.cxx -fPIC -DPIC -o .libs/assert.o In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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 Undo.h:11, from Undo.cxx:8: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Undo.h:11, from Undo.cxx:8: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Undo.h:11, from Undo.cxx:8: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/Attribute.h:57:29: required from here ../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, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c XMLCodingSystem.cxx -fPIC -DPIC -o .libs/XMLCodingSystem.o In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/Attribute.h:486:27: required from here ../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, from Undo.cxx:8: ../include/Attribute.h:461:14: note: 'class OpenSP::Attribute' declared here 461 | class SP_API Attribute { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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, from ParserState.h:17, from Undo.cxx:9: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/Markup.h:125:16: required from here ../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, from ParserState.h:17, from Undo.cxx:9: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Text.h:12, from ../include/ContentToken.h:11, from Undo.h:11, from Undo.cxx:8: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseMode.lo parseMode.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseParam.lo parseParam.cxx 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/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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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/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 ../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, 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: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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseSd.lo parseSd.cxx In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from parseCommon.cxx:5: ../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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o splib.lo splib.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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from Parser.h:19, from parseCommon.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c parseInstance.cxx -fPIC -DPIC -o .libs/parseInstance.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o app_inst.lo app_inst.cxx In file included from parseCommon.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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, from parseAttribute.cxx:5: ../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 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 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c parseSd.cxx -fPIC -DPIC -o .libs/parseSd.o In file included from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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 ../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 ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from parseCommon.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from parseCommon.cxx:5: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c parseMode.cxx -fPIC -DPIC -o .libs/parseMode.o In file included from ../include/NCVector.h:48, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, from parseCommon.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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from parseCommon.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseCommon.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from parseCommon.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from parseCommon.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseCommon.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from Parser.h:19, from parseAttribute.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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 parseParam.cxx:5: ../include/Ptr.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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, from parseDecl.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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parseAttribute.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour 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, from parseInstance.cxx:5: ../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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ 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/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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | Ptr::clear; | ^~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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 ../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 ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from parseAttribute.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from parseAttribute.cxx:5: ../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, from parseAttribute.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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from parseAttribute.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseAttribute.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from parseAttribute.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from parseAttribute.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c splib.cxx -fPIC -DPIC -o .libs/splib.o In file included from ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from parseParam.cxx:5: ../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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19, from parseDecl.cxx:7: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseAttribute.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from Parser.h:19, from parseInstance.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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 favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | Ptr::isNull; | ^~~~~~ ../include/Ptr.h:73:3: warning: access declarations are deprecated in favour 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, from parseSd.cxx:5: ../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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from parseDecl.cxx:7: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from parseInstance.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o arc_inst.lo arc_inst.cxx Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from Parser.h:19, from parseParam.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o entmgr_inst.lo entmgr_inst.cxx In file included from Parser.h:19, from parseSd.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ 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 ../include/Markup.h:12, from ../include/Entity.h:22, from Parser.h:17, from parseMode.cxx:5: ../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 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 Char' {aka 'const unsigned int'} [-Wsign-compare] 383 | && !(standardFunctionValid_[fRS] && c == standardFunction_[fRS])); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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 ../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 ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from parseParam.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parser_inst.lo parser_inst.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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from parseInstance.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from parseInstance.cxx:5: ../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, from parseInstance.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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from parseInstance.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseInstance.cxx:5: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from parseInstance.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from parseInstance.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from parseSd.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 74 | ParserState::instantiateDtd; | ^~~~~~~~~~~ /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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o xentmgr_inst.lo xentmgr_inst.cxx In file included from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseInstance.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ 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('.')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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 ../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); } | ^~~~~~ parseDecl.cxx: In member function 'void OpenSP::Parser::addIdLinkRule(const StringC&, OpenSP::IdLinkRule&)': parseDecl.cxx:3229:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3229 | || nRules >= 1 && rule.attributes().nSpec() == 0) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ 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) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:19, from parseMode.cxx:5: ../include/IList.h: At global scope: ../include/IList.h:29:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 29 | IListBase::clear; | ^~~~~~~~~ ../include/IList.h:30:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 30 | IListBase::empty; | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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 ../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:12, from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, from parseParam.cxx:5: ../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 ../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_; | ^~~~~ In file included from ../include/ContentToken.h:13, from ../include/ElementType.h:20, from Parser.h:16, from parseParam.cxx:5: ../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/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from parseParam.cxx:5: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/Attribute.h:486:27: required from here ../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, from parseParam.cxx:5: ../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, from parseParam.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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from parseParam.cxx:5: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseParam.cxx:5: ../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(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from parseParam.cxx:5: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from parseParam.cxx:5: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../include/Vector.cxx: In instantiation of 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = bool]': Trie.h:44:7: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../include/Vector.cxx:26:1: warning: when initialized here [-Wreorder] 26 | Vector::Vector(const Vector &v) | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' Param.h:33:11: required from here ../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 { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' Group.h:24:16: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Attribute.h:17, from Parser.h:12, from parseParam.cxx:5: ../include/Text.h:55:14: note: 'class OpenSP::Text' declared here 55 | class SP_API Text { | ^~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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 ../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, from Parser.h:12, from parseParam.cxx:5: ../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]' ../include/NamedTable.h:28:40: required from 'T* OpenSP::NamedTable::insert(T*) [with T = OpenSP::ElementType]' ../include/Dtd.h:279:34: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ 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) { | ^ ../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 ../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 '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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseParam.cxx:5: ../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]' ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:17:7: note: 'class OpenSP::Ptr' declared here 17 | class Ptr { | ^~~ ../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 ../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 ../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 ../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 ../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 ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../include/Vector.cxx:33:1: warning: when initialized here [-Wreorder] 33 | Vector::Vector(size_t n, const T &t) | ^~~~~~~~~ In file included from parseMode.cxx:5: Parser.h:65:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 65 | ParserState::sdPointer; | ^~~~~~~~~~~ Parser.h:66:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 66 | ParserState::instanceSyntaxPointer; | ^~~~~~~~~~~ Parser.h:67:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 67 | ParserState::prologSyntaxPointer; | ^~~~~~~~~~~ Parser.h:68:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 68 | ParserState::activateLinkType; | ^~~~~~~~~~~ Parser.h:69:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 69 | ParserState::allLinkTypesActivated; | ^~~~~~~~~~~ Parser.h:70:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 70 | ParserState::entityManager; | ^~~~~~~~~~~ Parser.h:71:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 71 | ParserState::entityCatalog; | ^~~~~~~~~~~ Parser.h:72:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 72 | ParserState::baseDtd; | ^~~~~~~~~~~ Parser.h:73:3: warning: access declarations are deprecated in favour of using-declarations; suggestion: add the 'using' keyword [-Wdeprecated] 73 | ParserState::options; | ^~~~~~~~~~~ Parser.h:74:3: warning: access declarations are deprecated in favour 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]' ../include/Attribute.h:57:29: required from here ../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, from Parser.h:12, from parseDecl.cxx:7: ../include/StringOf.h:23:7: note: 'class OpenSP::String' declared here 23 | class String { | ^~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/Attribute.h:486:27: required from here ../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, from parseDecl.cxx:7: ../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, from parseDecl.cxx:7: ../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]' ../include/ContentToken.h:123:32: required from here ../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, from Parser.h:12, from parseDecl.cxx:7: ../include/Owner.h:16:7: note: 'class OpenSP::Owner' declared here 16 | class Owner { | ^~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/ContentToken.h:187:13: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseDecl.cxx:7: ../include/ContentToken.h:22:15: note: 'struct OpenSP::Transition' declared here 22 | struct SP_API Transition { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/CharsetDecl.h:53:25: required from here ../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 Parser.h:17, from parseDecl.cxx:7: ../include/CharsetDecl.h:20:14: note: 'class OpenSP::CharsetDeclRange' declared here 20 | class SP_API CharsetDeclRange { | ^~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/Markup.h:125:16: required from here ../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 Parser.h:17, from parseDecl.cxx:7: ../include/Markup.h:24:15: note: 'struct OpenSP::MarkupItem' declared here 24 | struct SP_API MarkupItem { | ^~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/ShortReferenceMap.h:26:31: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ 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 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/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' Param.h:33:11: required from here ../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 { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' parseDecl.cxx:176:27: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Parser.h:12, from parseDecl.cxx:7: ../include/Attribute.h:482:14: note: 'class OpenSP::AttributeList' declared here 482 | class SP_API AttributeList { | ^~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' parseDecl.cxx:691:37: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/ElementType.h:20, from Parser.h:16, from parseDecl.cxx:7: ../include/ContentToken.h:69:15: note: 'struct OpenSP::ContentModelAmbiguity' declared here 69 | struct SP_API ContentModelAmbiguity { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' parseDecl.cxx:909:43: required from here ../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, from Parser.h:12, from parseDecl.cxx:7: ../include/CopyOwner.h:14:7: note: 'class OpenSP::CopyOwner' declared here 14 | class CopyOwner : public Owner { | ^~~~~~~~~ In file included from ../include/Vector.h:77, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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]' parseDecl.cxx:1094:54: required from here ../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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:53:7: note: 'class OpenSP::ConstPtr' declared here 53 | class ConstPtr : private Ptr { | ^~~~~~~~ In file included from ../include/Attribute.h:14, from Parser.h:12, from parseSd.cxx:5: ../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 ../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, from Parser.h:12, from parseDecl.cxx:7: ../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]' ../include/NamedResourceTable.h:37:30: required from 'OpenSP::Ptr OpenSP::NamedResourceTable::insert(const OpenSP::Ptr&, OpenSP::Boolean) [with T = OpenSP::Entity; OpenSP::Boolean = bool]' ../include/Dtd.h:165:35: required from here ../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, from ../include/Attribute.h:14, from Parser.h:12, from parseDecl.cxx:7: ../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(const OpenSP::Vector&) [with T = OpenSP::RangeMapRange]': ../include/RangeMap.h:27:7: required from here ../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, from ../include/Attribute.h:14, from Parse